OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Update feature teaser for 12.5. and make bim optional
Oliver Günther79c0abf36dbc
diff --git a/config/locales/js-en.yml b/config/locales/js-en.ymlindex ac61d0b7669..0c5d80c60bb 100644--- a/config/locales/js-en.yml+++ b/config/locales/js-en.yml@@ -344,26 +344,17 @@ en:learn_about: "Learn more about the new features"# Include the version to invalidate outdated translations in other locales.# Otherwise, e.g. chinese might still have the translations for 10.0 in the 12.0 release.- '12_4':+ '12_5':standard:- learn_about_link: https://www.openproject.org/blog/openproject-12-4-release+ learn_about_link: https://www.openproject.org/blog/openproject-12-5-releasenew_features_html: >The release contains various new features and improvements: <br><ul class="%{list_styling_class}">- <li>Activate notification date alerts for upcoming dates and overdue tasks.</li>- <li>We release two-factor authentication (2FA) for the Community edition.</li>- <li>The work week display option is now also added to the team planner.</li>- <li>List up to 3 people in a notification card when multiple people were involved in the changes.</li>- </ul>- bim:- learn_about_link: https://www.openproject.org/blog/openproject-12-4-release- new_features_html: >- The release contains various new features and improvements: <br>- <ul class="%{list_styling_class}">- <li>Activate notification date alerts for upcoming dates and overdue tasks.</li>- <li>We release two-factor authentication (2FA) for the Community edition.</li>- <li>The work week display option is now also added to the team planner.</li>- <li>List up to 3 people in a notification card when multiple people were involved in the changes.</li>+ <li>Upload and link files from work packages to your Nextcloud file storage.</li>+ <li>Follow-up on project changes with project activity tracking.</li>+ <li>Add instance-wide public holidays (non-working days).</li>+ <li>Archive projects by non admins.</li>+ <li>New default filter for overdue work packages.</li></ul>label_activate: "Activate"diff --git a/frontend/src/app/features/homescreen/blocks/new-features.component.spec.ts b/frontend/src/app/features/homescreen/blocks/new-features.component.spec.tsindex 3a6993a9d6e..32b06431d3a 100644--- a/frontend/src/app/features/homescreen/blocks/new-features.component.spec.ts+++ b/frontend/src/app/features/homescreen/blocks/new-features.component.spec.ts@@ -53,6 +53,7 @@ describe('shows edition-specific content', () => {});it('should render bim text for bim edition', fakeAsync(() => {+ app.hasBimChanges = true;app.isStandardEdition = false;fixture.detectChanges();@@ -61,6 +62,16 @@ describe('shows edition-specific content', () => {expect(element.nativeElement.textContent).toContain('.bim.new_features_html');}));+ it('should render standard text for bim edition if disabled', fakeAsync(() => {+ app.hasBimChanges = false;+ app.isStandardEdition = false;++ fixture.detectChanges();++ // checking for missing translation key as translations are not loaded in specs+ expect(element.nativeElement.textContent).toContain('.standard.new_features_html');+ }));+it('should render standard text for standard edition', fakeAsync(() => {app.isStandardEdition = true;diff --git a/frontend/src/app/features/homescreen/blocks/new-features.component.ts b/frontend/src/app/features/homescreen/blocks/new-features.component.tsindex 93f8f06ebfe..7f085ef4ad9 100644--- a/frontend/src/app/features/homescreen/blocks/new-features.component.ts+++ b/frontend/src/app/features/homescreen/blocks/new-features.component.ts@@ -33,8 +33,12 @@ import { I18nService } from 'core-app/core/i18n/i18n.service';import { imagePath } from 'core-app/shared/helpers/images/path-helper';export const homescreenNewFeaturesBlockSelector = 'homescreen-new-features-block';+// The key used in the I18n files to distinguish between versions.-const OpVersionI18n = '12_4';+const OpVersionI18n = '12_5';++/** Update the teaser image to the next version */+const featureTeaserImage = '12_5_features.svg';@Component({template: `@@ -65,7 +69,11 @@ const OpVersionI18n = '12_4';export class HomescreenNewFeaturesBlockComponent {public isStandardEdition:boolean;- new_features_image = imagePath('12_4_features.png');+ /** Set to true if BIM has it's own changes */+ hasBimChanges = false;++ /** Update the feature image appropriately */+ new_features_image = imagePath(featureTeaserImage);public text = {newFeatures: this.i18n.t('js.label_new_features'),@@ -89,8 +97,18 @@ export class HomescreenNewFeaturesBlockComponent {return this.translated('new_features_html');}+ private get translatedEdition():string {+ if (this.hasBimChanges && !this.isStandardEdition) {+ return 'bim';+ }++ return 'standard';+ }+private translated(key:string):string {- return this.i18n.t(`js.homescreen.blocks.new_features.${OpVersionI18n}.${this.isStandardEdition ? 'standard' : 'bim'}.${key}`,- { list_styling_class: 'widget-box--arrow-links', bcf_api_link: BcfRestApi });+ return this.i18n.t(+ `js.homescreen.blocks.new_features.${OpVersionI18n}.${this.translatedEdition}.${key}`,+ { list_styling_class: 'widget-box--arrow-links', bcf_api_link: BcfRestApi },+ );}}diff --git a/frontend/src/assets/images/12_4_features.png b/frontend/src/assets/images/12_4_features.pngdeleted file mode 100644index afefa770d1c..00000000000Binary files a/frontend/src/assets/images/12_4_features.png and /dev/null differdiff --git a/frontend/src/assets/images/12_5_features.svg b/frontend/src/assets/images/12_5_features.svgnew file mode 100644index 00000000000..34da5efd4cd--- /dev/null+++ b/frontend/src/assets/images/12_5_features.svg@@ -0,0 +1 @@+<?xml version="1.0" encoding="UTF-8"?><svg id="g" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M103,184.72c5.69,0,10.32-4.63,10.32-10.32s-4.63-10.32-10.32-10.32-10.32,4.63-10.32,10.32,4.63,10.32,10.32,10.32Z" style="fill:none;"/><path d="M70.74,184.72c5.69,0,10.32-4.63,10.32-10.32s-4.63-10.32-10.32-10.32-10.32,4.63-10.32,10.32,4.63,10.32,10.32,10.32Z" style="fill:none;"/><path d="M135.25,184.72c5.69,0,10.32-4.63,10.32-10.32s-4.63-10.32-10.32-10.32-10.32,4.63-10.32,10.32,4.63,10.32,10.32,10.32Z" style="fill:none;"/><path d="M35.91,205.76v495.37c0,9.41,7.65,17.06,17.06,17.06h250.07V362.26c0-19.29,15.81-34.93,35.32-34.93h491.52v-121.56H35.91Zm108.07,460.66h-25.02c-17.27,0-31.28-13.47-31.28-30.07s14.01-30.08,31.28-30.08h25.02v11.43h-25.02c-10.7,0-19.39,8.36-19.39,18.65s8.7,18.65,19.39,18.65h25.02v11.43Zm-48.7-217.43h19.85c2.55,0,4.62,2.07,4.62,4.62v19.73c0,2.55-2.07,4.62-4.62,4.62h-19.85c-2.55,0-4.62-2.07-4.62-4.62v-19.73c0-2.55,2.07-4.62,4.62-4.62Zm-4.55-39.09v-19.73c0-2.55,2.07-4.62,4.62-4.62h19.85c2.55,0,4.62,2.07,4.62,4.62v19.73c0,2.55-2.07,4.62-4.62,4.62h-19.85c-2.55,0-4.62-2.07-4.62-4.62Zm4.53,102.88h19.85c2.55,0,4.62,2.07,4.62,4.62v19.73c0,2.55-2.07,4.62-4.62,4.62h-19.85c-2.55,0-4.62-2.07-4.62-4.62v-19.73c0-2.55,2.07-4.62,4.62-4.62Zm79.99,117.55v12.03h-50.04v-12.03h50.04Zm-18.77-12.63v-11.43h25.02c17.27,0,31.28,13.47,31.28,30.08h-11.89c0-10.29-8.7-18.65-19.39-18.65h-25.02Zm56.3,48.72h-18.77v18.04h-12.51v-18.04h-18.77v-12.03h18.77v-18.04h12.51v18.04h18.77v12.03Zm17.9-134.18h-74.91c-2.76,0-5-2.24-5-5s2.24-5,5-5h74.91c2.76,0,5,2.24,5,5s-2.24,5-5,5Zm23.17-63.76h-98.08c-2.76,0-5-2.24-5-5s2.24-5,5-5h98.08c2.76,0,5,2.24,5,5s-2.24,5-5,5Zm-103.08-67.37c0-2.76,2.24-5,5-5h83.23c2.76,0,5,2.24,5,5s-2.24,5-5,5h-83.23c-2.76,0-5-2.24-5-5Zm316.77-91.85H104.66c-9.6,0-17.39-7.78-17.39-17.38s7.78-17.38,17.39-17.38H467.55c9.6,0,17.39,7.78,17.39,17.38s-7.78,17.38-17.39,17.38Z" style="fill:none;"/><path d="M52.97,718.19c-9.41,0-17.06-7.65-17.06-17.06V205.76H829.89v121.56h8.53V165.29c0-14.11-11.48-25.59-25.59-25.59H52.97c-14.11,0-25.59,11.48-25.59,25.59V701.13c0,14.11,11.48,25.59,25.59,25.59h250.07v-8.53H52.97ZM135.25,164.07c5.69,0,10.32,4.63,10.32,10.32s-4.63,10.32-10.32,10.32-10.32-4.63-10.32-10.32,4.63-10.32,10.32-10.32Zm-32.25,0c5.69,0,10.32,4.63,10.32,10.32s-4.63,10.32-10.32,10.32-10.32-4.63-10.32-10.32,4.63-10.32,10.32-10.32Zm-32.25,0c5.69,0,10.32,4.63,10.32,10.32s-4.63,10.32-10.32,10.32-10.32-4.63-10.32-10.32,4.63-10.32,10.32-10.32Z" style="fill:#9fcde0;"/><path d="M155.78,406.11h83.23c2.76,0,5-2.24,5-5s-2.24-5-5-5h-83.23c-2.76,0-5,2.24-5,5s2.24,5,5,5Z" style="fill:#cae3f4;"/><path d="M253.86,458.48h-98.08c-2.76,0-5,2.24-5,5s2.24,5,5,5h98.08c2.76,0,5-2.24,5-5s-2.24-5-5-5Z" style="fill:#cae3f4;"/><path d="M467.55,274.49H104.66c-9.6,0-17.39,7.78-17.39,17.38s7.78,17.38,17.39,17.38H467.55c9.6,0,17.39-7.78,17.39-17.38s-7.78-17.38-17.39-17.38Z" style="fill:#cae3f4;"/><path d="M230.69,522.24h-74.91c-2.76,0-5,2.24-5,5s2.24,5,5,5h74.91c2.76,0,5-2.24,5-5s-2.24-5-5-5Z" style="fill:#cae3f4;"/><path d="M95.28,448.99h19.85c2.55,0,4.62,2.07,4.62,4.62v19.73c0,2.55-2.07,4.62-4.62,4.62h-19.85c-2.55,0-4.62-2.07-4.62-4.62v-19.73c0-2.55,2.07-4.62,4.62-4.62Z" style="fill:#cae3f4;"/><path d="M95.36,385.56h19.85c2.55,0,4.62,2.07,4.62,4.62v19.73c0,2.55-2.07,4.62-4.62,4.62h-19.85c-2.55,0-4.62-2.07-4.62-4.62v-19.73c0-2.55,2.07-4.62,4.62-4.62Z" style="fill:#cae3f4;"/><path d="M95.26,512.78h19.85c2.55,0,4.62,2.07,4.62,4.62v19.73c0,2.55-2.07,4.62-4.62,4.62h-19.85c-2.55,0-4.62-2.07-4.62-4.62v-19.73c0-2.55,2.07-4.62,4.62-4.62Z" style="fill:#cae3f4;"/><path d="M930.63,836.72H396.85c-20.69,0-37.52-16.2-37.52-36.11V432.54c-12.96,10.36-21.28,26.3-21.28,44.18v327.03c0,18.69,9.07,35.26,23.05,45.55,9.38,6.91,20.96,10.99,33.49,10.99h490.12c12.54,0,24.12-4.09,33.49-10.99,4.77-3.52,8.97-7.77,12.43-12.58Z" style="fill:#cae3f4;"/><path d="M958.17,369.61c-6.37-4.79-14.38-7.66-23.07-7.66H396.85c-20.69,0-37.52,16.2-37.52,36.11v402.56c0,19.91,16.83,36.11,37.52,36.11H935.09c6.56,0,12.74-1.63,18.11-4.5,11.56-6.16,19.41-18.02,19.41-31.61V398.05c0-11.54-5.66-21.83-14.45-28.44Zm-23.07,457.11H396.85c-15.18,0-27.52-11.71-27.52-26.11V507.13H962.62v293.49c0,14.39-12.35,26.11-27.52,26.11Zm.58-373.58c.69,.69,.69,1.8,0,2.48s-1.8,.69-2.48,0l-12.06-12.06-12.06,12.06c-.69,.69-1.8,.69-2.48,0-.69-.69-.69-1.8,0-2.48l12.06-12.06-12.06-12.06c-.68-.69-.68-1.8,0-2.48h0c.68-.69,1.79-.69,2.48,0l12.06,12.06,12.06-12.06c.68-.69,1.79-.69,2.48,0s.69,1.8,0,2.48l-12.06,12.06,12.06,12.06Zm-316.28-15.34c0,17.63-14.5,32.14-32.14,32.14-12.64,0-23.63-7.47-28.87-18.19-6.06,20.44-25.04,35.46-47.37,35.46s-41.57-15.26-47.48-35.93c-5.14,10.96-16.27,18.65-29.09,18.65-17.63,0-32.13-14.5-32.13-32.14s14.5-32.13,32.13-32.13c12.82,0,23.95,7.68,29.09,18.64,5.91-20.67,24.98-35.92,47.48-35.92s41.31,15.02,47.37,35.46c5.23-10.71,16.23-18.18,28.87-18.18,17.63,0,32.14,14.5,32.14,32.13Z" style="fill:#0070ba;"/><path d="M511.02,407.25c-16.98,0-30.55,13.56-30.55,30.55s13.56,30.55,30.55,30.55,30.55-13.57,30.55-30.55-13.57-30.55-30.55-30.55Z" style="fill:#0070ba;"/><path d="M434.45,424.53c-7.44,0-13.27,5.83-13.27,13.27s5.83,13.27,13.27,13.27,13.27-5.83,13.27-13.27-5.83-13.27-13.27-13.27Z" style="fill:#0070ba;"/><path d="M587.25,424.53c-7.44,0-13.27,5.83-13.27,13.27s5.83,13.27,13.27,13.27,13.27-5.83,13.27-13.27-5.83-13.27-13.27-13.27Z" style="fill:#0070ba;"/><path d="M587.25,405.67c-12.64,0-23.63,7.47-28.87,18.18-6.06-20.43-25.04-35.46-47.37-35.46s-41.57,15.25-47.48,35.92c-5.14-10.96-16.27-18.64-29.09-18.64-17.63,0-32.13,14.5-32.13,32.13s14.5,32.14,32.13,32.14c12.82,0,23.95-7.68,29.09-18.65,5.91,20.67,24.98,35.93,47.48,35.93s41.31-15.03,47.37-35.46c5.23,10.71,16.23,18.19,28.87,18.19,17.63,0,32.14-14.5,32.14-32.14s-14.5-32.13-32.14-32.13Zm-152.81,45.4c-7.44,0-13.27-5.83-13.27-13.27s5.83-13.27,13.27-13.27,13.27,5.83,13.27,13.27-5.83,13.27-13.27,13.27Zm76.57,17.28c-16.98,0-30.55-13.57-30.55-30.55s13.56-30.55,30.55-30.55,30.55,13.56,30.55,30.55-13.57,30.55-30.55,30.55Zm76.24-17.28c-7.44,0-13.27-5.83-13.27-13.27s5.83-13.27,13.27-13.27,13.27,5.83,13.27,13.27-5.83,13.27-13.27,13.27Z" style="fill:#fff;"/><path d="M481.64,679.14c-2.76,0-5,2.24-5,5s2.24,5,5,5h207.13c2.76,0,5-2.24,5-5s-2.24-5-5-5h-207.13Z" style="fill:#0070ba;"/><path d="M642.42,739.28h-160.79c-2.76,0-5,2.24-5,5s2.24,5,5,5h160.79c2.76,0,5-2.24,5-5s-2.24-5-5-5Z" style="fill:#0070ba;"/><path d="M423.3,733.81h19.14c.53,0,.96,.43,.96,.96v19.02c0,.53-.43,.96-.96,.96h-19.14c-.53,0-.96-.43-.96-.96v-19.02c0-.53,.43-.96,.96-.96Z" style="fill:#cae3f4;"/><path d="M442.44,726.81h-19.14c-4.39,0-7.96,3.57-7.96,7.96v19.02c0,4.39,3.57,7.96,7.96,7.96h19.14c4.39,0,7.96-3.57,7.96-7.96v-19.02c0-4.39-3.57-7.96-7.96-7.96Zm.96,26.98c0,.53-.43,.96-.96,.96h-19.14c-.53,0-.96-.43-.96-.96v-19.02c0-.53,.43-.96,.96-.96h19.14c.53,0,.96,.43,.96,.96v19.02Z" style="fill:#0070ba;"/><rect x="422.42" y="672.64" width="21.06" height="20.94" rx=".96" ry=".96" style="fill:#cae3f4;"/><path d="M423.37,700.58h19.14c4.39,0,7.96-3.57,7.96-7.96v-19.02c0-4.39-3.57-7.96-7.96-7.96h-19.14c-4.39,0-7.96,3.57-7.96,7.96v19.02c0,4.39,3.57,7.96,7.96,7.96Zm-.96-26.98c0-.53,.43-.96,.96-.96h19.14c.53,0,.96,.43,.96,.96v19.02c0,.53-.43,.96-.96,.96h-19.14c-.53,0-.96-.43-.96-.96v-19.02Z" style="fill:#0070ba;"/><path d="M935.67,429.02c.69-.69,.69-1.8,0-2.48s-1.8-.69-2.48,0l-12.06,12.06-12.06-12.06c-.69-.69-1.8-.69-2.48,0h0c-.68,.69-.68,1.8,0,2.48l12.06,12.06-12.06,12.06c-.69,.69-.69,1.8,0,2.48,.68,.69,1.79,.69,2.48,0l12.06-12.06,12.06,12.06c.68,.69,1.79,.69,2.48,0s.69-1.8,0-2.48l-12.06-12.06,12.06-12.06Z" style="fill:#fff;"/><path d="M814.15,665.33c2.4,0,4.8-.86,6.72-2.6l18.02-16.36v89.78c0,4.34,3.52,7.86,7.86,7.86h.78c4.34,0,7.86-3.52,7.86-7.86v-89.78l18.02,16.36c4.09,3.71,10.41,3.41,14.12-.68,3.71-4.09,3.41-10.41-.68-14.12l-32.98-29.95c-3.81-3.46-9.63-3.46-13.44,0l-32.98,29.95c-4.09,3.71-4.39,10.04-.68,14.12,1.97,2.17,4.68,3.28,7.41,3.28Z" style="fill:#66cb92;"/><path d="M909.73,759.44h-125.2c-4.13,0-7.49,3.35-7.49,7.49s3.35,7.49,7.49,7.49h125.2c4.13,0,7.49-3.35,7.49-7.49s-3.35-7.49-7.49-7.49Z" style="fill:#66cb92;"/><polygon points="194.02 636.35 181.51 636.35 181.51 654.39 162.75 654.39 162.75 666.42 181.51 666.42 181.51 684.47 194.02 684.47 194.02 666.42 212.79 666.42 212.79 654.39 194.02 654.39 194.02 636.35" style="fill:#66cb92;"/><path d="M200.9,636.35h11.89c0-16.6-14.01-30.08-31.28-30.08h-25.02v11.43h25.02c10.7,0,19.39,8.36,19.39,18.65Z" style="fill:#66cb92;"/><rect x="125.21" y="630.33" width="50.04" height="12.03" style="fill:#66cb92;"/><path d="M99.56,636.35c0-10.29,8.7-18.65,19.39-18.65h25.02v-11.43h-25.02c-17.27,0-31.28,13.47-31.28,30.08s14.01,30.07,31.28,30.07h25.02v-11.43h-25.02c-10.7,0-19.39-8.36-19.39-18.65Z" style="fill:#66cb92;"/><path d="M430.51,606.22h281.67c8.28,0,15-6.72,15-15h0c0-8.28-6.72-15-15-15H430.51c-8.28,0-15,6.72-15,15h0c0,8.28,6.72,15,15,15Z" style="fill:#cae3f4;"/></svg>\ No newline at end of file