Merge remote-tracking branch 'origin/dev' into feature/configurable-query-modal

pull/6272/head
Oliver Günther 7 years ago
commit c63c125112
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 1
      app/assets/javascripts/application.js.erb
  2. 11
      app/assets/stylesheets/content/_modal.sass
  3. 3
      app/assets/stylesheets/layout/_breadcrumb.sass
  4. 1
      frontend/.gitignore
  5. 4
      frontend/app/components/work-packages/wp-breadcrumb/wp-breadcrumb.html
  6. 1
      frontend/karma.conf.js
  7. 7
      frontend/webpack-main-config.js
  8. 1
      script/ci_setup.sh

@ -29,6 +29,7 @@
//= require i18n //= require i18n
//= require ./bundles/openproject-vendors //= require ./bundles/openproject-vendors
//= require ./bundles/openproject-common
//= require ./bundles/openproject-core-app //= require ./bundles/openproject-core-app
//= require_tree ./bundles //= require_tree ./bundles

@ -236,7 +236,8 @@ ul.export-options
.wp-table--configuration-modal .wp-table--configuration-modal
min-height: 120px min-height: 120px
max-height: 90vh max-height: 90vh
width: 75vh width: 50vw
overflow-x: auto
label.option-label label.option-label
float: left float: left
@ -246,3 +247,11 @@ ul.export-options
.modal--form-actions .modal--form-actions
margin: 1em 0 margin: 1em 0
.advanced-filters--filter,
.advanced-filters--add-filter
max-width: 100%
@include breakpoint (680px down)
.wp-table--configuration-modal
width: 90vw

@ -105,9 +105,6 @@ ul.breadcrumb
&:first-child &:first-child
&:before &:before
display: none display: none
&.icon-arrow-right5:before
padding-right: 8px
// This is ugly. However, this way we do not need to touch complicated // This is ugly. However, this way we do not need to touch complicated
// toolbar-container positioning. // toolbar-container positioning.

@ -8,6 +8,7 @@
/tests/unit/tests/typescript /tests/unit/tests/typescript
/tmp /tmp
/tests/openproject-common.js
/tests/openproject-test-bundle.js /tests/openproject-test-bundle.js
/tests/openproject-main.css /tests/openproject-main.css
/tests/openproject-tests.css /tests/openproject-tests.css

@ -2,14 +2,14 @@
*ngIf="workPackage && workPackage.ancestors.length > 0"> *ngIf="workPackage && workPackage.ancestors.length > 0">
<ul class="breadcrumb"> <ul class="breadcrumb">
<li *ngFor="let ancestor of workPackage.ancestors" <li *ngFor="let ancestor of workPackage.ancestors"
class="icon-context icon-small icon-arrow-right5"> class="icon4 icon-small icon-arrow-right5">
<a [attr.title]="ancestor.name" <a [attr.title]="ancestor.name"
[textContent]="ancestor.name" [textContent]="ancestor.name"
uiSref="work-packages.show.activity" uiSref="work-packages.show.activity"
[uiParams]="{workPackageId: ancestor.id}" [uiParams]="{workPackageId: ancestor.id}"
class="breadcrumb-project-title nocut"></a> class="breadcrumb-project-title nocut"></a>
</li> </li>
<li class="icon-context icon-small icon-arrow-right5" <li class="icon4 icon-small icon-arrow-right5"
[textContent]="workPackage.name"></li> [textContent]="workPackage.name"></li>
</ul> </ul>
</div> </div>

@ -55,6 +55,7 @@ module.exports = function (config) {
'tests/unit/tests/asset_functions.js', 'tests/unit/tests/asset_functions.js',
'../app/assets/javascripts/bundles/openproject-vendors.js', '../app/assets/javascripts/bundles/openproject-vendors.js',
'../app/assets/javascripts/bundles/openproject-common.js',
'tests/openproject-test-bundle.js', 'tests/openproject-test-bundle.js',

@ -217,6 +217,13 @@ function getWebpackMainConfig() {
}, },
plugins: [ plugins: [
// added to avoid module-duplication with plugins
new webpack.optimize.CommonsChunkPlugin({
name: "common",
filename: "openproject-common.js",
minChunks: 2
}),
// Add a simple fail plugin to return a status code of 2 if // Add a simple fail plugin to return a status code of 2 if
// errors are detected (this includes TS warnings) // errors are detected (this includes TS warnings)
// It is ONLY executed when `ENV[CI]` is set or `--bail` is used. // It is ONLY executed when `ENV[CI]` is set or `--bail` is used.

@ -68,6 +68,7 @@ else
# fake result of npm/asset run # fake result of npm/asset run
run "mkdir -p app/assets/javascripts/bundles" run "mkdir -p app/assets/javascripts/bundles"
run "touch app/assets/javascripts/bundles/openproject-core-app.js" run "touch app/assets/javascripts/bundles/openproject-core-app.js"
run "touch app/assets/javascripts/bundles/openproject-common.js"
run "touch app/assets/javascripts/bundles/openproject-vendors.js" run "touch app/assets/javascripts/bundles/openproject-vendors.js"
run "mkdir -p app/assets/javascripts/locales" run "mkdir -p app/assets/javascripts/locales"
run "touch app/assets/javascripts/locales/en.js" run "touch app/assets/javascripts/locales/en.js"

Loading…
Cancel
Save