•  
     
    story #34002 see promoted trackers in sidebar
Summary
Empty
see promoted trackers in sidebar
Empty

Overview

The list of trackers displayed in the sidebar correspond to "is promoted" flag (in tracker admin). It's the same list than what is displayed in "+ new" button.

We don't modify the behaviour of "+ New" button at this stage because the impacts are quite large and it will be covered in dedicated work.

Sidebar can no longer be collapsed

As the Sidebar growth it's less and less usable collapsed. It's especially visible with promoted trackers (and later promoted kanban) as, when collapsed, we need to have a visual differentiation of each element. When it's only services, it's easy to have one icon per service but for trackers, we would have the same icon again and again => the sidebar is no longer usable collapsed.

In consequence, the sidebar can no longer be collapsed.

In order to manage the transition, there is feature flag to re-activate the feature in case of major blocker. It's a platform wide toggle, off by default.

Implementation steps

Add a feature flag to activate/desactivate the list of promoted trackers in the sidebar: all, nothing or project per project.

  1. Promoted trackers are listed under "Trackers" in the alphanumerical order and cannot be re-ordered (yet).
  2. Promoted trackers have a small "+" that allows to create a new item:
    1. On click, it loads on Artifact View for artifact creation.
    2. In the future it would be interesting to propose the artifact creation modal on top of tracker report view.
  3. Generate a new version of the sidebar component, release it and integrate in MediaWiki
    1. Be careful not to break parameter of the composant (backward compatibility for those who might stay with a previous version of it)

+ Behaviour

We don't replicate the "+ New" behaviour (like adding new stuff in milestone backlog on Taskboard) in the "+" implementation because we strive for a more predictable UI (and it's likely that this kind of magic is unknown to 99% of users). We prefer to have a strategy to implement the missing features in a consistent manner (like having a dedicated "Add to board" button on taskboard with artifact modal) rather than with magic.

Empty
Empty
Status
UX/UI
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#34002
Manuel Vacelet (vaceletm)
2023-10-16 18:12
2023-08-30 16:47
33905

References
Referencing story #34002

Git commit

tuleap/tuleap/stable

refactor: remove dead code ProjectSidebarPresenter 1babbef1bc
feat: Display promoted trackers in sidebar d74de6ab90
feat: Replace fa-tlp-tracker icon 3875a674c7
feat: Sidebar is not anymore collapsable b598aa66ef
refactor: Remove BreadCrumbLinkWithIcon 42b22df56c
feat: mark current tracker as active in sidebar 92ecfef184
fix: sidebar is displayed in front of content 8d536a5730
refactor: extract CheckPromotedTrackerConfiguration b77a1ee1a2
feat: Adapt trackers » admin » promotion display 025169a3fd
feat: Quick link for promoted trackers 0c6a85ffe6
feat: + icon is too big in sidebar 2bc7cf5f46
refactor: remove user_has_special_access from header params eb50f3a557
refactor: rename plugin_tracker_in_new_dropdown table c7535bc3f2
Bump @tuleap/project-sidebar to 2.3.0 d87dc5dea0
refactor: remove 'group' from header parameters c190ec133d
refactor: Use HeaderConfiguration as much as possible 3690649d59
refactor: introduce main_class in HeaderConfiguration f86018b97b
refactor: extract InProject from InProjectWithoutSidebar 590b6282c5
refactor: toptab in HeaderConfiguration 1a390ec3a2
refactor: without-project-in-breadcrumbs in HeaderConfiguration f6ba6c0685
refactor: site_project_header now accepts HeaderConfiguration 40389dad3d
refactor: pv_header accepts HeaderConfiguration bb13561f0e
refactor: Service::displayHeaders accepts HeaderConfiguration 888f19d4b1
refactor: active promoted item in HeaderConfiguration 8eb8133522
fix: No sidebar for onlyoffice integration 45e5aca5a4
refactor: extend HeaderConfiguration usage 0b92e3dac6
refactor: SVN and TTM use HeaderConfiguration 3efc203c4e
refactor: s/WithoutSidebar/WithoutProjectContext/g 723f8a7a41
refactor: TrackerManager accepts HeaderConfiguration 4fd0aa93db
feat: Bump MediaWiki TuleapSkin to 1.0.8 5aeebb974a
refactor: remove unused $toolbar from TrackerManager b1696bd21a
refactor: toptab in HeaderConfiguration in docman service 608f5ee64b
feat: update Tuleap templates trackers promotion 5cada6de79
refactor: HeaderConfiguration in Backlog ae8c414901
feat: Display promoted trackers in sidebar by default a61e78eba0
refactor: toptab in HeaderConfiguration in frs service f279a4512a

Follow-ups

User avatar

gerrit #29520 integrated into Tuleap 15.1.99.15


  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Status changed from On going to Done
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes