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

Added links on user table to tabs on show user page #15001

Merged

Conversation

marcusmoore
Copy link
Collaborator

Description

This PR updates the user table so that counts are linked and when clicked take you directly to the relevant tab on the show user page:

User table showing counts linked

CleanShot 2024-07-01 at 14 08 12

If the count is 0 I chose to render plain text instead of a link but I'm totally open to always providing links.

The method names I used are pretty verbose but are (hopefully) helpful for knowing what format is going to be applied at a glance.

Addresses #15000

Type of change

  • New feature (non-breaking change which adds functionality)

Copy link

what-the-diff bot commented Jul 1, 2024

PR Summary

  • New Feature to User Interface
    A new feature has been added to aid in website navigation. Specifically, this feature provides direct links to specific sections of a user's profile based on the count of items in that section.

  • Upgrade of Data Presentation
    To improve user interaction with counts of assets, licences, managed users and others, a set of new methods have been added. These methods format the counts and provide clickable links to the associated sections, thereby simplifying navigation and improving the user experience.

  • Enhancement in Data Table Layout
    Alterations have been done in the 'UserPresenter' script, which tweaks how information is laid out in the data table. The new key-value pairs added to the formatter help transform and display data in a more useful and user-friendly way, utilizing the new methods mentioned above.

@snipe
Copy link
Owner

snipe commented Jul 2, 2024

Nice detail!

@snipe snipe merged commit 37a038c into snipe:develop Jul 2, 2024
9 checks passed
@marcusmoore marcusmoore deleted the features/link-user-table-counts-to-section branch July 2, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants