Thomas Heartman
a55a956772
1-3120: remove project connected environments ( #8775 )
...
Remove everything related to the connected environment count for project
status. We decided that because we don't have anywhere to link it to at
the moment, we don't want to show it yet.
2024-11-18 12:01:25 +01:00
Thomas Heartman
fb9c754008
feat: combine health and status widgets ( #8782 )
...
This PR combines the health and status widgets into a single widget. It
adds a new row with information on your unhealthy flags.
The stat prettifies large numbers to avoid overflows for very large
numbers. To keep it in line with the SVG, I've extracted some of the
constants so we can share them for size calculation.
![image](https://github.com/user-attachments/assets/0b66b6ba-b88c-412e-838f-bd5e7867cdc3 )
When it folds, it uses the "space-around" algorithm to make the two
stats occupy their own positions:
![image](https://github.com/user-attachments/assets/eb3a4f0e-31fa-4895-ba12-c6f910112204 )
The number uses a custom background color in dark mode because elevation
1 and 2 are the same there:
![image](https://github.com/user-attachments/assets/fa405c33-f38a-4fea-bf20-e1d9bf21bb1c )
2024-11-18 12:01:08 +01:00
dependabot[bot]
e712a65dff
chore(deps): bump cross-spawn from 7.0.3 to 7.0.5 in /frontend ( #8779 )
2024-11-18 11:28:25 +01:00
David Leek
0ce976a0d5
feat: implement call to add release-plan to feature environment ( #8778 )
2024-11-18 09:30:29 +01:00
Tymoteusz Czech
6d4e2e991f
fix: device count flag without variant ( #8773 )
2024-11-15 13:05:50 +01:00
Tymoteusz Czech
9d5fceb5bf
feat: show users with multiple parallel sessions ( #8756 )
2024-11-15 10:34:38 +00:00
Thomas Heartman
f89bc33645
1-3125: Update project navigation for the simplified view ( #8770 )
...
The changes are:
- Change "Flags" to "Overview"
- Also hide "Insights" and "Health"
- Change "Project settings" to "Settings"
2024-11-15 09:56:41 +00:00
Thomas Heartman
046573174b
fix(a11y): Fix keyboard navigation issues with sidebar ( #8769 )
...
This PR fixes a number of keyboard accessibility issues with the
feedback sidebar. They are (in no particular order):
1. The radio inputs don't have a focus style for `focus-visible` (when
keyboard focused).
2. There's two close buttons there for some reason? One is invisible,
but you can tab to it?
3. The sidebar doesn't trap focus, so you can tab out of the modal and
continue tabbing through the main page (with the modal still open)
4. The sidebar doesn't steal focus. When you open it, your focus remains
on the button you used to open it. So if you want to navigate to it, you
have to go through the entire page (behind the modal) to get to it.
5. The sidebar can't be closed by 'escape'.
The fixes are:
1. Apply the same styles when focus visible as when hover
2. Wrap the component in the `BaseModal` component
3. Wrap the component in the `BaseModal` component
4. Wrap the component in the `BaseModal` component
5. Wrap the component in the `BaseModal` component
(see a theme here?)
Additionally, because the base modal has its own `open` state, I removed
the wrapping conditionally render, reducing nesting by one stop. Most of
the changes in the file are just whitespace changes.
![image](https://github.com/user-attachments/assets/28832756-cfb3-4ced-8b8c-a344edced036 )
I considered also applying an auto-focus to the first input in the
sidebar, but our linter doesn't like it. Additionally MDN lists the
following [accessibility
concerns](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus#accessibility_concerns )
> Automatically focusing a form control can confuse visually-impaired
people using screen-reading technology and people with cognitive
impairments. When autofocus is assigned, screen-readers "teleport" their
user to the form control without warning them beforehand.
>
> Use careful consideration for accessibility when applying the
autofocus attribute. Automatically focusing on a control can cause the
page to scroll on load. The focus can also cause dynamic keyboards to
display on some touch devices. While a screen reader will announce the
label of the form control receiving focus, the screen reader will not
announce anything before the label, and the sighted user on a small
device will equally miss the context created by the preceding content.
So I'll leave it off.
2024-11-15 10:24:53 +01:00
Thomas Heartman
b4d19862d7
1-3122: refetch CR notifs on actions ( #8767 )
...
Refetch actionable change requests whenever you perform an action on a
change request. This ensures that the change request notifications are
up-to-date for you. Of course, it can still get out of sync if someone
else performs an action on the change request, but that's more of an
edge case.
2024-11-15 10:02:36 +01:00
Mateusz Kwasniewski
b3437b8c34
feat: Max sessions limit ( #8765 )
2024-11-15 09:57:17 +01:00
Thomas Heartman
5d36862ddb
feat: add project status feedback ( #8764 )
...
This PR adds the feedback component to the project status page. When you
open the feedback modal, we close the status sidebar. Exiting the
feedback modal takes you back to the project page.
As a bonus: fixes the background color of the health grid, which was a
little bit off.
![image](https://github.com/user-attachments/assets/6e7e61cb-75f4-44ac-9efd-632b40ccab51 )
![image](https://github.com/user-attachments/assets/6e049719-cff3-4b85-8f02-e0174b515ab2 )
2024-11-15 10:51:00 +02:00
Nuno Góis
6db6cc2bd6
refactor: remove unused component UserSeats ( #8757 )
...
https://linear.app/unleash/issue/2-2974/remove-unused-component-userseats
Removes the unused component `UserSeats`.
2024-11-15 08:45:32 +00:00
Mateusz Kwasniewski
5a2663a451
test: session deleted toast ( #8754 )
2024-11-15 09:31:42 +01:00
Thomas Heartman
2014d367f8
1-3073: close sidebar when you click a link within it ( #8763 )
...
This change makes it so that the project status sidebar will close
when you follow a link within it. We do that by using JS event
bubbling and attaching a handler on the modal parent. We can listen
for events and check whether the target is an anchor and, if so, close
the modal.
2024-11-15 07:36:22 +00:00
Jaanus Sellin
1af204e0f0
feat: now pay as you go billing banner has link ( #8761 )
...
My intuition wanted to click on it to start paying, but it did not work.
Changed condition to show it for pay as you go.
![image](https://github.com/user-attachments/assets/d14ad947-ce4a-48cb-8bbd-c1d6dfb84a0a )
2024-11-15 09:26:49 +02:00
Thomas Heartman
c9b674f7ab
fix: Project Status UI fixes ( #8762 )
...
This PR fixes a few small UI issues reported by UX. It:
- Adds hover colors to the lifecycle boxes
- Adjusts the font size for the health widget to match project resources
and lifecycle
- Makes the `view health over time tooltip` take you to the insights
page with the current project preselected
![image](https://github.com/user-attachments/assets/f672a577-1b01-4d45-98da-d5c367c9a0bc )
2024-11-15 07:16:09 +00:00
renovate[bot]
efd1cce90d
chore(deps): update dependency react-dropzone to v14.3.5 ( #8759 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[react-dropzone](https://redirect.github.com/react-dropzone/react-dropzone )
| [`14.2.10` ->
`14.3.5`](https://renovatebot.com/diffs/npm/react-dropzone/14.2.10/14.3.5 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-dropzone/14.3.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-dropzone/14.3.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-dropzone/14.2.10/14.3.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-dropzone/14.2.10/14.3.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>react-dropzone/react-dropzone (react-dropzone)</summary>
###
[`v14.3.5`](https://redirect.github.com/react-dropzone/react-dropzone/releases/tag/v14.3.5 )
[Compare
Source](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.3.4...v14.3.5 )
##### Bug Fixes
- fix wrong file type msg ux and close
[#​1221](https://redirect.github.com/react-dropzone/react-dropzone/issues/1221 )
([4ca683b](4ca683b9ed
))
###
[`v14.3.4`](https://redirect.github.com/react-dropzone/react-dropzone/releases/tag/v14.3.4 )
[Compare
Source](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.3.3...v14.3.4 )
##### Bug Fixes
- set {isDragRejected} on drop and close
[#​1238](https://redirect.github.com/react-dropzone/react-dropzone/issues/1238 )
([589d01e](589d01ec00
))
###
[`v14.3.3`](https://redirect.github.com/react-dropzone/react-dropzone/releases/tag/v14.3.3 )
[Compare
Source](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.3.2...v14.3.3 )
##### Bug Fixes
- visually hide the input and close
[#​1268](https://redirect.github.com/react-dropzone/react-dropzone/issues/1268 )
([edeef15](edeef159c4
))
###
[`v14.3.2`](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.3.1...e35de09e0a8f4d492d02c7c1566cb9d89880bc77 )
[Compare
Source](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.3.1...v14.3.2 )
###
[`v14.3.1`](4288d8e3c3...72c6c34866
)
[Compare
Source](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.3.0...v14.3.1 )
###
[`v14.3.0`](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.2.10...4288d8e3c3e811e8ed4303b696adc7cb951455b1 )
[Compare
Source](https://redirect.github.com/react-dropzone/react-dropzone/compare/v14.2.10...v14.3.0 )
</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 is behind base branch, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 22:15:12 +00:00
renovate[bot]
0cbdc1439c
chore(deps): update dependency msw to v2.6.2 ( #8758 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [msw](https://mswjs.io )
([source](https://redirect.github.com/mswjs/msw )) | [`2.5.1` ->
`2.6.2`](https://renovatebot.com/diffs/npm/msw/2.5.1/2.6.2 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/msw/2.6.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/msw/2.6.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/msw/2.5.1/2.6.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/msw/2.5.1/2.6.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>mswjs/msw (msw)</summary>
###
[`v2.6.2`](https://redirect.github.com/mswjs/msw/releases/tag/v2.6.2 )
[Compare
Source](https://redirect.github.com/mswjs/msw/compare/v2.6.1...v2.6.2 )
##### v2.6.2 (2024-11-07)
##### Bug Fixes
- update `@bundled-es-modules/cookie` to 2.0.1
([#​2312](https://redirect.github.com/mswjs/msw/issues/2312 ))
([`c134352`](c134352e82
))
[@​kettanaito](https://redirect.github.com/kettanaito )
###
[`v2.6.1`](https://redirect.github.com/mswjs/msw/releases/tag/v2.6.1 )
[Compare
Source](https://redirect.github.com/mswjs/msw/compare/v2.6.0...v2.6.1 )
##### v2.6.1 (2024-11-06)
##### Bug Fixes
- prevent `instanceof` handler check failures between different MSW
versions
([#​2349](https://redirect.github.com/mswjs/msw/issues/2349 ))
([`28d26bd`](28d26bd7fa
))
[@​kettanaito](https://redirect.github.com/kettanaito )
###
[`v2.6.0`](https://redirect.github.com/mswjs/msw/releases/tag/v2.6.0 )
[Compare
Source](https://redirect.github.com/mswjs/msw/compare/v2.5.2...v2.6.0 )
#### v2.6.0 (2024-10-29)
##### Features
- support mocking WebSocket APIs
([#​2011](https://redirect.github.com/mswjs/msw/issues/2011 ))
([`ae786f5`](ae786f59eb
))
[@​kettanaito](https://redirect.github.com/kettanaito )
[@​DanielleHuisman](https://redirect.github.com/DanielleHuisman )
###
[`v2.5.2`](https://redirect.github.com/mswjs/msw/releases/tag/v2.5.2 )
[Compare
Source](https://redirect.github.com/mswjs/msw/compare/v2.5.1...v2.5.2 )
#### v2.5.2 (2024-10-27)
##### Bug Fixes
- enable provenance for publishing
([#​2334](https://redirect.github.com/mswjs/msw/issues/2334 ))
([`e9b0636`](e9b0636c2c
))
[@​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 is behind base branch, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 18:23:00 +00:00
Thomas Heartman
7e96033c4a
3111-1: Wires up stale data from the API ( #8752 )
...
Builds on the backend code added in
https://github.com/Unleash/unleash/pull/8751
This wires up the front end to use the data returned from the API
2024-11-14 14:23:05 +00:00
Thomas Heartman
5d32d149cd
feat: add stale flag count to project status payload ( #8751 )
...
This PR adds stale flag count to the project status payload. This is
useful for the project status page to show the number of stale flags in
the project.
2024-11-14 14:10:10 +00:00
Thomas Heartman
b4e2d5d270
Add close button, fix layout, refactor ( #8755 )
...
This PR consists of cleanup for the project status modal as well as
adding the missing button.
I've added inline comments to explain the different steps.
It now looks like this:
![image](https://github.com/user-attachments/assets/29a3c0b7-770c-4019-aaed-b363c5804138 )
2024-11-14 15:00:32 +01:00
Nuno Góis
395a4b6be3
chore: PAYG billing ( #8743 )
...
https://linear.app/unleash/issue/CTO-95/unleash-billing-page-for-enterprise-payg
Adds support for PAYG in Unleash's billing page.
Includes some refactoring, like splitting Pro and PAYG into different
details components. We're now also relying on shared billing-related
constants (see `BillingPlan.tsx`). This should make it much easier to
change any of these values in the future. I already changed a few that
were static / wrongly relying on instanceStatus.seats (we decided we're
not doing that for now).
![image](https://github.com/user-attachments/assets/97a5a420-a4f6-4b6c-93d6-3fffddbacbc7 )
2024-11-14 11:29:05 +00:00
Tymoteusz Czech
3699646680
Restore additional feedback page ( #8750 )
...
Partial revert of 656483d819
Reuse search feedback.
2024-11-14 12:01:45 +02:00
Mateusz Kwasniewski
4fabf49706
feat: show deleted user sessions ( #8749 )
2024-11-14 10:30:31 +01:00
Thomas Heartman
9440b52464
feat: Add stale flags counter ( #8741 )
...
This PR adds the stale flag component to the health grid. In doing so,
it also reworks the layout of the health row (now a grid) and updates
the health component.
In addition to removing the text from the component, I have adjust the
SVG a bit to make it not shrink on smaller screens and have adjusted
it's spacing, so that it's not full of dead space at the bottom. This
makes it easier to style because it doesn't add 15px of invisible
content.
This PR also touches up a few other visual issues I found, such as
header level and sidebar width.
Wide:
![image](https://github.com/user-attachments/assets/acb57b17-eb7f-4b69-9bfa-1113bb748467 )
Medium:
![image](https://github.com/user-attachments/assets/a57331b0-825f-4b20-9b05-3ecd81804f5d )
Narrow:
![image](https://github.com/user-attachments/assets/65c6e8d1-1783-4354-b71b-2867eabcc9ec )
2024-11-14 08:55:21 +00:00
Tymoteusz Czech
fecf57c467
fix: send UI error tracking ( #8725 )
...
Put error boundary inside of stats provider.
2024-11-13 16:13:05 +01:00
Thomas Heartman
088eaedbc3
feat: add tooltips to lifecycle boxes ( #8739 )
...
This pr adds tooltips to lifecycle boxes when they're hovered or
focused. There's also some small copy tweaks.
We decided to go with tooltips instead of buttons for this iteration
because it'd be an easier thing to implement, especially in regards to
keyboard navigation and avoiding overlapping other elements.
I've also not changed the background color of the tooltips just yet.
There's two reasons for this:
1. The practical reason is that our `HtmlTooltipComponent` doesn't allow
you to do that and I didn't wanna start messing about with that.
2. If all our other tooltips follow this color scheme, why not do the
same here? Especially because they're not buttons anymore, so using the
same color as other tooltips seems sensible.
![image](https://github.com/user-attachments/assets/2e0ebf26-6809-4952-87db-9b7d2838eed7 )
2024-11-13 14:52:43 +01:00
Thomas Heartman
bc7511abd4
chore: prepare for lifecycle comments ( #8733 )
...
This PR is a preparation for adding lifecycle comments. It turns the
Lifecycle boxes into buttons, using MUI's
[`CardActionArea`](https://mui.com/material-ui/api/card-action-area/ )
component, and allows you to select one at a time.
I'm not convinced about the a11y of this approach, but it appears to be
in line with what MUI suggests, so ...
I'll add the speech bubbles in a follow-up.
<img width="1059" alt="image"
src="https://github.com/user-attachments/assets/ad3f649f-10de-4418-a780-10321e90d001 ">
2024-11-13 12:02:33 +00:00
David Leek
cb316f012c
feat: frontend initial page for creating release templates ( #8732 )
2024-11-13 11:03:19 +01:00
Jaanus Sellin
b6f573c6b9
feat: coloring of health chart ( #8731 )
...
1. Now properly color the chart based on 0-25,25-75,75-100 thresholds.
2. Fix spacing
3. Fix wrong svg implementation
![image](https://github.com/user-attachments/assets/1bd2f565-3156-4b09-896c-e126335d182c )
2024-11-13 11:49:16 +02:00
Thomas Heartman
b87c47d7c4
1-3083: add remaining lifecycle header + tooltip ( #8722 )
...
This PR adds a header and a tooltip to the lifecycle widget. Most of the
changes in ProjectLifecycleSummary is indentation changes due to
wrapping the component in another row container.
Additionally, this PR touches the `HelpIcon` component because we'd like
the tooltip to be wider than what we currently set as the default for
the help icon. The help icon uses the html tooltip component, which has
a maxWidth prop, but it does not expose that. So I've adjusted it to let
you do that.
Header with tooltip:
![image](https://github.com/user-attachments/assets/6ae1984b-256b-4f09-8fa2-b86ac2c17558 )
2024-11-13 10:16:35 +01:00
David Leek
7feba0c4d4
feat: edit release plan template ( #8723 )
2024-11-13 09:37:47 +01:00
renovate[bot]
584be706ec
chore(deps): update dependency sass to v1.80.6 ( #8729 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sass](https://redirect.github.com/sass/dart-sass ) | [`1.80.4` ->
`1.80.6`](https://renovatebot.com/diffs/npm/sass/1.80.4/1.80.6 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/sass/1.80.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass/1.80.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass/1.80.4/1.80.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass/1.80.4/1.80.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>sass/dart-sass (sass)</summary>
###
[`v1.80.6`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1806 )
[Compare
Source](https://redirect.github.com/sass/dart-sass/compare/1.80.5...1.80.6 )
##### Command-Line Interface
- Make `@parcel/watcher` an optional dependency so this can still be
installed
on operating systems where it's unavailable.
###
[`v1.80.5`](https://redirect.github.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1805 )
[Compare
Source](https://redirect.github.com/sass/dart-sass/compare/1.80.4...1.80.5 )
##### Embedded Host
- Don't produce phantom `@import` deprecations when using an importer
with the
legacy API.
</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 is behind base branch, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS45LjUiLCJ1cGRhdGVkSW5WZXIiOiIzOS45LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 02:12:15 +00:00
renovate[bot]
9126e0a26f
chore(deps): update dependency cypress to v13.15.2 ( #8728 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [cypress](https://cypress.io )
([source](https://redirect.github.com/cypress-io/cypress )) | [`13.15.1`
-> `13.15.2`](https://renovatebot.com/diffs/npm/cypress/13.15.1/13.15.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/cypress/13.15.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress/13.15.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress/13.15.1/13.15.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress/13.15.1/13.15.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>cypress-io/cypress (cypress)</summary>
###
[`v13.15.2`](https://redirect.github.com/cypress-io/cypress/releases/tag/v13.15.2 )
[Compare
Source](https://redirect.github.com/cypress-io/cypress/compare/v13.15.1...v13.15.2 )
Changelog: https://docs.cypress.io/guides/references/changelog#13-15-2
</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 is behind base branch, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS45LjUiLCJ1cGRhdGVkSW5WZXIiOiIzOS45LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 23:26:19 +00:00
renovate[bot]
34ce66ba63
chore(deps): update dependency @types/node to v20.17.6 ( #8727 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node )
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ))
| [`20.17.1` ->
`20.17.6`](https://renovatebot.com/diffs/npm/@types%2fnode/20.17.1/20.17.6 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.17.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.17.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.17.1/20.17.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.17.1/20.17.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 is behind base branch, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS45LjUiLCJ1cGRhdGVkSW5WZXIiOiIzOS45LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 19:37:17 +00:00
Thomas Heartman
20c5a6f7ce
1-3095: small UI tweaks sidebar boxes ( #8721 )
...
This PR fixes three minor UI issues:
1. The modal is too wide. Turns out that `SidebarModal` has a fixed
width of 1300. `DynamicSidebarModal` does not, so that switch makes it
much leaner.
2. The lifecycle boxes should grow in width to fill whatever space they
have available.
3. If you have 1 flag in any of the stages, we should say "1 flag"
instead of "1 flags".
Sidebar before:
![image](https://github.com/user-attachments/assets/d33d82ca-e04b-416d-b731-9a37f8df3b08 )
Sidebar after:
![image](https://github.com/user-attachments/assets/060be979-484a-4481-8781-d171b4211b45 )
The lifecycle boxes at their very widest:
![image](https://github.com/user-attachments/assets/817e437f-a0ee-4a85-9018-16ff84cb3819 )
2024-11-12 14:31:23 +01:00
Thomas Heartman
42198cee83
chore: handle edge cases ( #8719 )
...
Handle a couple edge cases related to project lifecycle metrics:
1. If the average time spent was less than a day, we'd show "0 days".
Now we show "less than a day" instead.
2. If the number of flags grows very large, it'd start pushing out the
lifecycle icon. Instead, we now format in nicely.
Before:
![image](https://github.com/user-attachments/assets/a43cf021-7eb0-4edf-ab21-b379c1600299 )
![image](https://github.com/user-attachments/assets/6243167a-cb43-4de5-a64c-a5231477d1b6 )
After:
![image](https://github.com/user-attachments/assets/3efa630d-708d-4238-a4aa-09cdbbe459c1 )
![image](https://github.com/user-attachments/assets/aa773ab8-7719-47f3-a684-18bec829da35 )
2024-11-12 12:16:33 +01:00
Thomas Heartman
3bc9fe9a9a
[wip] add data to ui ( #8710 )
...
Hooks up the project status lifecycle data to the UI. Adds some minor
refactoring as part of that effort.
## Other files
There's been some small changes to
`frontend/src/component/feature/FeatureView/FeatureOverview/FeatureLifecycle/FeatureLifecycleStageIcon.tsx`
and `frontend/src/hooks/useLoading.ts` as well to accommodate their
usage here and to remove unused stuff. The inline comments mention the
same thing but for posterity (especially after this is merged), the
comments are:
For
`frontend/src/component/feature/FeatureView/FeatureOverview/FeatureLifecycle/FeatureLifecycleStageIcon.tsx`:
> The icon only needs the name to pick.
https://github.com/Unleash/unleash/pull/7049 deliberately changed the
logic so that the completed stage gets the same icon regardless of its
status. As such, to make the icon easier to use other places (such as in
the lifecycle widget), we'll only require the name.
For `frontend/src/hooks/useLoading.ts`:
> There's no reason we should only be able to put refs on divs, as far
as I'm aware. TS was complaining that that a `ul` couldn't hold a div
reference, so I gave it a type parameter that defaults to the old
version.
2024-11-12 11:35:42 +01:00
Thomas Heartman
24a30e5ec3
Update orval for project status lifecycle ( #8716 )
...
Update schema and orval for project status to add lifecycle information
2024-11-12 09:28:27 +00:00
renovate[bot]
d42c10b0fe
chore(deps): update dependency @uiw/react-codemirror to v4.23.6 ( #8712 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@uiw/react-codemirror](https://uiwjs.github.io/react-codemirror )
([source](https://redirect.github.com/uiwjs/react-codemirror )) |
[`4.23.5` ->
`4.23.6`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.23.5/4.23.6 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2freact-codemirror/4.23.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2freact-codemirror/4.23.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2freact-codemirror/4.23.5/4.23.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2freact-codemirror/4.23.5/4.23.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>uiwjs/react-codemirror (@​uiw/react-codemirror)</summary>
###
[`v4.23.6`](https://redirect.github.com/uiwjs/react-codemirror/releases/tag/v4.23.6 )
[Compare
Source](https://redirect.github.com/uiwjs/react-codemirror/compare/v4.23.5...v4.23.6 )
[![Buy me a
coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee )](https://jaywcjlove.github.io/#/sponsor )
[![](https://img.shields.io/badge/Open%20in-unpkg-blue )](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.23.6/file/README.md )
Documentation v4.23.6:
https://raw.githack.com/uiwjs/react-codemirror/57d9fb7/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.23.5...v4.23.6
```shell
npm i @​uiw/react-codemirror@4.23.6
```
- 🐞 fix: Implement 'exports' field in package.json for the core & basics
setup package
([#​692](https://redirect.github.com/uiwjs/react-codemirror/issues/692 ))
[`8f1ff2d`](https://redirect.github.com/uiwjs/react-codemirror/commit/8f1ff2d )
[@​fatton139](https://redirect.github.com/fatton139 )
- 🐞 fix: resolve exports field issue causing README.md loading error in
documentation
[#​692](https://redirect.github.com/uiwjs/react-codemirror/issues/692 )
[`c2437c7`](https://redirect.github.com/uiwjs/react-codemirror/commit/c2437c7 )
[@​jaywcjlove](https://redirect.github.com/jaywcjlove )
</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 is behind base branch, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS45LjUiLCJ1cGRhdGVkSW5WZXIiOiIzOS45LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 08:35:16 +00:00
sjaanus
27091f886d
feat: update zindex to theme
2024-11-12 10:33:00 +02:00
Jaanus Sellin
920c3e66cd
feat: now tooltip will not be over the main content ( #8714 )
...
Now when pressing on new feature or import button, the tooltip will stay
in background.
2024-11-12 10:30:34 +02:00
Jaanus Sellin
76b7b247fc
feat: define activity labels ( #8713 )
...
Now the label for total activities is more correct.
![image](https://github.com/user-attachments/assets/1748cf25-9605-4701-b4ab-6a16e9b760eb )
2024-11-12 09:51:24 +02:00
renovate[bot]
7d800f6565
chore(deps): update dependency @testing-library/jest-dom to v6.6.3 ( #8705 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@testing-library/jest-dom](https://redirect.github.com/testing-library/jest-dom )
| [`6.6.2` ->
`6.6.3`](https://renovatebot.com/diffs/npm/@testing-library%2fjest-dom/6.6.2/6.6.3 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2fjest-dom/6.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2fjest-dom/6.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2fjest-dom/6.6.2/6.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2fjest-dom/6.6.2/6.6.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>testing-library/jest-dom
(@​testing-library/jest-dom)</summary>
###
[`v6.6.3`](https://redirect.github.com/testing-library/jest-dom/compare/v6.6.2...5ba015651c7b10c154e5a4ae54f85df6010c5295 )
[Compare
Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.6.2...v6.6.3 )
</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 is behind base branch, 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:eyJjcmVhdGVkSW5WZXIiOiIzOS43LjEiLCJ1cGRhdGVkSW5WZXIiOiIzOS43LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-08 18:31:07 +00:00
Nuno Góis
044e61454b
chore: list release templates in strategy popover ( #8703 )
...
https://linear.app/unleash/issue/2-2817/expand-the-strategy-dropdown-with-release-plan-templates
Does what it says on the tin, lists release plan templates in the
strategy popover.
I think we should improve this popover soon, at least behind the
`flagOverviewRedesign` flag, but not in this PR.
![image](https://github.com/user-attachments/assets/6f91175f-f941-4566-b56b-24007d5077da )
2024-11-08 14:26:01 +00:00
Jaanus Sellin
da805f2036
feat: remove archive tooltip conditionally ( #8702 )
...
The archived functionality has been moved into the feature list, and we
are showing a tooltip. However, it doesn’t make sense to display it to
new customers, as they wouldn’t be familiar with the previous behavior.
I've introduced a "new/old user" classification, where I’m setting
08.11.2024 as the dividing line. All customers created after 08.11.2024
will be considered new, and we won’t display the tooltip for them.
Everyone else will be treated as old customers.
This approach means there will be a brief period from 08.11.2024 until
the release date where any customers created during this time will be
categorized as new, even if they still have access to the old archive.
For simplicity, I’m willing to accept this risk, as it's likely that in
95% of cases, for those few customers (0–10), they won’t need the
archive functionality immediately, so it’s acceptable not to display the
tooltip for them.
This setup is temporary in our code base and will be removed with a
feature flag.
2024-11-08 16:12:41 +02:00
Jaanus Sellin
5733f91347
feat: archived toggles do not show switch ( #8696 )
...
Archived toggles will not show switch anymore, but a dash.
![Screenshot from 2024-11-08
11-41-17](https://github.com/user-attachments/assets/d43de8ff-13c3-4f70-8f8f-b7e5bbc4d0bc )
2024-11-08 12:27:41 +02:00
Nuno Góis
b4fde58fa0
chore: flag overview page redesign - environments ( #8683 )
...
https://linear.app/unleash/issue/2-2826/enabling-environment-via-feature-flag-environment-section-header
https://linear.app/unleash/issue/2-2825/feature-flag-list-bottom-left-to-be-a-nav-section
Follow-up to: https://github.com/Unleash/unleash/pull/8663
Implements most of the remaining work for our flag overview page
redesign.
Most of the code you see is a straight copy/paste from our older
existing components, with the slight improvement here and there.
Includes some improvements to our vertical tabs component to suit our
use case.
Also updates the Demo flow accordingly. I did some manual tests and it
seems to work decently in both scenarios, whether `flagOverviewRedesign`
is enabled or not. The demo needs some love but that's a story for a
different PR and a different time.
Once again, due to the duplicate file pattern, we should remember to
clean this up if we decide to remove the flag.
<img width="1086" alt="image"
src="https://github.com/user-attachments/assets/0c375e34-cbb5-4ac4-a764-39a36b6c6781 ">
2024-11-08 09:56:46 +00:00
Jaanus Sellin
8a507b2eec
feat: connect project health frontend with backend ( #8695 )
...
1. Connected project health frontend with backend
2. Synced orval
2024-11-08 10:53:45 +02:00
Tymoteusz Czech
656483d819
chore: remove stale flags ( #8689 )
...
- `projectOverviewRefactorFeedback`
- `featureSearchFeedbackPosting`
- `featureSearchFeedback`
2024-11-08 09:40:17 +01:00