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] Main Dashboard - Projects panel #3780

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

[NGS Portal] Main Dashboard - Projects panel #3780

NShaforostov opened this issue Nov 20, 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 20, 2024

Projects panel on the main dashboard page of the NGS Portal shall display a list with a few projects available to user.
This panel should look approximately like this:
image

Panel shall contain:

  • panel header
  • search bar
  • list of projects cards

Additionally, panel shall include abilities:

  • to navigate to all projects list
  • to navigate to any project from the list
  • to mark favourite projects

List of projects cards

Panel shall display a list with a few projects available to user.
Each project in the list shall be presented as a card.
Project card shall contain:

  • project name - plain text label
  • project owner - plain text label with the project owner name
  • project tags - list of key-value attributes associated with the project:
    • shall be shown as plain text labels
    • shall be shown by pairs, e.g.: image
  • description - plain text project description. In case when description is too long, only its first part shall be shown, other parts shall be hidden by ellipsis

By default, project list shall display only recent N projects available to user (e.g. 3-5).

Search bar

Above the projects list, there shall be a search bar.
It shall allow to search over the whole list of projects (not only over the displayed list):

  • search shall be conducted over project names only
  • search shall be conducted by pressing Enter key after specifying a text into the Search bar
  • search results shall be displayed instead of projects list in the Projects panel:
    • in this list, only projects which names match the search string shall be shown
    • found matches in project names (or their parts) shall be highlighted
    • after clearing the search bar, projects list shall return to its previous view

View all projects

In the bottom of the projects list, there shall be a button to open the full list of projects (e.g. View all projects).
By click this button, Projects page shall be opened.

Open a project

By click any project name in the list or a project card, the Project details page for the selected project shall be opened.

Favourite projects

There shall be the ability to mark/unmark any project from the list as "favourite", e.g.:
image

  • user shall be able to mark as favourite any project - as from the displayed list and from search results too (i.e. to mark any project found via the Search bar). To mark a project, user shall:
    • hover over the project card
    • click the favourite icon that shall appear
    • to unmark, user shall perform the same actions again
  • favourite projects shall be automatically pinned in the top of the displayed list:
    • if project is marked as favourite from the search results list, it shall remain pinned after clearing the search bar as well
  • favourite projects shall be always displayed in the list for the current user - until the favourite mark is not removed:
    • if project becomes unmarked and it refers to recent N projects, it shall just "move" to its place in the projects list
    • if project becomes unmarked and it does not refer to recent N projects (i.e. it was previously added from the search results over all projects available to user), it shall be hidden from the projects list
@NShaforostov NShaforostov added kind/enhancement New feature or request goal/portal 🔬 Issues related to NGS Portal labels Nov 20, 2024
@NShaforostov NShaforostov changed the title [NGS Portal] Main Dashboard [NGS Portal] Main Dashboard - Projects panel Nov 25, 2024
rodichenko pushed a commit that referenced this issue Nov 27, 2024
* GUI Components: add List component (#3780)

* GUI Components: List component styling, add ListHeader (#3780)
rodichenko added a commit that referenced this issue Nov 28, 2024
* add project and pipelines card, add svgr (#3780)

* update permissions utils

* refactor cards

* Access rights moved to ProjectCard; styles

---------

Co-authored-by: Mikhail Rodichenko <[email protected]>
rodichenko pushed a commit that referenced this issue Nov 29, 2024
NEW GUI: panels mode toggler for presentation, mode styles

NEW GUI: panels mode toggler for presentation, mode styles
rodichenko pushed a commit that referenced this issue Dec 10, 2024
add basic project filters

add owners count and prepare for disabling

fix functionality

fix functionality

make search and tags work together

disable only when not selected

NEW-GUI pipelines and projects pages - add basic layout (#3780, #3781)

NEW-GUI pipelines and projects pages - project and pipeline cards (#3780, #3781)

NEW-GUI pipelines and projects pages - minor style adjustments (#3780, #3781)

useSearch hook fix
rodichenko pushed a commit that referenced this issue Dec 10, 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