Content
View differences
Updated by Parimal Satyal over 2 years ago
As an _OpenProject user_
I want to _access the Gantt directly chart from the sidebar_
So that _it is easier for me to discover and to access this feature._
# Acceptance criteria
* Add a module "Gantt charts" for the left sidebar
* This module will be an extraction of the "Gantt chart" default view, but as a module
* It will be possible to save and favorite views (as in Work packages module)
* This view will display the list on the left and the Gantt chart on the right
* The module is placed directly below work packages module
* The "Work packages" module remains as is except
* Disable Cards view from the Work packages module
* Except for BCF module, which keeps the view selector
* The view selector is removed
* The "Gantt chart" tab is removed in the work package configuration modal
* It is also removed from the work package configuration modal in the BCF module.
* There will be three default views in the Gantt sidebar menu
* "**All open**"
* Filters:
* **Status: open**
* Display mode: Hierarchy
* Columns: The same as the default was for the "Gantt chart" default view
* Sort via start date
* The timeline labels will be: startDate (left), dueDate (right), subject (farRight)
* "**Milestones**"
* Filters:
* **Type: Milestone**
* **Status: any** (open or closed)
* Display mode: Hierarchy
* Columns: The same as the default was for the "Gantt chart" default view
* Sort via start date
* The timeline labels will be: startDate (left), dueDate (right), subject (farRight)
* The default default view is "All open". Clicking on the module name will display this view.
* View migration:
* Views with Gantt view activated will be migrated to the new module
* Views without the Gantt view activated will remain in the Work packages module
* Views will not be shared between the two modules (i.e, adding, removing or editing views in one module has no impact on the other)
* URL routing:
* When accessing a work package in full screen view, the URL will remain _/work\_packages/{id}..._
* The back button will take the user where they came from (_Gantt_ or _Work packages_)
* For deep links (shared URL, for example), the back button will direct the user to the work packages module
* Add a new global module called "Gantt"
* The global view will have an additional _Project_ column after ID (like in the Work packages module)
* Its visibility in the global module list functions the same as other module; it needs to be enabled in at least one project that the user can see
* In Administrator settings, under "Users and Permissions" → "Roles and permissions" → _{Role}_
* Rename permission section 'Work packages' to 'Work packages and Gantt'
# Translations
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><thead class="op-uc-table--head"><tr class="op-uc-table--row"><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Language</p></th><th class="op-uc-table--cell op-uc-table--cell_head" style="width:250px;"><p class="op-uc-p">Translation</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Remark</p></th></tr></thead><tbody><tr class="op-uc-p">Translation</p></th></tr></thead><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">EN</p></td><td class="op-uc-table--cell" style="width:250px;"><p class="op-uc-table--cell"><p class="op-uc-p">Gantt charts</p></td><td class="op-uc-table--cell"><p class="op-uc-p"></p></td></tr><tr charts</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">DE</p></td><td class="op-uc-table--cell" style="width:250px;"><p class="op-uc-p">Gantt-Diagramme</p></td><td class="op-uc-table--cell"><p class="op-uc-p"></p></td></tr><tr class="op-uc-p">Gantt-Diagramme</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">FR</p></td><td class="op-uc-table--cell" style="width:250px;"><p class="op-uc-p">Diagrammes de Gantt </p></td><td class="op-uc-table--cell"><p class="op-uc-p">⚠ Potential issue: Displayed as "Diagrammes de G..." with truncation in the sidebar, potentially affecting discoverability.</p></td></tr><tr class="op-uc-p"></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">ES</p></td><td class="op-uc-table--cell" style="width:250px;"><p class="op-uc-table--cell"><p class="op-uc-p">Diagrama de Gantt</p></td><td class="op-uc-table--cell"><p class="op-uc-p"></p></td></tr><tr Gantt</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">(@Translators: suggest more translations in comments)</p></td><td class="op-uc-table--cell" style="width:250px;"><p class="op-uc-p"></p></td><td class="op-uc-table--cell"><p class="op-uc-p"></p></td></tr></tbody></table></figure>
# Open questions:
* Shall all WP be shown in both modules? **Yes.**
* How shall users collapse the gantt view if there is no view selector? **They shalln't.**
# Technical note
The new Gantt module will basically be a copy of the current work package module (with some exceptions, as the view selector).
I want to point that out, because technically, the modules will use (nearly) the same code base, only rely on different URLs. These URL route definitions are currently written in Angular as long as we don't start the work on moving the the page to rails.
**Thus the new module will add new functionalities to the angular router.**
I want to _access the Gantt directly chart from the sidebar_
So that _it is easier for me to discover and to access this feature._
# Acceptance criteria
* Add a module "Gantt charts" for the left sidebar
* This module will be an extraction of the "Gantt chart" default view, but as a module
* It will be possible to save and favorite views (as in Work packages module)
* This view will display the list on the left and the Gantt chart on the right
* The module is placed directly below work packages module
* The "Work packages" module remains as is except
* Disable Cards view from the Work packages module
* Except for BCF module, which keeps the view selector
* The view selector is removed
* The "Gantt chart" tab is removed in the work package configuration modal
* It is also removed from the work package configuration modal in the BCF module.
* There will be three default views in the Gantt sidebar menu
* "**All open**"
* Filters:
* **Status: open**
* Display mode: Hierarchy
* Columns: The same as the default was for the "Gantt chart" default view
* Sort via start date
* The timeline labels will be: startDate (left), dueDate (right), subject (farRight)
* "**Milestones**"
* Filters:
* **Type: Milestone**
* **Status: any** (open or closed)
* Display mode: Hierarchy
* Columns: The same as the default was for the "Gantt chart" default view
* Sort via start date
* The timeline labels will be: startDate (left), dueDate (right), subject (farRight)
* The default default view is "All open". Clicking on the module name will display this view.
* View migration:
* Views with Gantt view activated will be migrated to the new module
* Views without the Gantt view activated will remain in the Work packages module
* Views will not be shared between the two modules (i.e, adding, removing or editing views in one module has no impact on the other)
* URL routing:
* When accessing a work package in full screen view, the URL will remain _/work\_packages/{id}..._
* The back button will take the user where they came from (_Gantt_ or _Work packages_)
* For deep links (shared URL, for example), the back button will direct the user to the work packages module
* Add a new global module called "Gantt"
* The global view will have an additional _Project_ column after ID (like in the Work packages module)
* Its visibility in the global module list functions the same as other module; it needs to be enabled in at least one project that the user can see
* In Administrator settings, under "Users and Permissions" → "Roles and permissions" → _{Role}_
* Rename permission section 'Work packages' to 'Work packages and Gantt'
# Translations
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><thead class="op-uc-table--head"><tr class="op-uc-table--row"><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Language</p></th><th class="op-uc-table--cell op-uc-table--cell_head" style="width:250px;"><p class="op-uc-p">Translation</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Remark</p></th></tr></thead><tbody><tr
# Open questions:
* Shall all WP be shown in both modules? **Yes.**
* How shall users collapse the gantt view if there is no view selector? **They shalln't.**
# Technical note
The new Gantt module will basically be a copy of the current work package module (with some exceptions, as the view selector).
I want to point that out, because technically, the modules will use (nearly) the same code base, only rely on different URLs. These URL route definitions are currently written in Angular as long as we don't start the work on moving the the page to rails.
**Thus the new module will add new functionalities to the angular router.**