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

feat(dashboards): enable sorting by column in table view #82239

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

harshithadurai
Copy link
Contributor

@harshithadurai harshithadurai commented Dec 17, 2024

Enable sorting by column in dashboards table view.

  • This PR adds sorting by name, date created, and owner
  • Added sort by Name (Z-A) to dropdown to maintain consistency b/w grid and table view
  • Sorting by owner column makes your dashboards show up on top (i.e. myDashboards in the sort dropdown)
  • The plan is to remove the sort dropdown for the table view in the future
Screenshot 2024-12-17 at 1 03 30 PM

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 17, 2024
@harshithadurai harshithadurai marked this pull request as ready for review December 17, 2024 18:09
@harshithadurai harshithadurai requested a review from a team as a code owner December 17, 2024 18:09
Copy link
Member

@narsaynorath narsaynorath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I tested it out locally. The only thing I could find was a little weird was clicking on Owner allowed a sort, but there wasn't a direction arrow associated with the column. Because I know it's not an alphabetical sort this makes some sense but does Vasudha have any plans to handle this?

I had only favourited my own dashboards, so when I clicked "Owner" I didn't think anything happened at first

@harshithadurai harshithadurai merged commit 6a22b21 into master Dec 20, 2024
51 checks passed
@harshithadurai harshithadurai deleted the harshi/feat/sort-dashboards-table-view branch December 20, 2024 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants