Content
View differences
Updated by Marc Alcobé almost 2 years ago
# Pain
In the scope of introducing the "pin" and "star" concept on Work Package lists, we want to be able to reuse parts of the logic we already wrote for the project lists. Therefore, it is necessary to move the PageHeader of the list towards Primer and its components: `Primer::OpenProject::PageHeader` and `Primer::OpenProject::SubHeader`
# Acceptance
* This ticket only covers the rework of the current functionality of the WorkPackage list view, with the `Primer::OpenProject::PageHeader` and `Primer::OpenProject::SubHeader` components, no new functionality for sharing or pinning is added here
* The PageHeader consists of:
* The editable title
* Baseline button
* Include projects button?
* Full screen button
* Open split-screen
* Settings button
* (later on, the star button and the sharing button but out of scope for this ticket)
* The SubHeader consists of:
* Filter button
* Create button
* the content of the "Include projects" and "Baseline" dropdowns remains unchanged (and thus in Angular)
* When a saved query is changed,
* there will be no save icon in front of the query name.
* Instead, we follow the same pattern as on the project list: On the right, there is an indicator saying "List modified: {{_save\_icon}} Save"._ Clicking on "Save" will save the view
* Ideally, the header of the Gantt module is changed in the same run (as they share the same implementation)
* For BIM, we have to check
# Figma
https://www.figma.com/design/tUkyiLDn5ax7Q9DAhxlS69/Sub-headers-concept?node-id=37-97209&t=lxSM36zGOjPWVYip-4 tbd
# Open Questions
* Will we change the BIM module header in the same run?
# Out of scope
* Removal of ui-Router, see ##55633
* The split screen remains unchanged for now. Once the ui-Router is removed, we can apply the same layout we have introduced in the notification center
* The Work Package full view remains unchanged
*
In the scope of introducing the "pin" and "star" concept on Work Package lists, we want to be able to reuse parts of the logic we already wrote for the project lists. Therefore, it is necessary to move the PageHeader of the list towards Primer and its components: `Primer::OpenProject::PageHeader` and `Primer::OpenProject::SubHeader`
# Acceptance
* This ticket only covers the rework of the current functionality of the WorkPackage list view, with the `Primer::OpenProject::PageHeader` and `Primer::OpenProject::SubHeader` components, no new functionality for sharing or pinning is added here
* The PageHeader consists of:
* The editable title
* Baseline button
* Include projects button?
* Full screen button
* Open split-screen
* Settings button
* (later on, the star button and the sharing button but out of scope for this ticket)
* The SubHeader consists of:
* Filter button
* Create button
* the content of the "Include projects" and "Baseline" dropdowns remains unchanged (and thus in Angular)
* When a saved query is changed,
* there will be no save icon in front of the query name.
* Instead, we follow the same pattern as on the project list: On the right, there is an indicator saying "List modified: {{_save\_icon}} Save"._ Clicking on "Save" will save the view
* Ideally, the header of the Gantt module is changed in the same run (as they share the same implementation)
* For BIM, we have to check
# Figma
https://www.figma.com/design/tUkyiLDn5ax7Q9DAhxlS69/Sub-headers-concept?node-id=37-97209&t=lxSM36zGOjPWVYip-4
# Open Questions
* Will we change the BIM module header in the same run?
# Out of scope
* Removal of ui-Router, see ##55633
* The split screen remains unchanged for now. Once the ui-Router is removed, we can apply the same layout we have introduced in the notification center
* The Work Package full view remains unchanged
*