•  
     
    story #12264 display a custom banner inside project pages
Summary
project admin
display a custom banner inside project pages

I can inform users about project specific things

Functional overview

For project administrators

The banner is configurable by project administrators inside their projects.

Any project admin can set, update, remove a banner. There is no history of banner nor of setting / unsetting the banner.

The banner is limited to 1 line (no multiline) and limited formatting (bold, italic, links). It's pure html with only bold, italic and links (ckeditor for project admin).

In addition to web ui, there are 3 rest routes to set and delete the message

  • GET /projects/:id/banner
  • PUT /projects/:id/banner
  • DELETE /projects/:id/banner

For end users

They see the banner by default but they have the possibility to collapse the message (see banner-collapsed mockup). When they click the small megaphon icon.

There are 2 variations proposed of the banner, to be discussed. The first one is more consistent with the global look'n feel, the second one is more visible (maybe too much). Feedback welcomed.

Collapse is stored in user preferences (backend).

When message is changed/set, user preferences are removed (message will appear for everyone).

Only the first line of the paragraph is displayed, if the paragraph needs to be splitted over multiple lines there is an ellipsis and a click on the message display the whole text.

Technical overview

Developement must be done on FlamingParrot & BurningParrot themes.

Empty
Status
Done
Development
Empty
Empty
Details
#12264
Manuel Vacelet (vaceletm)
2019-10-18 08:57
2018-09-13 13:45
3403

References

List of items referenced by or referencing this item.

Follow-ups

  • User avatar
    gerrit #16485 integrated into Tuleap 11.7.99.2.

    The richt text editor will not be available in the Tuleap 11.7 cycle so I'm attaching the story to Tuleap 11.8 as well.

    • Status changed from On going to Done
  • User avatar
    gerrit #16476 integrated into Tuleap 11.6.99.144
  • User avatar
    gerrit #16468 (testmanagement) integrated
  • User avatar
    gerrit #16475 integrated into Tuleap 11.6.99.139.
  • User avatar
    gerrit #16474 integrated into Tuleap 11.6.99.138.
  • User avatar
    gerrit #16467 integrated into Tuleap 11.6.99.135.
  • User avatar
    gerrit #16425 integrated into Tuleap 11.6.99.134.
  • User avatar
    gerrit #16398 integrated into Tuleap 11.6.99.133.
  • User avatar
    gerrit #16457 integrated into Tuleap 11.6.99.126
  • User avatar
    gerrit #16442 integrated into Tuleap 11.6.99.118
  • User avatar
    gerrit #16406 integrated into Tuleap 11.6.99.110.
  • User avatar
    gerrit #16366 integrated into Tuleap 11.6.99.98.
  • User avatar
    gerrit #16397 integrated into Tuleap 11.6.99.89.
  • User avatar
    gerrit #16340 integrated into Tuleap 11.6.99.77.
  • User avatar
    Updating the acceptance criteria: instead of an arbitrary limit of 280 chars we only display the first line of the paragraph. This allow us to always have a banner with a consistent size on the first display across projects and users/resolutions.

    • Acceptance criteria
  • User avatar
    gerrit #16337 integrated into Tuleap 11.6.99.73.
  • User avatar
    gerrit #16338 integrated into Tuleap 11.6.99.59
  • User avatar
    gerrit #16332 integrated into Tuleap 11.6.99.56
  • User avatar
    gerrit #16330 and gerrit #16328 integrated in to Tuleap 11.6.99.52 && 53
  • User avatar
    gerrit #16326 integrated into Tuleap 11.6.99.51.
  • User avatar
    gerrit #16322 integrated into Tuleap 11.6.99.48
  • User avatar
    gerrit #16298 integrated into Tuleap 11.6.99.39.

    • Status changed from To be done to On going
  • User avatar
    • Acceptance criteria
  • User avatar
    Changed the routes from "motd" to "banner" and cleanup the dropped mockup.

    • Acceptance criteria
    • Attachments banner-displayed-v1.png removed
  • User avatar
    Excellent !
  • User avatar
  • User avatar
    • Acceptance criteria
  • User avatar
    • Acceptance criteria
  • User avatar
    • So that
    • Acceptance criteria