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

ui/profile/table: Add visibility dropdown for columns #3780

Merged
merged 12 commits into from
Oct 4, 2023

Conversation

metalmatze
Copy link
Member

@metalmatze metalmatze commented Sep 7, 2023

  • ui/profile/Table: Add dropdown to change column visibility
  • ui/component/Table: Make table header sticky

image

Also, some additional performance improvements by moving getting the column references before the hot paths.
This should be better with long tables and sorting. Users don't have to scroll back to the top to sort.
@metalmatze
Copy link
Member Author

Did you have a chance to take a look at it, @manojVivek?

@manojVivek
Copy link
Contributor

Did you have a chance to take a look at it, @manojVivek?

Didn't check it yet after the initial look. I'll take a look today and maybe ignore type check for that line if I couldn't resolve it.

@manojVivek
Copy link
Contributor

Oh, I just noticed @monicawoj is going to look into this, so I'll defer it to her. Fresh eyes might help.

@monicawoj
Copy link
Contributor

Oh, I just noticed @monicawoj is going to look into this, so I'll defer it to her. Fresh eyes might help.

Apologies for the delay here @metalmatze (I was blocked for the past few days because of CORS errors, so was not able to check this locally). I'm just working on some linter/ts fixes and should be ready to merge soon!

@alwaysmeticulous
Copy link

alwaysmeticulous bot commented Oct 2, 2023

🤖 Meticulous spotted visual differences in 1 of 130 screens tested: view and approve differences detected.

Last updated for commit 247f9b8. This comment will update as new commits are pushed.

@vercel
Copy link

vercel bot commented Oct 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
parca-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2023 8:53am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
ui-documentation ⬜️ Ignored (Inspect) Visit Preview Oct 4, 2023 8:53am

Copy link
Member

@brancz brancz left a comment

Choose a reason for hiding this comment

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

Love it!

@brancz
Copy link
Member

brancz commented Oct 3, 2023

Perhaps a tiny nit, even on a 4k screen it looks like it's all a bit smashed together. Maybe we can find a shorter name for the % columns?

Screenshot 2023-10-03 at 14 49 25

Copy link
Contributor

@manojVivek manojVivek left a comment

Choose a reason for hiding this comment

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

Looking good!

@monicawoj
Copy link
Contributor

Perhaps a tiny nit, even on a 4k screen it looks like it's all a bit smashed together. Maybe we can find a shorter name for the % columns?

Screenshot 2023-10-03 at 14 49 25

Yeah, I agree that a shorter name would be ideal. Would just "X (%)" suffice you think? As in "Cumulative (%)" instead of "Cumulative (% of total)"?

@brancz
Copy link
Member

brancz commented Oct 4, 2023

Yes, I think so. As far as I'm aware that's also how other products/projects do this.

@monicawoj monicawoj merged commit e897c05 into main Oct 4, 2023
@monicawoj monicawoj deleted the ui-profile-table-columns branch October 4, 2023 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants