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

chore: new icons preview #20957

Merged
merged 15 commits into from
Mar 19, 2024
Merged

chore: new icons preview #20957

merged 15 commits into from
Mar 19, 2024

Conversation

daibhin
Copy link
Contributor

@daibhin daibhin commented Mar 15, 2024

Problem

We don't have a great way to see / find the new icons

Changes

  • Add stories so you can see / copy icons. Includes categories.
  • Replace some icons with their more common alternative
Screenshot 2024-03-15 at 17 56 14 Screenshot 2024-03-15 at 17 56 20

Does this work well for both Cloud and self-hosted?

No impact

How did you test this code?

Test makes sure any new icons are also categorised

Copy link
Contributor

Size Change: +2.52 kB (0%)

Total Size: 824 kB

Filename Size Change
frontend/dist/toolbar.js 824 kB +2.52 kB (0%)

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

3 snapshot changes in total. 0 added, 3 modified, 0 deleted:

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@daibhin daibhin requested review from Twixes and raquelmsmith March 18, 2024 10:47
Copy link
Member

@Twixes Twixes left a comment

Choose a reason for hiding this comment

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

Very neat!

Comment on lines +55 to +57
<LemonCollapse
multiple
panels={Object.entries(group).map(([key, icons]) => {
Copy link
Member

Choose a reason for hiding this comment

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

Would be even more handy if the panels were expanded by default (using defaultActiveKeys), what do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I considered that originally but some of the categories were quite large and knocked the others off the page. Happy to follow up with it because I'm still undecided as to which is better

@daibhin daibhin merged commit dbee1bb into master Mar 19, 2024
82 checks passed
@daibhin daibhin deleted the dn-chore/new-icons-preview branch March 19, 2024 15:35
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.

3 participants