1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-10 01:19:53 +01:00
unleash.unleash/frontend/src
Thomas Heartman 5d1a8ca735
chore: add Change Requests to sidebar and fix command menu icon (#10932)
Adds the new change request overview to the sidebar and fixes the entry
in the command bar to use the right title and icon.

<img width="441" height="159" alt="image"
src="https://github.com/user-attachments/assets/a3eb4fdd-f440-470b-b42f-539ec53f0aa0"
/>
<img width="269" height="163" alt="image"
src="https://github.com/user-attachments/assets/a2fdf92d-73c5-4daf-af64-f9f5cfe56834"
/>


Additionally, standardize the change requests icon. Instead of using a
custom one from a svg, let's use the material icon (which is the same,
just -90deg rotated and flipped around an axis)

This standardization, makes the icon a tiny bit smaller in the new
project modal, but it's the same size (20x20) as the other icons, so I
don't think anyone's gonna notice or care, and I think it's better to
use the basic material icon.

Of course, we could scale it up (and add a `scale` prop to the change
request icon), but I'd rather leave it out for consistency and
simplicity for now.

old:
<img width="835" height="52" alt="image"
src="https://github.com/user-attachments/assets/00dc35f3-a536-4e10-8115-2a0dbde92bb1"
/>

new: 
<img width="823" height="63" alt="image"
src="https://github.com/user-attachments/assets/5870fde1-05c1-43ce-a1c1-7ddc2242fb6b"
/>



As for the scale, I've set it to 1.1, because that makes it damn near
identical on the change request page (where I've also updated the raw
svg to the new icon) (old one on left, new one on right):
<img width="500" height="796" alt="image"
src="https://github.com/user-attachments/assets/fbbbf44f-8f8d-4cb9-b466-4cf3e70bfb1a"
/>
2025-11-06 12:12:58 +00:00
..
__mocks__
assets chore: add Change Requests to sidebar and fix command menu icon (#10932) 2025-11-06 12:12:58 +00:00
component chore: add Change Requests to sidebar and fix command menu icon (#10932) 2025-11-06 12:12:58 +00:00
constants fix: date localizations for chart (#10581) 2025-09-01 09:29:45 +00:00
contexts
hooks feat: plausible metrics chart (#10859) 2025-10-24 13:44:35 +03:00
interfaces chore(AI): envAddStrategySuggestion flag cleanup (#10916) 2025-11-05 11:02:42 +01:00
openapi fix: enterprise edge stats should take into account full month (#10898) 2025-11-03 13:45:38 +00:00
themes Update chart colors to increase contrasts between the A series. (#10579) 2025-09-01 08:22:44 +02:00
types
utils chore: remove uuid from the frontend (#10808) 2025-10-17 10:31:48 +02:00
index.tsx
setupTests.ts
vite-env.d.ts