Thomas Heartman
74370468d1
fix: section sizes ( #8423 )
...
This PR fixes issues with section sizes including:
- Jank when they change suddenly
- Overflowing list of admins / events
- Short lists that should stretch to the height of their container.
2024-10-11 09:10:21 +02:00
Thomas Heartman
4c8aef58ae
fix: revert link changes ( #8425 )
...
Making them absolute appears to break them. Reverting to relative links.
2024-10-11 08:09:31 +02:00
Nuno Góis
7c5fab518f
chore: use new signal meta properties in event timeline ( #8421 )
...
https://linear.app/unleash/issue/2-2796/better-signals-integration
Adds support to the following signal payload meta properties:
- `unleash_title`
- `unleash_description`
- `unleash_icon`
- `unleash_variant`
Follows a logic similar to what we currently have for banners. E.g.
[custom icon](https://docs.getunleash.io/reference/banners#custom-icon ).
## Call signal endpoints
![image](https://github.com/user-attachments/assets/7c806a96-5aa4-40a7-b24e-27ab8dc4e374 )
![image](https://github.com/user-attachments/assets/6edfd45d-d702-4bd3-9af8-d3655528b09e )
## View signals in event timeline
![image](https://github.com/user-attachments/assets/b3852686-e2c8-407c-b968-b52a1686fdd6 )
![image](https://github.com/user-attachments/assets/b47683c5-51b6-426c-96d1-7308fc9e6eab )
2024-10-10 15:41:02 +01:00
Thomas Heartman
f0dc7fa0ae
fix: fix title sizes ( #8420 )
...
Makes both headers of the same setup complete section the same size.
Also normalize casing
2024-10-10 13:50:30 +02:00
Thomas Heartman
21887aa3b9
fix: show empty chart when we're loading flag metrics ( #8419 )
...
This PR makes it so that we show an empty chart when we're loading flag
metrics, instead of showing the placeholder chart.
It uses a very simple version that may not be the same size as the
standard chart (because it has no labels), but we can change that at a
later date.
![image](https://github.com/user-attachments/assets/621ba1b9-e936-4c65-a77b-e1cd6debf865 )
2024-10-10 13:43:31 +02:00
Thomas Heartman
fcce0f852c
chore: track personal dashboard navigation ( #8417 )
...
This PR adds plausible tracking for navigating to items from the
personal dashboard.
It tracks:
- Navigating to projects from the list
- Navigating to projects from the onboarding screen
- Navigating to flags from the list
- Opening the key concepts dialog
2024-10-10 13:30:47 +02:00
Thomas Heartman
a5cfd2e80e
feat: handle cases where user has no flags ( #8416 )
...
This PR handles the cases where a user has no flags to display. There's
a few different ways this can happen:
1. The user has no project membership.
2. The user has projects, but no flags.
In the first case, we tell them to reach out to their admin.
In the second case, we tell them to go to one of their projects to
create a new flag.
User has no projects:
![image](https://github.com/user-attachments/assets/84b94044-3577-4009-97ae-ab709b94fc2e )
User has no flags:
![image](https://github.com/user-attachments/assets/d7fa2fcc-d758-4d7b-b986-376315150846 )
2024-10-10 12:54:42 +02:00
Nuno Góis
d00873c357
chore: add OpenAI API key configuration ( #8400 )
...
https://linear.app/unleash/issue/2-2787/add-openai-api-key-to-our-configuration
Adds the OpenAI API key to our configuration and exposes a new
`unleashAIAvailable` boolean in our UI config to let our frontend know
that we have configured this. This can be used together with our flag to
decide whether we should enable our experiment for our users.
2024-10-10 09:43:14 +01:00
Tymoteusz Czech
534dd093d2
Additional environments confirmation dialog ( #8407 )
2024-10-10 10:26:13 +02:00
Thomas Heartman
5df7b15af0
fix: chart issues in dark mode ( #8414 )
...
This PR fixes two issues with the chart in dark mode:
1. Grid lines are almost invisible
2. Placeholder data lines are way too bright
The fix for both is to use the theme's divider color.
![image](https://github.com/user-attachments/assets/1064d081-0cd8-4b2b-97a7-225e29b3af19 )
![image](https://github.com/user-attachments/assets/4f046f98-5664-421a-b0a8-620f2dbe96f9 )
2024-10-10 10:03:16 +02:00
Thomas Heartman
e6365d8bce
chore: remove graph, update health message ( #8403 )
...
Removes the graph and updates the box to show a health message based on
current health if you don't have any trends:
With trends:
![image](https://github.com/user-attachments/assets/5c7a2102-207c-431f-9918-93a910480d48 )
Without:
![image](https://github.com/user-attachments/assets/311427ba-38e9-4d49-9c10-2c932982d4d4 )
2024-10-10 09:22:45 +02:00
Thomas Heartman
2ae9589e67
chore: move flag activity info to the left ( #8411 )
...
Shifts the display of the activity info to the left instead of cramming
it in next to metrics selectors.
![image](https://github.com/user-attachments/assets/baaafd02-c0d8-40ec-92a0-9b22e7d377d8 )
2024-10-10 09:22:26 +02:00
Thomas Heartman
42d5eeb7e5
fix: display tick values for chart Y axis ( #8412 )
...
This PR adds back in ticks for the Y axis of the chart. The ticks were
removed when updating the no content chart and this was an oversight.
2024-10-10 08:52:25 +02:00
Nuno Góis
d032a91494
chore: add unleashAI feature flag ( #8399 )
...
https://linear.app/unleash/issue/2-2773/add-unleashai-feature-flag
Adds the `unleashAI` feature flag, the first step in the Unleash AI
experiment.
2024-10-09 14:10:58 +01:00
Tymoteusz Czech
178940ce7f
fix: environments route should be hidden from menu for open-source ( #8397 )
2024-10-09 15:45:02 +03:00
Thomas Heartman
23b0401381
feat: make panels collapsible ( #8395 )
...
This PR makes the projects and flags panels collapsible. The panels are
expanded by default and can be collapsed by clicking on the panel
header. The state of the panels is saved in localstorage.
As part of this, it also:
- moves the flag exposure metrics next to the metric selectors
- fixes the alignment of the "no exposure" line
![image](https://github.com/user-attachments/assets/b41ca808-f5f0-4e17-8bb1-b1388256354d )
Line alignment:
before:
![image](https://github.com/user-attachments/assets/119320d6-d39d-4c34-815a-8a25c6856ad6 )
after:
![image](https://github.com/user-attachments/assets/f5b0fe51-1cda-49f9-8b22-e03988429799 )
2024-10-09 14:25:58 +02:00
Jaanus Sellin
ca831f79e5
feat: order additional environments email templates ( #8401 )
...
Most of the HTML/styles retaken from existing templates.
![image](https://github.com/user-attachments/assets/5244c8d2-fe80-474a-9e65-a0f5ae4d44c2 )
2024-10-09 15:15:27 +03:00
Thomas Heartman
ad35fa9a48
fix: make no data look like no data ( #8396 )
...
This PR adjusts what we show for no data to make it clearer that we
actually have no data.
It also makes the graph slightly smaller.
![image](https://github.com/user-attachments/assets/12a009a6-a24d-4821-bb03-c408417011a7 )
2024-10-09 13:16:57 +02:00
Tymoteusz Czech
eb2d1fb905
Add configure environments link to project settings ( #8391 )
2024-10-09 10:24:46 +02:00
Thomas Heartman
f23ba70bb4
feat: add timestamps to project events ( #8389 )
...
This PR adds timestamps to project events and displays them in the
"latest events" box in the project details view.
It also changes the font weight of events to be only normal.
![image](https://github.com/user-attachments/assets/69ee4052-fe96-4fc9-ae45-0818acb0570a )
2024-10-09 09:32:58 +02:00
Tymoteusz Czech
18ae49900b
fix: route for environments for pro customers ( #8390 )
2024-10-08 13:32:05 +00:00
Tymoteusz Czech
48eee2043f
Frontend for additional environments ( #8378 )
2024-10-08 12:59:41 +00:00
Nuno Góis
99021f373f
chore: update docs URL for event timeline ( #8388 )
...
https://linear.app/unleash/issue/2-2767/update-docs-url-in-event-timeline
Updates the event timeline documentation URL to directly link to the
event timeline section.
2024-10-08 12:26:51 +01:00
Jaanus Sellin
787af6f0eb
feat: android/swift slow metric info ( #8387 )
...
Two corner cases, android and swift do not post metrics before default
time. Adding small info box for them.
![image](https://github.com/user-attachments/assets/cad643ba-cdb7-4585-aab3-02cd86f17c74 )
2024-10-08 13:37:00 +03:00
Thomas Heartman
3f9278be92
fix: removes welcome message and updates view details button ( #8385 )
...
The welcome message doesn't provide much help, and the question mark was
confusing. This PR removes the message and changes the button to look
like a link.
![image](https://github.com/user-attachments/assets/f2039b7a-05c8-4353-8440-22786072d0db )
2024-10-08 12:28:41 +02:00
Thomas Heartman
b190efce53
chore: removes setup badge from personal dashboard ( #8384 )
...
The badge has been removed from the onboarding flow, so we don't need
to show it here. This also prepares it for the collapsible sections.
2024-10-08 12:28:31 +02:00
Jaanus Sellin
8f4454039a
feat: start capturing onboarded status also from register endpoint ( #8386 )
...
1. Remove all customer intervals
2. Start capturing onboarded status also from register endpoint
2024-10-08 12:40:33 +03:00
Thomas Heartman
e8c73c79fc
fix: handle lots of project roles better ( #8383 )
...
This PR improves how we handle cases where you have lots of roles or roles with very long names.
It puts project roles into it's own little area (and turns it into a list!). We'll show three roles by default. If they all have super long names, we'll split them up onto multiple lines.
Additionally, the headers and avatar group will no longer wrap.
So in edge case territory, it'll look like this:
![image](https://github.com/user-attachments/assets/afb1a809-f6f4-4d25-9796-6abaa15445c1 )
And what if one role has an even longer name? It'll wrap inside the badge:
![image](https://github.com/user-attachments/assets/f3b42cc5-2f5a-4447-9e5e-edef7f92f977 )
2024-10-08 09:50:28 +02:00
Thomas Heartman
9c22658b5d
chore: update jsdom to 25.0.1 ( #8355 )
...
The primary reason for the bump is that newer versions of jsdom
support `@container` queries. The current version chucks a big warning
into stderr that it couldn't parse the stylesheet.
2024-10-08 09:32:07 +02:00
Thomas Heartman
8a7bf865d3
fix: handle project fetching error ( #8375 )
...
Work in progress
2024-10-08 08:46:14 +02:00
Thomas Heartman
21573d36de
fix: import svg viewbox misalignment ( #8216 )
...
This change updates the import svg's viewbox. It was set to be 24 x
24, but the icon is only 16px wide, causing it to be shifted 4px to
the left, as shown in the following image:
![image](https://github.com/user-attachments/assets/bcaa0526-662b-4d85-b302-8c2dfa46f62d )
By shrinking the viewbox (but keeping the width the same), the icon is
now more correctly aligned:
![image](https://github.com/user-attachments/assets/d77b8b6d-ccc1-448d-bd61-675766b94d0e )
2024-10-08 08:41:16 +02:00
Thomas Heartman
67f036c0ab
feat: store dashboard state ( #8382 )
...
This PR stores the dashboard state (selected project and flag) in
localstorage so that you get taken back to the same project and flag
when you refresh the page or navigate away and back.
It also handles scrolling the selected items into view in case they're
below the fold.
2024-10-08 08:21:23 +02:00
Nuno Góis
864984e212
chore: better show hide event timeline tooltips ( #8379 )
...
https://linear.app/unleash/issue/2-2753/improve-current-showhide-tooltips-to-be-more-specific-about-the
Improves the "show" and "hide" tooltips of this feature to have a
slightly more specific text. This is not just any timeline, this is the
**event timeline**.
- "Hide timeline" -> "Hide event timeline"
- "Show timeline" -> "Show event timeline"
2024-10-07 12:40:47 +01:00
Nuno Góis
01dfbcd74c
chore: add beta badge to event timeline in new in unleash ( #8377 )
...
https://linear.app/unleash/issue/2-2750/add-beta-badge-to-event-timeline-in-the-new-in-unleash-section
Adds a beta badge to the event timeline item in "New in Unleash".
![image](https://github.com/user-attachments/assets/3db04c83-e34b-439a-b9be-8214df78f165 )
2024-10-07 11:48:15 +01:00
Thomas Heartman
e1f3315f57
Chore: rename Project Insight -> Project health ( #8374 )
...
Small copy update. The new square looks like this:
![image](https://github.com/user-attachments/assets/60d525a1-954d-49f1-928a-bbc35d516840 )
2024-10-07 11:27:36 +02:00
Thomas Heartman
2905b560bd
fix: no owners listed in personal dashboard for default project ( #8373 )
...
This PR fixes a bug where the default project would have no listed
owners. The issue was that the default project has no user owners by
default, so we didn't get a result back when looking for user owners.
Now we check whether we have any owners for that project, and if we
don't, then we return the system user as an owner instead.
This also fixes an issue for the default project where you have no roles
(because by default, you don't) by updating the schema to allow an empty
list.
2024-10-07 10:52:11 +02:00
Thomas Heartman
e7deb8b49b
fix: small breakathon fixes ( #8368 )
...
Typo and sx propagation
2024-10-04 15:43:11 +02:00
Nuno Góis
3fb683ffd9
chore: make signals visible on event timeline for non admins ( #8364 )
...
https://linear.app/unleash/issue/2-2743/open-the-signal-query-endpoint-to-everyone-not-only-admins
The new signal query endpoint is now open for every Unleash user, not
only admins.
This PR allows non-admins to view signals in the event timeline. It also
updates the signals tooltip to be shown to all users, not just admins,
under the following assumptions:
- `!signalsSuggestionSeen` - Current user has not dismissed the signals
tip
- `isEnterprise()` - Enterprise instance
- `signalsEnabled` - The signals feature flag is enabled
- `!signalsLoading` - Signals have finished loading (avoids flickering)
- `signals.length === 0` - We can't find any signals in the selected
timespan
2024-10-04 12:39:57 +01:00
Thomas Heartman
b4c888a78f
chore: a feature flag -> one ( #8367 )
...
Missed a rewording
2024-10-04 13:02:30 +02:00
Thomas Heartman
51336568b1
chore: update the copy to align between project view and personal dashboard ( #8365 )
...
Contains small changes to align the two places where we show the same
information.
2024-10-04 12:58:36 +02:00
Tymoteusz Czech
d760af321f
feat(onboarding): add comments to snippets ( #8361 )
...
Add warning about plaintext API key and increased metrics interval
2024-10-04 10:56:19 +02:00
Nuno Góis
52b7e235fd
chore: add event timeline to new in unleash ( #8358 )
...
https://linear.app/unleash/issue/2-2729/add-event-timeline-to-new-in-unleash
Adds the new event timeline to the "New in Unleash" section.
Unlike Signals & Actions, the Event timeline doesn’t have a dedicated
page to link to, as it's a global component within the layout. To
address this, we extend the "check it out" action in the New in Unleash
component by supporting a callback instead of a link. When the user
clicks "check it out" for this new item, the page smoothly scrolls to
the top, ~~the timeline opens (if it's not already)~~, and a temporary
highlight effect is triggered on the timeline header button.
Also includes some scouting / slight UX adjustments.
https://github.com/user-attachments/assets/fe49f21b-5986-46b2-8fc6-acb4daef9d08
2024-10-04 08:20:55 +01:00
Mateusz Kwasniewski
ec1fe6278a
feat: make personal dashboard UI more compact ( #8359 )
2024-10-03 16:20:45 +02:00
David Leek
0653800cb8
chore: plausible event for event timeline signals tip click ( #8349 )
2024-10-03 15:35:34 +02:00
Jaanus Sellin
361ef3d3c4
feat: update congratulations message ( #8354 )
...
![image](https://github.com/user-attachments/assets/c74d61e0-c38e-4770-8cb5-f3559a34a9f8 )
2024-10-03 15:38:14 +03:00
Thomas Heartman
cfcaf00a8e
fix: vertically center owners and roles content ( #8357 )
...
This change fixes the vertical alignment of the owners and roles
content.
Before:
![image](https://github.com/user-attachments/assets/369a738d-06de-4d40-8b2e-a6fff5127714 )
After:
![image](https://github.com/user-attachments/assets/4359c47d-d1d5-47b8-9af4-c722fe46fd79 )
2024-10-03 12:29:49 +00:00
Thomas Heartman
aec888a160
fix: add back flex container. ( #8356 )
...
The flex styling was deleted by mistake. This adds it back in.
2024-10-03 12:23:38 +00:00
Jaanus Sellin
0077a56ef6
feat: add plausible for onboarding ( #8352 )
...
Tracking events for
1. Onboarding started/project created
2. Onboarding finishes
3. API token generated
4. Sdk example clicked
Not tracking events that can happen multiple times and results are
skewed
1. Moving between onboarding steps
2024-10-03 14:41:50 +03:00
Tymoteusz Czech
0bf385d601
feat(onboarding): improve steps dividers ( #8346 )
2024-10-03 12:26:12 +02:00
Thomas Heartman
38b33aa032
fix: make gaps 1px instead of 2px ( #8351 )
...
This PR reduces the gaps/borders between items in the dashboard grids to
1px.
2024-10-03 10:53:22 +02:00
Mateusz Kwasniewski
10dffcd232
feat: health score components in personal dashboard ( #8348 )
2024-10-03 10:21:27 +02:00
Thomas Heartman
f5c78605ed
refactor: use css grid for flags and no content grid ( #8347 )
...
This PR uses the new CSS grid layout for the flag grid and the no
content grid.
In doing so, it also improves how you use the grid item (giving them a
`gridArea` prop) and extracts the breakpoint handling so that all
sections that use breakpoints use the same breakpoints.
As with the previous PR, here's screenies of the same screen width, but
with open and closed sidebar:
Open:
![image](https://github.com/user-attachments/assets/2d41d412-5072-4c66-9a48-e7aa0d8cff45 )
Closed:
![image](https://github.com/user-attachments/assets/994e3f2c-6f4c-4db1-9f10-e1d1a4d96540 )
2024-10-03 07:54:27 +00:00
Nuno Góis
401425e35c
chore: event timeline help icon ( #8345 )
...
https://linear.app/unleash/issue/2-2717/help-icon-in-the-event-timeline-component
Adds an help icon to the event timeline.
<img width="108" alt="image"
src="https://github.com/user-attachments/assets/261fd14a-4d33-4bae-ae2e-92d1dc47db6b ">
<img width="332" alt="image"
src="https://github.com/user-attachments/assets/85c827d1-39e9-47ef-9602-7f2ea207e5ea ">
2024-10-03 08:45:24 +01:00
Thomas Heartman
35a73a5b8e
fix: add grid w/container query for projects ( #8344 )
...
The main goals of this are:
1. Make it so that the layout grid doesn't break on small screens
2. Fix an issue where the border of the box didn't fit the outline
3. (Bonus): make the layout of the info box depend on the **box's**
size, not the screen size.
To achieve those goals, this PR:
1. Switches to using a native CSS grid instead of MUI's grid component.
This gives us more power over the layout in various different sizes.
2. Switches from putting borders on the boxes inside the grid, instead
makes the grid container the color of the border and uses gaps to create
borders.
3. If your browser supports it, it will use container queries to
determine whether we should display the layout as a multi-column grid or
in a single column.
Container query demo (both with the same screen sizes):
Sidebar closed:
![image](https://github.com/user-attachments/assets/9a7d9a78-de92-4429-bf06-8e98fbf40ed0 )
Sidebar open:
![image](https://github.com/user-attachments/assets/90e790ba-13db-485c-8f5e-ee60fe36dabb )
2024-10-03 07:02:12 +00:00
David Leek
9b1d9f57d3
chore: timeline plausible tracking ( #8338 )
2024-10-03 07:58:58 +02:00
Mateusz Kwasniewski
c1dde7691b
test: personal dashboard ( #8343 )
2024-10-02 18:30:04 +02:00
Nuno Góis
836adf52a1
chore: event timeline signals tip ( #8342 )
...
https://linear.app/unleash/issue/2-2723/add-signals-tip
Adds a tip to the event timeline regarding the usage of signals.
The conditions for it to show up are the following:
- `!signalsSuggestionSeen` - The current user has not closed the tip yet
- `isEnterprise()` - The Unleash instance is an Enterprise instance
(signals are currently Enterprise-only)
- `isAdmin` - The current user is an admin (signals are currently
admin-only)
- `signalsEnabled` - The signals feature flag is currently enabled
- `!loading` - Signal endpoints have not finished loading (prevents
flickering)
- `signalEndpoints.length === 0` - The Unleash instance currently has
zero configured signal endpoints (signals feature is not being used)
![image](https://github.com/user-attachments/assets/8dd73e62-a341-4d12-97b1-4e011f7891c3 )
2024-10-02 14:47:07 +01:00
Thomas Heartman
aa7d612934
fix: only ask for project details if we have a project ID ( #8339 )
...
This switches to using conditional SWR to fetch project details only
when you provide a project. This fixes an issue where we'd make
requests for `api/admin/personal-dashboard/undefined` (which will be a
404 in the future).
2024-10-02 12:30:56 +00:00
Mateusz Kwasniewski
e0ea1ff34a
fix: event styling personal dashboard ( #8337 )
2024-10-02 14:24:50 +02:00
Mateusz Kwasniewski
b975919395
feat: health trend insight ( #8335 )
2024-10-02 13:50:31 +02:00
Thomas Heartman
5abc3b4732
a11y: add labels to env/period selectors ( #8329 )
...
This PR adds labels to the environment and period selectors for the flag
metrics chart on the personal dashboard page. Because the period
selector is also used on the flag metrics page, I've also updated its
use there by removing a previous text label (which was just text, not an
associated `label` element).
Before:
Chart:
![image](https://github.com/user-attachments/assets/e150d786-3c00-4b49-851b-8073c4b97f4f )
Flag metrics:
![image](https://github.com/user-attachments/assets/de7f533d-d945-425b-ae6c-6eda02cea995 )
After:
Chart:
![image](https://github.com/user-attachments/assets/a3336a8e-9745-4509-90e8-df999edec3fa )
Flag metrics:
![image](https://github.com/user-attachments/assets/ac2bf7bf-6454-4c63-a680-db4d1d4fb4b9 )
2024-10-02 12:57:01 +02:00
Tymoteusz Czech
ed0123d88a
fix(onboarding): Node.js SDK link ( #8334 )
2024-10-02 10:31:57 +00:00
Jaanus Sellin
a71fafeb13
feat: add all outlined icons ( #8332 )
...
![image](https://github.com/user-attachments/assets/54826935-6323-434f-b789-459f7ac51739 )
2024-10-02 13:22:59 +03:00
Tymoteusz Czech
3341d4aee9
fix(onboarding): update go snippet ( #8333 )
2024-10-02 10:14:29 +00:00
Jaanus Sellin
32849b6322
chore: update metrics interval from 5 to 1 ( #8331 )
2024-10-02 13:01:12 +03:00
Tymoteusz Czech
3ac2c17a8e
feat(onboarding): improve styles ( #8323 )
...
Adjust spacing between elements.
2024-10-02 11:20:26 +02:00
Jaanus Sellin
e51e6cc507
feat: improve onboarding flow ( #8327 )
...
1. Refetch features when creating the flag. It took a while for it to
appear before.
2. Fix NodeJS snippet and make texts more clear.
2024-10-02 10:39:47 +03:00
Thomas Heartman
6936da7403
feat: handle owners and project roles in the UI ( #8315 )
...
This commit uses the now-included project owner and role information
to populate the owner/role section. If you have no roles, we'll tell
you that you don't instead of displaying an empty set of badges.
2024-10-02 09:37:02 +02:00
Jaanus Sellin
a874ac085d
fix: fix tracking of menu bar for no search results ( #8326 )
...
Previously it sending plausible event before the query had loaded and
making false positives.
2024-10-02 09:54:07 +03:00
Nuno Góis
51bfccd8cc
chore: timeline event group icon when events are all same type ( #8322 )
...
https://linear.app/unleash/issue/2-2726/groups-should-show-the-timeline-event-type-icon-when-all-events-inside
Displays the event type icon for the group when all events within the
group share the same type.
![image](https://github.com/user-attachments/assets/9fc68b2b-da01-423e-b767-05ce87098b27 )
![image](https://github.com/user-attachments/assets/76c3a6d6-1bae-499c-aeec-006ead30cea6 )
2024-10-01 16:37:07 +01:00
Nuno Góis
5dae654022
refactor: implement an event timeline context and provider ( #8321 )
...
https://linear.app/unleash/issue/2-2730/refactor-the-event-timeline-state-management-to-a-context-and-provider
This PR refactors the state management for the **Event Timeline**
component by introducing a context and provider to improve accessibility
of state across the component tree.
2024-10-01 16:21:31 +01:00
dependabot[bot]
2d8bc3268f
chore(deps): bump rollup from 4.21.2 to 4.22.4 in /frontend ( #8226 )
2024-10-01 16:02:35 +02:00
David Leek
729acfd318
chore: timeline ux alignment ( #8283 )
...
https://linear.app/unleash/issue/2-2703/align-with-ux
Timeline UI/UX improvements after sync with UX, including:
- Added some spacing between each event in the grouping tooltip
- Aligned the x events occurred header with filter dropdown
- Improved the strategy icon somewhat so it doesn't look as off center
- New timeline icon
- Improve icon position relative to timestamp on each event in the
grouping tooltip
- Changed text color in dropdowns to a lighter gray
- Removed bold formatting in tooltip
- Adjusted paddings and margins
- Added close button
- Added shadow
- Added left border
There are a few details missing, which will be tackled in separate PRs.
![image](https://github.com/user-attachments/assets/b911696e-1a50-4968-9b73-b01af626d44e )
---------
Co-authored-by: Nuno Góis <github@nunogois.com>
2024-10-01 14:32:54 +01:00
Tymoteusz Czech
b03686dc3f
feat(onboarding): .NET snippet ( #8307 )
...
## About the changes
Quick-start for .NET
2024-10-01 14:20:49 +03:00
Mateusz Kwasniewski
bf787b6deb
feat: redirect to personal dashboard when no last project ( #8318 )
2024-10-01 13:11:29 +02:00
Tymoteusz Czech
a6ab5326a0
feat(onboarding): add links to examples ( #8308 )
...
## About the changes
Links from Unleash UI to
[Unleash/unleash-sdk-examples](https://github.com/Unleash/unleash-sdk-examples )
https://linear.app/unleash/issue/1-2869/add-codesandbox-links-to-unleashunleash
2024-10-01 10:58:21 +00:00
Mateusz Kwasniewski
739ad07798
refactor: extract my projects component ( #8317 )
2024-10-01 11:33:03 +02:00
Mateusz Kwasniewski
7ac283aa50
feat: skeleton loaders for personal dashboard ( #8313 )
2024-10-01 10:16:20 +02:00
Nuno Góis
a8eda9d61f
chore: event timeline signals ( #8310 )
...
https://linear.app/unleash/issue/2-2665/show-signals-in-the-event-timeline
Implements signals in the event timeline.
This merges events and signals into a unified `TimelineEvent`
abstraction, streamlining the data structure to only include properties
relevant to the timeline.
Key changes:
- Refactors the timeline logic to handle both events and signals through
the new abstraction.
- Introduces the `useSignalQuery` hook, modeled after `useEventSearch`,
as both serve similar purposes, albeit for different resource types.
Note: The signals suggestion alert is not included and will be addressed
in a future task.
![image](https://github.com/user-attachments/assets/9dad5c21-cd36-45e6-9369-ceca25936123 )
2024-10-01 09:02:08 +01:00
Mateusz Kwasniewski
6d16fc60ce
feat: Personal dashboard flag created ( #8305 )
2024-09-30 16:09:31 +02:00
Thomas Heartman
50c5af8632
feat: hook up admin / owner data to UI ( #8300 )
...
This PR hooks up the owners and admins of Unleash to the UI. They'll
only be visible in cases where you have no projects.
In addition, it adds Orval schemas for the new payload properties and
updates the generating schemas to fix some minor typing issues.
2024-09-30 13:40:33 +00:00
Mateusz Kwasniewski
d7db80d948
feat: use onboarding status to conditionally show badge and message ( #8304 )
2024-09-30 15:30:18 +02:00
Mateusz Kwasniewski
ac90c942db
feat: add onboarding status to personal dashboard api ( #8302 )
2024-09-30 14:25:56 +02:00
Mateusz Kwasniewski
6f7170dc40
feat: open unleash concepts ( #8301 )
2024-09-30 13:32:05 +02:00
Mateusz Kwasniewski
751c2fa902
feat: last project events ui polishing ( #8298 )
2024-09-30 11:18:25 +02:00
Melinda Fekete
1ea63a8a1f
Update UI text in Unleash welcome key concepts page ( #8238 )
2024-09-30 11:14:08 +02:00
Mateusz Kwasniewski
f000579d5b
feat: adjust search query for personal project ( #8296 )
2024-09-27 15:23:00 +02:00
Nuno Góis
81840ed574
fix: event timeline should unmount when hidden and be closed by default ( #8294 )
...
Fixes 2 bugs:
- The initial state of the event timeline should have `open: false`, not
`true` - Closed by default, unless opened
- The event timeline should unmount when hidden - It should not emit
requests when closed
2024-09-27 13:11:25 +01:00
Mateusz Kwasniewski
147984f9d5
feat: display basic list of project events ( #8291 )
2024-09-27 14:02:30 +02:00
Tymoteusz Czech
c502e99b85
feat(onboarding): Android snippet ( #8281 )
2024-09-27 12:02:12 +00:00
Jaanus Sellin
ee9f8c8836
fix: now only one onboarding screen will be shown at time ( #8290 )
...
Makes the button more clear.
Now both **onboarding** started and **onboarding finished** screens will
not be shown in the same time.
2024-09-27 14:58:03 +03:00
Jaanus Sellin
ed4c05d3c4
feat: add production snippets and resources ( #8286 )
...
Skipped .NET and Android because they are not ready. Also swift does not
support env variables, so skipped for now.
Added all rest.
2024-09-27 13:46:12 +03:00
Thomas Heartman
6655b2d961
feat: create page for when you have no projects ( #8285 )
...
This adds a front end fallback screen for when you have no projects.
![image](https://github.com/user-attachments/assets/1e6e0a63-968a-43cf-84ee-9a67d9f0ca91 )
2024-09-27 10:41:25 +02:00
Jaanus Sellin
b73c283e6c
feat: now code examples are joined into one ( #8284 )
...
Joined all examples into one copyable example.
Did not do following ones, because they are using templates and probably
will not work as joined.
1. React
2. Svelte
3. Vue
Also skipped, because those examples are not final yet.
1. .NET
2. Android
![image](https://github.com/user-attachments/assets/c8dabed4-21d0-4af9-900f-e77c5d069fe1 )
2024-09-27 10:28:12 +03:00
Nuno Góis
d161fb49ee
chore: implement event grouping in the event timeline ( #8254 )
...
https://linear.app/unleash/issue/2-2663/implement-event-grouping-when-multiple-events-happen-in-a-short-period
This PR introduces a grouping logic for timeline events, enhancing the
way events are displayed when they occur close to each other.
We also updated and refactored components to support handling groups of
events rather than individual events.
Also includes some minor code cleanups and optimizations as part of
general refactoring efforts (scouting).
![image](https://github.com/user-attachments/assets/eed74ddd-017c-430d-b919-3cb7e257052d )
---------
Co-authored-by: David Leek <david@getunleash.io>
2024-09-26 14:48:52 +01:00
Jaanus Sellin
86e7bbc85d
feat: after onboarding show success box with resources ( #8278 )
...
![image](https://github.com/user-attachments/assets/7e60ad54-c750-4e8a-8556-a1735a99a43e )
2024-09-26 15:40:14 +03:00
Mateusz Kwasniewski
409e0e74ba
feat: read projects from personal dashboard API ( #8279 )
2024-09-26 14:17:47 +02:00
Tymoteusz Czech
2292e2f6ca
feat(onboarding): Vue and Svelte snippets ( #8250 )
2024-09-26 15:06:30 +03:00
Thomas Heartman
e20ef56374
fix: trim name and description before validation ( #8275 )
...
This fixes a bug where you can input just whitespace for
name/description. It also means that you can no longer have both "my
role" and "my role " as separate roles.
API fix will follow.
2024-09-26 11:54:16 +00:00
Nuno Góis
eb01b44e69
test: skip vercel toolbar in e2e tests ( #8273 )
...
Some e2e Cypress tests were failing due to the Vercel live feedback
toolbar covering interactive elements, preventing test actions from
completing:
https://github.com/Unleash/unleash/actions/runs/11048512034/job/30692949711#step:4:136
This PR addresses the issue by disabling the Vercel toolbar specifically
during Cypress tests. This is done by setting the
`x-vercel-skip-toolbar` header, which Vercel provides to prevent the
toolbar from interfering with automated tests. You can find more
information about this feature in the Vercel documentation: [Disable
Toolbar for
Automation](https://vercel.com/docs/workflow-collaboration/vercel-toolbar/managing-toolbar#disable-toolbar-for-automation ).
Specific type declarations were needed due to
https://github.com/cypress-io/cypress/issues/19564
2024-09-26 12:53:31 +01:00
Thomas Heartman
d6f5280a98
feat: show user's roles and project owners ( #8253 )
...
This change shows the user's roles and project owners in the personal
dashboard.
2024-09-26 10:47:29 +00:00
Jaanus Sellin
4397af0df7
chore: move onboarding flow and dialog under same location ( #8272 )
...
It is mostly moving the onboarding folders under same directory for more
clear project structure.
2024-09-26 12:56:49 +03:00
Thomas Heartman
cf476f9e7d
chore: update orval for personal dashboards ( #8268 )
...
Updates orval for personal dashboards
2024-09-26 11:03:55 +02:00
Nuno Góis
3f80fdb090
fix: layout content width on large screens ( #8267 )
...
I believe the changes in https://github.com/Unleash/unleash/pull/8234 ,
more specifically [this
change](https://github.com/Unleash/unleash/pull/8234/files#diff-3a5e0763fe1effa9cd485763fecf0633ce8f0877c9d1971e6bd5c5abe7426364L64 ),
have caused the main layout content to no longer stretch to its maximum
relative width on larger screens.
This adjustment seems to resolve this issue, ensuring proper behavior on
larger screens without introducing any overflow issues on smaller
screens.
2024-09-26 09:51:15 +01:00
Jaanus Sellin
d0499dbf94
feat: sdk connected using production snippet ( #8266 )
...
1. Fix nodejs snippet
2. Tie the snippet to the completed stage.
3. Pull out the code renderer, to shared component
![image](https://github.com/user-attachments/assets/886c9502-4407-4aa7-8b63-84035f8cdb8a )
2024-09-26 11:39:05 +03:00
Jaanus Sellin
aca0de414e
feat: display new completed dialog ( #8255 )
...
1. Now the dialog will not close when SDK got connected
2. It will start to show the suggested production code. ( this will be
attached in next PR)
3. Also, it has connected indicator on the right
4. Back button is removed in this stage.
![image](https://github.com/user-attachments/assets/c7290e0f-8fa7-4382-a91d-7206e32d81ae )
---------
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2024-09-26 09:24:15 +03:00
Tymoteusz Czech
c7427f4b91
feat(onboarding): nodejs snippet for production ( #8256 )
2024-09-25 15:45:53 +02:00
Mateusz Kwasniewski
e680921517
test: reduce noise from test warnings ( #8251 )
2024-09-25 12:56:09 +02:00
Tymoteusz Czech
cdb1297246
feat(onboarding): Rust SDK snippet ( #8239 )
...
A bit different then other examples - only way to run current state of
Rust SDK is to have some kind of an opinionated setup around it.
2024-09-25 12:33:58 +02:00
Nuno Góis
a95c8d183f
chore: event timeline persistent state ( #8240 )
...
https://linear.app/unleash/issue/2-2700/persist-timeline-state-in-local-storage
Implements persistent state management for the event timeline using
local storage.
I believe this improves UX by persisting both the timeline toggle
(visibility) state and applied filters across page refreshes.
Includes some scouting/refactoring and some workarounds to prevent the
timeline from animating on page load (in most cases).
2024-09-25 11:20:27 +01:00
Mateusz Kwasniewski
a1a24ea0b1
feat: flag exposure in personal dashboard ( #8247 )
2024-09-25 11:11:30 +02:00
Mateusz Kwasniewski
957ef12ca3
fix: adjust welcome dialog size ( #8244 )
2024-09-25 09:11:53 +02:00
Mateusz Kwasniewski
e33f71a8f4
feat: highlighting flags chart ( #8237 )
2024-09-25 08:36:30 +02:00
renovate[bot]
f92f2d9327
chore(deps): update dependency @types/react to v18.3.7 ( #8242 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/react](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react )
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ))
| [`18.3.6` ->
`18.3.7`](https://renovatebot.com/diffs/npm/@types%2freact/18.3.6/18.3.7 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.3.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.3.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.3.6/18.3.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.3.6/18.3.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-24 22:08:55 +00:00
Tymoteusz Czech
bfe3af6dc2
fix: SDK snippets import ( #8235 )
2024-09-24 15:35:00 +02:00
Nuno Góis
5063e151ed
chore: event timeline header placement ( #8234 )
...
https://linear.app/unleash/issue/2-2662/make-the-event-timeline-available-globally-through-a-new-header-button
https://github.com/user-attachments/assets/bde38ee8-cdd8-409d-a95e-0c06189e3d9b
(In the video, you’ll notice a slight delay before new events show up.
This happens because the timeline automatically refreshes every 10
seconds)
Removes the event timeline from the event log and integrates it into a
new header option.
I chose a middle-ground approach between options 1 and 2 from our Figma
sketches. This solution provides the best of both worlds IMO: the
timeline stands out as a global component, distinct from the current
page context, while sliding in rather than overlapping the content. This
way, users can view the timeline alongside the page content.
2024-09-24 13:43:30 +01:00
Mateusz Kwasniewski
54432f3f31
feat: personal flag metrics display ( #8232 )
2024-09-24 13:47:21 +02:00
Tymoteusz Czech
d6dbdab6f1
feat(onboarding): sdk snippets in files ( #8233 )
...
Makes it easier to edit code snippets. Additionally, adds lazy loading
to reduce bundle size.
2024-09-24 13:37:32 +02:00
Jaanus Sellin
7e13e74a3e
feat: only show sdk button to specific roles ( #8231 )
...
This aligns it with our expectations we agreed on discovery meeting.
2024-09-24 12:43:22 +03:00
Jaanus Sellin
7b686ed318
chore: full js sdk example ( #8229 )
2024-09-24 10:47:14 +03:00
Nuno Góis
7a3a5ad33c
chore: event timeline tooltips ( #8205 )
...
https://linear.app/unleash/issue/2-2664/implement-event-tooltips
Implements event tooltips in the new event timeline.
This leverages our current `feature-event-formatter-md` to provide both
a label and a summary of the event. Whenever our new `eventTimeline`
flag is enabled, we enrich our events in our event search endpoint with
this information. We've discussed different options here and reached the
conclusion that this is the best path forward for now. This way we are
being consistent, DRY, relatively performant and it also gives us a
happy path forward if we decide to scope in the event log revamp, since
this data will already be present there.
We also added a new `label` property to each of our event types
currently in our event formatter. This way we can have a concise,
human-readable name for each event type, instead of exposing the
internal event type string.
~~We also fixed the way the event formatter handled bold text (as in,
**bold**). Before, it was wrapping them in *single asterisks*, but now
we're using **double asterisks**. We also abstracted this away into a
helper method aptly named `bold`. Of course, this change meant that a
bunch of snapshots and tests needed to be updated.~~
~~This new `bold` method also makes it super easy to revert this
decision if we choose to, for any reason. However I believe we should
stick with markdown formatting, since it is the most commonly supported
formatting syntax, so I see this as an important fix. It's also in the
name of the formatter (`md`). I also believe bold was the original
intent. If we want italic formatting we should implement it separately
at a later point.~~
Edit: It was _bold_ of me to assume this would work out of the box on
Slack. It does when you manually try it on the app, but not when using
the Slack client. See: https://github.com/Unleash/unleash/pull/8222
![image](https://github.com/user-attachments/assets/31eb6296-5d4b-4400-8db0-5eb7437dd2ff )
![image](https://github.com/user-attachments/assets/ac177415-78da-4c4b-864b-0c7a1668f6b5 )
2024-09-24 08:45:08 +01:00
Jaanus Sellin
272052c59b
feat: complete java example ( #8227 )
2024-09-24 09:55:54 +03:00
Mateusz Kwasniewski
fee2143edf
feat: Personal flags UI component ( #8221 )
2024-09-24 08:42:49 +02:00
renovate[bot]
4e8d9a2319
chore(deps): update dependency msw to v2.4.8 ( #8225 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [msw](https://mswjs.io )
([source](https://redirect.github.com/mswjs/msw )) | [`2.4.7` ->
`2.4.8`](https://renovatebot.com/diffs/npm/msw/2.4.7/2.4.8 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/msw/2.4.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/msw/2.4.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/msw/2.4.7/2.4.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/msw/2.4.7/2.4.8?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>mswjs/msw (msw)</summary>
###
[`v2.4.8`](https://redirect.github.com/mswjs/msw/releases/tag/v2.4.8 )
[Compare
Source](https://redirect.github.com/mswjs/msw/compare/v2.4.7...v2.4.8 )
#### v2.4.8 (2024-09-17)
##### Bug Fixes
- address `express` and `path-to-regexp` vulnerabilities
([#​2285](https://redirect.github.com/mswjs/msw/issues/2285 ))
([`e3487bc`](e3487bc425
))
[@​markmssd](https://redirect.github.com/markmssd )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-24 02:02:52 +00:00
renovate[bot]
d6504ba6ca
chore(deps): update dependency @types/react to v18.3.6 ( #8223 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/react](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react )
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ))
| [`18.3.5` ->
`18.3.6`](https://renovatebot.com/diffs/npm/@types%2freact/18.3.5/18.3.6 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.3.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.3.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.3.5/18.3.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.3.5/18.3.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 18:30:58 +00:00
Mateusz Kwasniewski
3ef5d06f00
chore: orval gen ( #8220 )
2024-09-23 16:41:55 +02:00
Thomas Heartman
27c977dcf7
display setup complete message when project is onboarded ( #8217 )
...
This PR adds the new `ProjectSetupComplete` component (the name can be
changed) that we display when a project has been set up with a flag and
a connected SDK.
It uses the project overview to check the project's onboarding status.
![image](https://github.com/user-attachments/assets/9e7c5986-46ee-4aa1-9c35-a921f3402468 )
2024-09-23 14:23:22 +02:00
gitar-bot[bot]
5dd0fb9f44
[Gitar] Cleaning up stale flag: projectListImprovements with value true ( #8212 )
...
Co-authored-by: Gitar <noreply@gitar.co>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2024-09-23 13:07:59 +02:00
Jaanus Sellin
9f5e909436
feat: onboarding can be now closed ( #8215 )
...
The boxes were merged and now the whole thing can be closed.
![image](https://github.com/user-attachments/assets/45ec680f-64df-4877-92cb-33fef506f0ad )
2024-09-23 13:52:00 +03:00
Mateusz Kwasniewski
f45b7a07b4
fix: onboarding img asset path ( #8213 )
2024-09-23 12:28:38 +02:00
Jaanus Sellin
553e04994e
fix: now onboarding will show up in correct times ( #8214 )
...
Feature table was not appearing, when onboarding flag was off.
2024-09-23 12:57:47 +03:00
gitar-bot[bot]
1296327c03
[Gitar] Cleaning up stale flag: archiveProjects with value true ( #8201 )
2024-09-23 11:51:55 +02:00
renovate[bot]
b3ecb92edf
chore(deps): update dependency msw to v2.4.7 ( #8210 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [msw](https://mswjs.io )
([source](https://redirect.github.com/mswjs/msw )) | [`2.4.6` ->
`2.4.7`](https://renovatebot.com/diffs/npm/msw/2.4.6/2.4.7 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/msw/2.4.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/msw/2.4.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/msw/2.4.6/2.4.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/msw/2.4.6/2.4.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>mswjs/msw (msw)</summary>
###
[`v2.4.7`](https://redirect.github.com/mswjs/msw/releases/tag/v2.4.7 )
[Compare
Source](https://redirect.github.com/mswjs/msw/compare/v2.4.6...v2.4.7 )
#### v2.4.7 (2024-09-15)
##### Bug Fixes
- **ClientRequest:** prevent duplicates when recording set headers
([#​2284](https://redirect.github.com/mswjs/msw/issues/2284 ))
([`e04eb8f`](e04eb8f44f
))
[@​kettanaito](https://redirect.github.com/kettanaito )
- use `Object.defineProperty` for Headers proxy
([#​2283](https://redirect.github.com/mswjs/msw/issues/2283 ))
([`94e17be`](94e17beea4
))
[@​kettanaito](https://redirect.github.com/kettanaito )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 00:33:06 +00:00
renovate[bot]
a12b499dc6
chore(deps): update dependency tss-react to v4.9.13 ( #8208 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [tss-react](https://www.tss-react.dev )
([source](https://redirect.github.com/garronej/tss-react )) | [`4.9.12`
-> `4.9.13`](https://renovatebot.com/diffs/npm/tss-react/4.9.12/4.9.13 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/tss-react/4.9.13?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tss-react/4.9.13?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tss-react/4.9.12/4.9.13?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tss-react/4.9.12/4.9.13?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>garronej/tss-react (tss-react)</summary>
###
[`v4.9.13`](https://redirect.github.com/garronej/tss-react/releases/tag/v4.9.13 )
[Compare
Source](https://redirect.github.com/garronej/tss-react/compare/v4.9.12...v4.9.13 )
<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->
**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.9.12...v4.9.13
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-20 21:12:33 +00:00
renovate[bot]
541ab2a0d3
chore(deps): update dependency msw to v2.4.6 ( #8207 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [msw](https://mswjs.io )
([source](https://redirect.github.com/mswjs/msw )) | [`2.4.5` ->
`2.4.6`](https://renovatebot.com/diffs/npm/msw/2.4.5/2.4.6 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/msw/2.4.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/msw/2.4.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/msw/2.4.5/2.4.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/msw/2.4.5/2.4.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>mswjs/msw (msw)</summary>
###
[`v2.4.6`](https://redirect.github.com/mswjs/msw/releases/tag/v2.4.6 )
[Compare
Source](https://redirect.github.com/mswjs/msw/compare/v2.4.5...v2.4.6 )
#### v2.4.6 (2024-09-13)
##### Bug Fixes
- **xhr:** clone request body before calculating its size
([#​2282](https://redirect.github.com/mswjs/msw/issues/2282 ))
([`397444b`](397444bcc3
))
[@​kettanaito](https://redirect.github.com/kettanaito )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-20 20:19:52 +00:00
Mateusz Kwasniewski
375395bba7
feat: welcome dialog with unleash concepts ( #8199 )
2024-09-20 15:53:03 +02:00
gitar-bot[bot]
bb32336408
[Gitar] Cleaning up stale flag: newEventSearch with value true ( #8196 )
...
[![Gitar](https://raw.githubusercontent.com/gitarcode/.github/main/assets/gitar-banner.svg )](https://gitar.co )
---
This automated PR was generated by [Gitar](https://gitar.co ). View
[docs](https://gitar.co/docs ).
---------
Co-authored-by: Gitar <noreply@gitar.co>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-20 14:48:33 +03:00
Jaanus Sellin
ebcdd67db0
feat: onboarding flow will not break ( #8198 )
...
1. Now onboarding flow will not break when feature is created
2. Now the bottom table will appear as soon as first feature appears
3. ExistingFlag component was reworked to match the new UX
![image](https://github.com/user-attachments/assets/2022f4ad-246c-47f9-927f-726f72da5e97 )
2024-09-20 14:31:11 +03:00
Mateusz Kwasniewski
87b997698b
feat: placeholder flag metrics chart ( #8197 )
2024-09-20 11:05:53 +02:00
Melinda Fekete
0587203ad6
chore: update project onboarding UI text ( #8189 )
2024-09-20 10:30:33 +02:00
renovate[bot]
569ad42e1b
chore(deps): update dependency msw to v2.4.5 ( #8194 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [msw](https://mswjs.io )
([source](https://redirect.github.com/mswjs/msw )) | [`2.4.4` ->
`2.4.5`](https://renovatebot.com/diffs/npm/msw/2.4.4/2.4.5 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/msw/2.4.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/msw/2.4.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/msw/2.4.4/2.4.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/msw/2.4.4/2.4.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>mswjs/msw (msw)</summary>
###
[`v2.4.5`](https://redirect.github.com/mswjs/msw/releases/tag/v2.4.5 )
[Compare
Source](https://redirect.github.com/mswjs/msw/compare/v2.4.4...v2.4.5 )
##### v2.4.5 (2024-09-11)
##### Bug Fixes
- remove cookies with `max-age=0` from cookie store
([#​2275](https://redirect.github.com/mswjs/msw/issues/2275 ))
([`c307ab2`](c307ab2764
))
[@​kettanaito](https://redirect.github.com/kettanaito )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 21:52:03 +00:00
renovate[bot]
8871e8ebde
chore(deps): update dependency @types/jest to v29.5.13 ( #8193 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/jest](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest )
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ))
| [`29.5.12` ->
`29.5.13`](https://renovatebot.com/diffs/npm/@types%2fjest/29.5.12/29.5.13 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fjest/29.5.13?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fjest/29.5.13?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fjest/29.5.12/29.5.13?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fjest/29.5.12/29.5.13?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 18:22:03 +00:00
Mateusz Kwasniewski
10ec2e7de5
feat: personal dashboard connect sdk ( #8190 )
2024-09-19 17:01:33 +02:00
Mateusz Kwasniewski
f66854a0f0
feat: personal dashboard project selection ( #8188 )
2024-09-19 15:25:11 +02:00
Jaanus Sellin
95969456f6
chore: finalize python sdk example ( #8186 )
...
Fix Python example and add isEnabled example.
2024-09-19 15:03:03 +03:00
Nuno Góis
205b59ddee
chore: event timeline ( #8176 )
...
https://linear.app/unleash/issue/2-2657/implement-a-first-iteration-of-an-horizontal-event-timeline
This implements the very first iteration of our event timeline.
This is behind a feature flag, which when enabled shows the new timeline
at the top of our event log page.
It is missing some features, like:
- Placement: It should show up as an option in the header, not in the
event log;
- Tooltip: It should show proper tooltips for all the events that we're
displaying;
- Grouping: It should group together events that occurred in a short
span of time;
- Signals: It should show signals along with the events;
Here's how it currently looks like, with some example events, in order
from left to right:
- A flag was disabled more than 30 min ago;
- A flag was then enabled;
- A segment was updated (didn't have an icon for segments, so I picked
one);
- A strategy was updated;
- A flag was created;
![image](https://github.com/user-attachments/assets/1716d8c0-e491-47cc-895b-e02d019c9e80 )
![image](https://github.com/user-attachments/assets/a1b5c6b9-86d6-43f7-8a36-5661625e41d6 )
(Time passed since I took the first screenshot, so you can see the
events "moved" to the left slightly in the dark theme screenshot)
I have some concerns about the low contrast of `neutral` variant events,
especially in dark mode. Maybe we should consider using `error` instead,
for red? Or maybe add a border to our event circles?
I specifically changed my environment to be "development" for the
screenshots. The default selection is the first enabled environment that
is `type=production`, which in my case is "production".
Here are our filters:
- Time Span
![image](https://github.com/user-attachments/assets/b0649d7b-c6c2-482f-918f-b35b23184578 )
- Environment
![image](https://github.com/user-attachments/assets/33c788d6-9d76-4afd-b921-3c81eda4e1c5 )
Here are a few more screenshots, with the different time spans (zooming
out, since we're increasing the time span):
![image](https://github.com/user-attachments/assets/16003a67-039e-43ad-a4db-617f96ec5650 )
![image](https://github.com/user-attachments/assets/6d50b53f-1fc0-4e07-96a6-6843629ecb2d )
![image](https://github.com/user-attachments/assets/e6cc6b10-ff02-44db-82d5-346fba8eb681 )
![image](https://github.com/user-attachments/assets/1181b8d7-a951-4e5a-aa5b-bd9fdbd16a7a )
![image](https://github.com/user-attachments/assets/7a43c5a0-c51c-4861-952a-2c09968263d6 )
![image](https://github.com/user-attachments/assets/5bfda117-5524-435b-b0d1-a8b1bd446a36 )
Again, when zooming out, some events should be grouped together, but
that's a task for later.
2024-09-19 12:14:10 +01:00
Mateusz Kwasniewski
70e95e66a8
feat: my projects ui stub ( #8185 )
2024-09-19 12:37:35 +02:00
Mateusz Kwasniewski
8e037a335f
feat: personal dashboard route ( #8173 )
2024-09-19 09:59:07 +02:00
Mateusz Kwasniewski
d5076f0772
fix: archive project curl ( #8181 )
2024-09-19 09:58:31 +02:00
Mateusz Kwasniewski
7274f4954a
fix: connect sdk description bg color ( #8171 )
2024-09-18 14:08:31 +02:00