Tymoteusz Czech
79fccbd8f3
refactor: ts checking conditionallyrender props ( #7840 )
...
Fix issues found by TS checking after removing ConditionallyRender
2024-08-30 13:39:11 +02:00
gitar-bot[bot]
b26fb8992d
[Gitar] Cleaning up stale flag: killInsightsUI with value false ( #8002 )
...
Co-authored-by: Gitar <noreply@gitar.co>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2024-08-30 12:32:51 +02:00
Mateusz Kwasniewski
3a9b9e9e55
feat: fixed full mode navbar width ( #8001 )
2024-08-28 11:57:29 +02:00
Mateusz Kwasniewski
bed4f66fa2
feat: fixed full mode navbar width ( #7999 )
2024-08-28 11:07:55 +02:00
Mateusz Kwasniewski
d5e4544fad
feat: new in unleash summary text ( #7996 )
2024-08-28 10:30:03 +02:00
Mateusz Kwasniewski
c8f20196e0
feat: Signals preview img ( #7993 )
2024-08-28 08:24:12 +02:00
Mateusz Kwasniewski
c69036c5a9
feat: new in unleash tooltip ( #7991 )
2024-08-27 15:47:55 +02:00
Mateusz Kwasniewski
07f9935433
feat: make hide nav info always visible ( #7981 )
2024-08-26 15:57:33 +02:00
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
Jaanus Sellin
165f02a3a4
fix: sidebar update active when navigated via command menu. ( #7545 )
...
Currently, if the location changes, it does not update the active item.
I added useEffect to update the active item.
This is required when the user navigates via the command menu.
2024-07-05 13:28:00 +03:00
Gastón Fournier
5832fc7d81
feat: what's new in Unleash ( #7497 )
...
https://linear.app/unleash/issue/2-2354/new-in-unleash-section-in-sidebar
Add a "New in Unleash" section in the side bar and use it to announce
signals and actions.
![image](https://github.com/Unleash/unleash/assets/14320932/b2b5b65a-1812-4fc9-addf-c47c3cc90af3 )
Inside signals page we're also including a feedback button to try to
collect some insights.
![image](https://github.com/Unleash/unleash/assets/14320932/a2edb355-55e8-4939-b29d-2ba4e1f68001 )
---------
Co-authored-by: Nuno Góis <github@nunogois.com>
2024-07-03 09:54:38 +02:00
David Leek
9b789ea5ef
feat: command bar pages and name resolving ( #7397 )
2024-06-14 11:22:55 +02:00
Mateusz Kwasniewski
77a5b85d6b
feat: recent project by name ( #7375 )
2024-06-12 13:40:05 +02:00
Jaanus Sellin
3acb3ad2c2
feat: upgrade from react v17 to v18 ( #7265 )
...
**Upgrade to React v18 for Unleash v6. Here's why I think it's a good
time to do it:**
- Command Bar project: We've begun work on the command bar project, and
there's a fantastic library we want to use. However, it requires React
v18 support.
- Straightforward Upgrade: I took a look at the upgrade guide
https://react.dev/blog/2022/03/08/react-18-upgrade-guide and it seems
fairly straightforward. In fact, I was able to get React v18 running
with minimal changes in just 10 minutes!
- Dropping IE Support: React v18 no longer supports Internet Explorer
(IE), which is no longer supported by Microsoft as of June 15, 2022.
Upgrading to v18 in v6 would be a good way to align with this change.
TS updates:
* FC children has to be explicit:
https://stackoverflow.com/questions/71788254/react-18-typescript-children-fc
* forcing version 18 types in resolutions:
https://sentry.io/answers/type-is-not-assignable-to-type-reactnode/
Test updates:
* fixing SWR issue that we have always had but it manifests more in new
React (https://github.com/vercel/swr/issues/2373 )
---------
Co-authored-by: kwasniew <kwasniewski.mateusz@gmail.com>
2024-06-11 13:59:52 +03:00
Jaanus Sellin
9cb015a7db
fix: hide insights from sidebar for oss and kill switch ( #7270 )
2024-06-04 15:34:23 +03:00
Mateusz Kwasniewski
a1cecaf647
fix: mobile menu font size ( #7252 )
2024-06-03 15:28:28 +02:00
Mateusz Kwasniewski
e6b0c4fdb5
fix: Prevent jumping content navbar switch ( #7232 )
2024-06-03 08:52:03 +02:00
Mateusz Kwasniewski
5eadce061c
feat: align list items on mode switch ( #7229 )
2024-05-31 13:40:35 +02:00
Mateusz Kwasniewski
95f5f7a20b
feat: Recent flags ( #7211 )
2024-05-29 16:01:52 +02:00
Mateusz Kwasniewski
439ee63387
feat: Synced last viewed projects ( #7208 )
2024-05-29 12:58:14 +02:00
Mateusz Kwasniewski
25177e55f9
feat: Remove accordion line ( #7205 )
2024-05-29 11:28:51 +02:00
Mateusz Kwasniewski
8d898c2ac9
feat: smart sticky expand/hide button ( #7201 )
2024-05-29 10:47:57 +02:00
Mateusz Kwasniewski
2649c8e7cd
Fix: overflow sidebar cr banner ( #7193 )
2024-05-28 16:46:09 +02:00
Mateusz Kwasniewski
8e0b75102b
feat: Expand admin settings ( #7192 )
2024-05-28 16:09:23 +02:00
Mateusz Kwasniewski
dbc14fa7e9
feat: last viewed project ( #7191 )
2024-05-28 15:47:26 +02:00
Mateusz Kwasniewski
0c4d4643bd
feat: Content padding matches top nav ( #7187 )
2024-05-28 12:33:21 +02:00
Mateusz Kwasniewski
d5730e1e8b
feat: Sidebar nav tweaks ( #7185 )
2024-05-28 12:15:40 +02:00
Mateusz Kwasniewski
5a9b015022
feat: currently selected nav item ( #7182 )
2024-05-28 12:03:52 +02:00
Mateusz Kwasniewski
f7214c6cd0
test: navigation sidebar ( #7172 )
2024-05-27 17:00:10 +02:00
Mateusz Kwasniewski
08629e9041
refactor: navigation sidebar ( #7171 )
2024-05-27 16:29:20 +02:00
Mateusz Kwasniewski
c8db321b3e
feat: Persist expand collapse ( #7169 )
2024-05-27 15:36:24 +02:00
Mateusz Kwasniewski
67148dbdc9
feat: UI tweak new sidebar ( #7165 )
2024-05-27 13:35:27 +02:00
Mateusz Kwasniewski
02c0744fc2
feat: user profile preview ( #7150 )
2024-05-27 12:32:21 +02:00
Mateusz Kwasniewski
17720d6185
feat: adjust change request banner for new layout ( #7160 )
2024-05-27 11:08:23 +02:00
Mateusz Kwasniewski
68427f841b
feat: Persist navigation settings ( #7144 )
2024-05-24 13:21:12 +02:00
Mateusz Kwasniewski
8b5e39c997
feat: hide top nav ( #7140 )
2024-05-24 12:08:08 +02:00
Mateusz Kwasniewski
242f31c251
feat: More spacious layout ( #7138 )
2024-05-24 11:18:11 +02:00
Mateusz Kwasniewski
ebce31066a
feat: New mobile sidebar ( #7135 )
2024-05-24 09:35:03 +02:00
Mateusz Kwasniewski
292f43031a
feat: Navigation switch ( #7132 )
2024-05-24 08:55:05 +02:00
Mateusz Kwasniewski
79ed56ecfc
feat: Mini navigation sidebar ( #7131 )
2024-05-23 16:09:45 +02:00
Mateusz Kwasniewski
b783e89c88
feat: plan specific navigation ( #7126 )
2024-05-23 12:44:00 +02:00
Mateusz Kwasniewski
be6837b53a
feat: navigation sidebar stub ( #7121 )
2024-05-23 10:49:11 +02:00
gitar-bot[bot]
4932ae0539
[Gitar] Cleaning up stale feature flag: increaseUnleashWidth with value true ( #6724 )
...
Co-authored-by: Gitar Bot <noreply@gitar.co>
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2024-03-28 11:04:00 +02:00
Jaanus Sellin
f89c2aa829
chore: useProject cleanup ( #6700 )
2024-03-27 10:28:43 +02:00
Christopher Kolstad
53354224fc
chore: Bump biome and configure husky ( #6589 )
...
Upgrades biome to 1.6.1, and updates husky pre-commit hook.
Most changes here are making type imports explicit.
2024-03-18 13:58:05 +01:00
Jaanus Sellin
eb5d7a3788
feat: sdk reporting flag and e2e test ( #6216 )
...
1. Add flag
2. Add e2e test with more complete example
3. Some bug fixes
2024-02-13 14:13:21 +02:00
andreas-unleash
3e4f31b588
Chore: add zendesk btn to error dialog ( #6187 )
...
Adds the option for a 3rd button in the Dialogue component
Adds a button to open our zendesk support page
Closes #
[1-2024](https://linear.app/unleash/issue/1-2024/review-the-ui-error-dialog )
<img width="1677" alt="Screenshot 2024-02-09 at 11 18 20"
src="https://github.com/Unleash/unleash/assets/104830839/bf69c9c2-456f-4b83-b80e-d72f0d678331 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-02-12 10:26:45 +02:00
Thomas Heartman
39145e2617
refactor: use union types for change request types ( #5870 )
...
This changes the two interfaces IChangeRequest and
IChangeRequestSchedule to be union types instead of interfaces. It also
extracts the constituents of those union types into proper types
themselves (so that they can be used in function type signatures etc).
It also updates the type names.
This turned out to be more work than I had imagined, but I think the end
result pays off, giving us more type safety and control.
I wanted to use just `ChangeRequest` for the IChangeRequest type, but
that caused issues due to naming collisions with the `ChangeRequest`
component that we have, causing tests to fail. I've named it
`ChangeRequestType` as a potential solution, but suggestions are
welcome.
The relevant changes are in
`frontend/src/component/changeRequest/changeRequest.types.ts`.
Everything else is updated references and some necessary refactoring to
respect the new types.
2024-01-12 13:15:43 +05:30
Nuno Góis
c6ba9603c8
fix: demo banner zIndex, display on top ( #5776 )
...
This PR does 2 things:
- Fixes the `DemoBanner` zIndex to be the same as the sticky banners (no
longer displays on top of modals)
- Moves the `Demo` wrapper to `App` instead of `MainLayout`, always
displaying the demo banner before other banners
![image](https://github.com/Unleash/unleash/assets/14320932/b115ee7f-26e0-468f-91aa-1f82335a6538 )
2024-01-05 14:57:34 +00:00
Nuno Góis
8736189b4f
fix: UI improvements related to the increase of width ( #5752 )
...
https://linear.app/unleash/issue/UNL-309/1500px-width-ui-issues
UI fixes, improvements and adjustments related to the recent increase in
width on the UI. Tried to follow the feature flag logic wherever it made
sense.
![image](https://github.com/Unleash/unleash/assets/14320932/b5b4f437-c232-4025-ab24-09070a036592 )
![image](https://github.com/Unleash/unleash/assets/14320932/e9008e3b-db5c-4553-bd7d-58a01120433d )
Co-authored-by: Nicolae <nicolae@getunleash.ai>
2024-01-04 09:57:30 +00:00