1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/frontend/src/component/commandBar
Thomas Heartman 6e34ae4ada
fix: project icon sizing and color (#7672)
This PR fixes the project icon sizing and color in the create feature
form. However, it includes a little more cleanup work.

1. I've switched out the previous project icon with a new one. The
difference? The old one had lots of whitespace around it, which made
sizing it awkward.
2. I've added a wrapping Icon component to common. The idea was taken
from this thread on the MUI GitHub about how to make imported icons
behave consistently with MUI icons.
3. Because I've switched the icon and added a new component, I've also
gone and updated the other places we used the old icon, so that we're
consistent about the usage.

In create dialog form:

![image](https://github.com/user-attachments/assets/9b5caed7-cd50-437b-82bb-1d7ccbfaac3f)

Updated icon in:
Project card component

![image](https://github.com/user-attachments/assets/4ce809f4-4083-4554-ac4c-3597d9bf42df)


Project creation form

![image](https://github.com/user-attachments/assets/4227416f-a56d-41ed-96a4-99b71a11dbf7)


Sidebar and command bar (it's actually larger here, but maybe that's
okay? Previous project was kinda small):

![image](https://github.com/user-attachments/assets/72b8aa2e-6970-4c11-9a4d-250648b44ad9)

(Previous sidebar and command bar):

![image](https://github.com/user-attachments/assets/bcef9208-9819-4742-87a1-3a20d50d741c)


I'd be willing to leave the sidebar and command bar for now if we think
it's better to leave them using the same size as previously, but we can
talk about that. I think it's better in the sidebar; undecided about the
command bar.

Bonus changes: I fixed some typos
2024-07-26 10:26:16 +02:00
..
RecentlyVisited fix: project icon sizing and color (#7672) 2024-07-26 10:26:16 +02:00
CommandBar.tsx feat: remove first item selection (#7596) 2024-07-16 11:27:37 +03:00
CommandBarFeedback.tsx chore: command bar feedback focus and text size (#7521) 2024-07-03 09:33:28 +02:00
CommandPageSuggestions.tsx chore: command bar remove strategy types as page suggestion (#7543) 2024-07-04 15:51:37 +02:00
CommandQuickSuggestions.tsx chore: fix command bar key prop usage (#7534) 2024-07-05 08:24:51 +02:00
CommandSearchFeatures.tsx feat: show all results in the same time (#7590) 2024-07-15 16:37:11 +03:00
CommandSearchPages.tsx chore: rename command bar files (#7516) 2024-07-02 13:59:18 +03:00
RecentlyVisitedRecorder.tsx fix: recently visit should only use main paths (#7655) 2024-07-24 15:04:33 +03:00