•  
      story #12553 see flags that categorize my project in all project pages
    Summary
    site administrator
    see flags that categorize my project in all project pages

    People using the project knows about those categories

    Overview

    Context: Classified Informations

    In this context, people are supposed to know about the level a project is. This information must be displayed in all pages. The challenge is to keep that info usable (not too fat on the page to reduce space lost).

    Proposal

    Let's consider that project confidentiality is picked-up in one list

    • Secret
    • Confidential
    • Restricted
    • Official
    • Unclassified

    And another category is used to provide another level of classification

    • Personal
    • Special
    • Industry

    You can get any combination of the 2 lists:

    • Secret - Personal
    • Secret - Industry
    • ...

    The infrormation is then displayed on the right hand side of the project name in the navbar with a tooltip with full information on hover (the icon doesn't change when the values change).

    Acceptance criteria

    • Site admin can select 1 or 2 trove cat to be displayed in the navigation bar
      • Only apply to root categories
    • Site admin can configure trove categories to have at max 1 value
    • Site admin can configure trove categories to have at min 1 value (already OK)
    • The default trove cat is no longer defined in local.inc and won't be used anymore in the software map (the first category of the list will be selected by default when browsing the software map)
    • Project admin page of trove categories is updated to burning parrot and enforce rules set by site admin (+ fix request #11583)
    • Add popover in TLP to manage the tooltip over the selected categories
    • DB should be normalized (remove id :: id) to avoid id clashes

    Mockups needed

    • Project admin interface
    • Update of modale in site admin
    Empty
    Status
    Empty
    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
    #12553
    Manuel Vacelet (vaceletm)
    2019-02-25 13:29
    2018-11-26 17:08
    4078

    References
    Referencing story #12553

    Git commit

    tuleap/tuleap/stable

    Remove sys_default_trove_cat from local.inc 34e2b5fda6
    Switch project admin categories to BurningParrot 94bd4c79ee
    Allow usage of UTF-8 in sentences to be translated ee672d5d53
    I should be able to remove the last category value db42ab4c62
    display project flag 934cdee50e
    Fix gettext extraction when no pot files a4004d6e4c
    Admin can choose nb max values for a category 5c0d5f2217
    Indicates that a category is marked as project flag 7d07bc42ea
    No PHP warnings should be generated by generated-po script on the first run 4c7e6fe1a6
    Indicates that a category is marked as project flag a91cadc54c
    Generate .po file when I introduce gettext in a plugin 1d5b7c3018
    selectbox instead of select2 when single value allowed 4a37473c8e
    I can mark an existing category as project flag 53bfecb52d
    Fix keyboard navigation in trovecat modal ab7ebc5d12
    Popover on project flags in FlamingParrot pages b4a9cf2172
    Unit test the update of project categories 7eed711929
    I should be able to clear not mandatory selectboxes 57b5d6413f
    project flag ⇒ nb max values should be 1 9f91ad18d5
    Popover on project flags in BurningParrot pages 7de67d6bb0
    Remove weird behavior when site admin change nb max values aeee47abd7
    If categorie is not multiple, then display fullpath of values 5134141ec2
    Bind nb max values and is project flag to key press a8218753a4
    Use webpack to build trovecat.js 498e53f189
    Project flags & TLP popovers glossification ed75ba4551
    Use popover on project title 9329df9848
    Schedule popper update every time the popover is displayed d1ee4bb0a8

    Follow-ups

    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
    User avatar

    We didn't have any feedback from other potential users so far.

    Note: the implementation as described here has been scheduled for 10.10 (current release cycle).

    User avatar
    As the number of trove cats is limited, we could alternatively set 1 category to this header flag and display the first 2 values (if any) of that category. Could depend on the interest of other customers to have other concepts than privacy/sensitivity addressed in the form of a header flag (e.g. license, business partner...).
    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
    • So that
      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
    • 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