Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NGS Portal] Project Info - Header panel #3783

Open
6 tasks
NShaforostov opened this issue Nov 22, 2024 · 0 comments
Open
6 tasks

[NGS Portal] Project Info - Header panel #3783

NShaforostov opened this issue Nov 22, 2024 · 0 comments
Labels
goal/portal 🔬 Issues related to NGS Portal kind/enhancement New feature or request

Comments

@NShaforostov
Copy link
Collaborator

NShaforostov commented Nov 22, 2024

Project header panel of the Project Info page of the NGS Portal shall display main project info.
This panel should look approximately like this:
image

Panel shall contain:

  • project name - plain text label
  • project owner - plain text label with the project's owner username
  • list of tags associated with the project
  • set of tabs to switch between project subitems

Additionally, panel shall include abilities:

  • to edit project tags
  • to switch between project subitems via tabs

Project tags

Project tags is a list of key-value attributes associated with the project:

  • shall be shown as plain text labels
  • shall be shown by pairs, e.g.: image

Tags management

Users who has write permission on the project, shall be able to manage project tags - add, edit, remove them.
To edit tags, user shall click the corresponding button near the tags list.
By click this button, tags edition pop-up shall appear, e.g.:
image

This pop-up shall contain:

  • button to add new tag
  • list of key-value pairs of existing project tags. Each tag in the list shall be presented by:
    • editable text field with tag key (upper field)
    • editable text field with tag value (bottom field)
    • delete button
  • button to close

To add a tag, user shall click the Add button.
After:

  • key/value fields shall appear in the upper side
  • Add button shall be hidden
  • buttons to confirm/reject new tag creation shall appear, e.g.:
    image

User shall confirm input, and then:

  • new tag shall appear in the list
  • Add button shall appear again
  • buttons to confirm/reject tag shall be hidden

To edit a tag, user shall click the field (key or value) of the tag that shall be changed.
Key and value fields in the list shall be editable.
Then:

  • specify new value to the field
  • click any place outside the field or press Enter
  • changed value shall be autosaved
    image --> image

To remove a tag, user shall click the corresponding button near the tag in the list.

Project tabs

Header panel shall contain a set of tabs that allow to switch between project sections.
There shall be:

  • Info - to open project details page
  • Storages - to open data storages section of the project
  • Pipelines - to open pipelines section of the project
  • Run History - to open the list of the project pipelines' runs
@NShaforostov NShaforostov added kind/enhancement New feature or request goal/portal 🔬 Issues related to NGS Portal labels Nov 22, 2024
@NShaforostov NShaforostov changed the title [NGS Portal] Project details [NGS Portal] Project Info - Header panel Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
goal/portal 🔬 Issues related to NGS Portal kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant