Mateusz Kwasniewski
e9603f866b
refactor: connected instances extract hook refactoring ( #6353 )
2024-02-27 10:49:57 +01:00
Mateusz Kwasniewski
d6e0bea2f0
feat: use connected instances api with orval type ( #6352 )
2024-02-27 09:49:25 +01:00
Tymoteusz Czech
ed44de6c94
feat: simplified insights data fetching ( #6342 )
...
Simplify insights data fetching - let charts pick data instead of
preparing labels in hook.
2024-02-27 09:20:45 +01:00
Jaanus Sellin
7cebf7b8fe
feat: application issues ( #6347 )
...
![image](https://github.com/Unleash/unleash/assets/964450/90153533-322c-46fd-8a1b-5853cbe0c35c )
2024-02-27 09:57:50 +02:00
Mateusz Kwasniewski
ae257d5957
feat: connected instance ui api integration ( #6343 )
2024-02-27 08:30:31 +01:00
renovate[bot]
227abd8bba
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.21.22 ( #6351 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@uiw/codemirror-theme-duotone](https://uiwjs.github.io/react-codemirror/#/theme/data/duotone/light )
([source](https://togithub.com/uiwjs/react-codemirror )) | [`4.21.21` ->
`4.21.22`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.21.21/4.21.22 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2fcodemirror-theme-duotone/4.21.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2fcodemirror-theme-duotone/4.21.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2fcodemirror-theme-duotone/4.21.21/4.21.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2fcodemirror-theme-duotone/4.21.21/4.21.22?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>uiwjs/react-codemirror
(@​uiw/codemirror-theme-duotone)</summary>
###
[`v4.21.22`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.22 )
[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.21...v4.21.22 )
[![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.21.22/file/README.md )
Documentation v4.21.22:
https://raw.githack.com/uiwjs/react-codemirror/df31507/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.21...v4.21.22
```shell
npm i @​uiw/react-codemirror@4.21.22
```
- 🌍 website: update website.
([#​614](https://togithub.com/uiwjs/react-codemirror/issues/614 ))
[`bf3b862`](https://togithub.com/uiwjs/react-codemirror/commit/bf3b862 )
[@​mosaleh52](https://togithub.com/mosaleh52 )
- 📖 doc: Update README.md
([#​626](https://togithub.com/uiwjs/react-codemirror/issues/626 ))
[`042b6c9`](https://togithub.com/uiwjs/react-codemirror/commit/042b6c9 )
[@​orichcasperkevin](https://togithub.com/orichcasperkevin )
- 🌟 feat(theme): add `console` theme
([#​632](https://togithub.com/uiwjs/react-codemirror/issues/632 ))
[`d2a17b0`](https://togithub.com/uiwjs/react-codemirror/commit/d2a17b0 )
[@​dalejo96](https://togithub.com/dalejo96 )
- 🐞 fix(website): fix theme example display issue.
([#​632](https://togithub.com/uiwjs/react-codemirror/issues/632 ))
[`5c7a699`](https://togithub.com/uiwjs/react-codemirror/commit/5c7a699 )
[@​jaywcjlove](https://togithub.com/jaywcjlove )
- 💄 chore: update workflows config
([#​632](https://togithub.com/uiwjs/react-codemirror/issues/632 ))
[`d5dd1ec`](https://togithub.com/uiwjs/react-codemirror/commit/d5dd1ec )
[@​jaywcjlove](https://togithub.com/jaywcjlove )
- 🌟 feat(themes-all): theme console added to themes-all
([#​632](https://togithub.com/uiwjs/react-codemirror/issues/632 )).
[`a779719`](https://togithub.com/uiwjs/react-codemirror/commit/a779719 )
[@​jaywcjlove](https://togithub.com/jaywcjlove )
- 🎨 style(theme-console): modify the theme selection style.
([#​632](https://togithub.com/uiwjs/react-codemirror/issues/632 ))
[`233347d`](https://togithub.com/uiwjs/react-codemirror/commit/233347d )
[@​jaywcjlove](https://togithub.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 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-27 03:55:35 +00:00
renovate[bot]
4fa9051e9c
chore(deps): update dependency @codemirror/state to v6.4.1 ( #6346 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@codemirror/state](https://togithub.com/codemirror/state ) | [`6.4.0`
->
`6.4.1`](https://renovatebot.com/diffs/npm/@codemirror%2fstate/6.4.0/6.4.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@codemirror%2fstate/6.4.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@codemirror%2fstate/6.4.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@codemirror%2fstate/6.4.0/6.4.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@codemirror%2fstate/6.4.0/6.4.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>codemirror/state (@​codemirror/state)</summary>
###
[`v6.4.1`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#641-2024-02-19 )
[Compare
Source](https://togithub.com/codemirror/state/compare/6.4.0...6.4.1 )
##### Bug fixes
Fix an issue that caused widgets at the end of a mark decoration to be
rendered in their own separate mark DOM element.
</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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 21:33:43 +00:00
Tymoteusz Czech
fd87fd4e7d
Insights UI ( #6341 )
...
- style for headers in Insights dashboard and project selector
- fixed React element key issue in gauge chart
- fixed React attribute issue in Health stats
- active/inactive user stats from backend
2024-02-26 15:51:14 +01:00
Mateusz Kwasniewski
2c5d4ba0ce
feat: set default env columns in project overview to 3 ( #6338 )
2024-02-26 13:10:45 +01:00
andreas-unleash
4c340a5224
fix: track conflicts in new strategy screen ( #6337 )
...
Fixes a bug where the conflict tracking was only in the old feature
strategy edit screen.
- Ports the conflict tracking to the NewFeatureStrategyEdit screen
Closes #
[1-2093](https://linear.app/unleash/issue/1-2093/cr-conflict-detection-in-new-strategy-edit-screen )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-02-26 13:59:47 +02:00
Jaanus Sellin
12a085f5a0
chore: generate orval types ( #6336 )
2024-02-26 13:28:36 +02:00
Mateusz Kwasniewski
d1e93228a3
refactor: paginated data hook ( #6333 )
2024-02-26 11:24:41 +01:00
renovate[bot]
68abe28257
chore(deps): update dependency @types/node to v18.19.17 ( #6332 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ))
| [`18.19.15` ->
`18.19.17`](https://renovatebot.com/diffs/npm/@types%2fnode/18.19.15/18.19.17 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.19.17?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.19.17?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.19.15/18.19.17?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.19.15/18.19.17?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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 00:13:22 +00:00
Nuno Góis
aa97cc4637
fix: better arrow design in network overview ( #6331 )
...
Improves the arrow design in the "Network overview" after aligning with
@nicolaesocaciu
2024-02-23 13:38:54 +00:00
andreas-unleash
bae195add9
feat: show the metrics summary chart ( #6297 )
...
Creates the impressions summary chart
<img width="1358" alt="Screenshot 2024-02-21 at 13 25 05"
src="https://github.com/Unleash/unleash/assets/104830839/ddf15637-34de-4883-9ef7-517e37eab331 ">
Closes #
[1-2060](https://linear.app/unleash/issue/1-2060/impressions-summary-widget-frontend )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2024-02-23 15:17:58 +02:00
Tymoteusz Czech
153c60d335
Dashboard custom tooltips ( #6327 )
...
Initial refactoring for custom tooltips
2024-02-23 11:02:26 +00:00
Jaanus Sellin
822851814a
feat: application overview issues schema ( #6329 )
2024-02-23 13:01:49 +02:00
Nuno Góis
12ff4abe6a
chore: incoming webhook events UI ( #6317 )
...
https://linear.app/unleash/issue/2-1937/incoming-webhook-events-ui
This PR implements the UI for incoming webhook events.
We're also introducing a new `SidePanelList` component that we'll be
able to reuse when we tackle action set events. This PR also promotes
`ReactJSONEditor` to a common component and adapts it slightly for this
use case.
![image](https://github.com/Unleash/unleash/assets/14320932/b1abc2e0-3971-4882-b6f6-0ae48d1523d5 )
![image](https://github.com/Unleash/unleash/assets/14320932/ce5c31e4-650a-4df5-a966-2ce06fd6baa8 )
We're refreshing the events view every 5s, so if you're monitoring
events for a specific incoming webhook you can see the latest ones
coming in.
We load 20 (configurable through the hook) events by default. Everytime
you reach the end of the list you can load 20 more events until you
reach the end of the event list.
![image](https://github.com/Unleash/unleash/assets/14320932/94f187a1-8b0f-4138-8dbc-d3ebc9914bfd )
2024-02-23 11:01:27 +00:00
Nuno Góis
a54ef27adc
chore: remove mermaid in favor of react archer ( #6320 )
...
https://linear.app/unleash/issue/2-1968/use-react-archer-instead-of-mermaid-in-the-network-overview
This PR removes [mermaid](https://github.com/mermaid-js/mermaid ) in
favor of [react-archer](https://github.com/pierpo/react-archer ), which
meant adapting `NetworkOverview` to use `react-archer` instead, since
that was the only remaining feature using `mermaid`.
Opted not to use RPS labels in the lines since it was very noisy
visually. Took the liberty to make some visual changes, but we can align
afterwards with @nicolaesocaciu if needed.
### Example with 1 app
![image](https://github.com/Unleash/unleash/assets/14320932/83bf3d52-8bb7-49cc-8fef-1d8f758090b7 )
### Example with 3 apps
![image](https://github.com/Unleash/unleash/assets/14320932/c01b820e-92e1-495a-a360-0f8ff5fafe50 )
### Example with 30 apps
![image](https://github.com/Unleash/unleash/assets/14320932/49314ee0-ad30-4c67-873e-7b91ca39d009 )
### Example in light theme
![image](https://github.com/Unleash/unleash/assets/14320932/1ce7055f-df8f-4b4e-b731-bf0f951bbb0c )
2024-02-23 08:31:14 +00:00
Nuno Góis
ad864049da
fix: only show visible environments for that project in actions ( #6318 )
...
https://linear.app/unleash/issue/2-1969/actions-form-only-show-environments-scoped-to-the-current-project
Filters the environment options in actions to only show environments
that are currently visible for that project, safeguarding users from
configuring actions for invalid environments.
![image](https://github.com/Unleash/unleash/assets/14320932/115cc9cd-99a2-4863-aec0-8264459ef18a )
2024-02-23 08:24:32 +00:00
Tymoteusz Czech
7682429839
Dashboard health stats widget ( #6262 )
2024-02-23 09:05:59 +01:00
Mateusz Kwasniewski
474e53460a
fix: show total applications ( #6326 )
2024-02-23 07:18:11 +01:00
Mateusz Kwasniewski
42f6843029
refactor: application overview dom improvements and tests ( #6325 )
2024-02-23 06:56:46 +01:00
Mateusz Kwasniewski
0de0313563
feat: connect application envs to backend ( #6324 )
2024-02-22 21:58:19 +01:00
Mateusz Kwasniewski
ef021a9464
feat: capped at limit strategy in application usage ( #6323 )
2024-02-22 20:35:39 +01:00
Mateusz Kwasniewski
24d6d24e24
fix: minimum pagination size ( #6322 )
2024-02-22 20:30:59 +01:00
Mateusz Kwasniewski
8b0218df6a
test: project applications table ( #6321 )
2024-02-22 19:03:54 +01:00
Mateusz Kwasniewski
ade7a88d65
test: applications list ui ( #6319 )
2024-02-22 19:03:11 +01:00
Mateusz Kwasniewski
3dda4a1f0e
feat: switching to paginated applications list ( #6316 )
2024-02-22 15:15:50 +01:00
Mateusz Kwasniewski
edbd71ac15
feat: paginated hook for applications list ( #6315 )
2024-02-22 14:37:08 +01:00
Jaanus Sellin
fb63f21d8a
feat: project applications paging backend ( #6312 )
2024-02-22 15:35:16 +02:00
Mateusz Kwasniewski
dc214d376a
chore: generate orval types ( #6310 )
2024-02-22 12:50:17 +01:00
Mateusz Kwasniewski
ff70a92956
feat: paginated applications view ( #6308 )
2024-02-22 11:28:36 +01:00
Mateusz Kwasniewski
c64a780a13
feat: warning mode app env styling ( #6305 )
2024-02-22 08:41:50 +01:00
Fredrik Strand Oseberg
0ccfc29e26
fix: generalize multi action button ( #6294 )
...
This PR moves the CR specific logic out of the MultiActionButton and
generalises so that we can re-use it across the application. The CR
specific logic is moved into:
* ApplyButton.tsx
* ReviewButton.tsx
This fixes a bug where multi action button would be disabled if you
tried to apply an approved change request that you had created yourself.
2024-02-21 14:37:35 +01:00
Mateusz Kwasniewski
ac183e76f8
feat: Application elements lines ( #6301 )
2024-02-21 14:34:57 +01:00
Mateusz Kwasniewski
56cbe1485e
feat: styled application environment boxes ( #6296 )
2024-02-21 12:15:54 +01:00
Jaanus Sellin
7baed29c07
feat: application overview schema ( #6295 )
2024-02-21 12:59:55 +02:00
andreas-unleash
60754b9fca
chore: generate new orval types ( #6292 )
...
what it says on the box
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-02-21 11:31:06 +02:00
Thomas Heartman
c7182d8faf
fix: adjust padding of problem detected icon ( #6293 )
...
This PR adjusts the vertical position of the problem detected icon in
the environment selector.
<img width="1137" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/ef961bba-6380-4849-a81a-0468fc467b5c ">
2024-02-21 10:58:14 +02:00
Mateusz Kwasniewski
e5c07f00cb
feat: rate limit password reset attempts ( #6257 )
2024-02-21 08:49:54 +01:00
Jaanus Sellin
f3c01545f2
feat: application graph ( #6279 )
...
Basic graph, that works with mock data.
Next steps, work on backend and try to put more content and **styling to
nodes**.
![image](https://github.com/Unleash/unleash/assets/964450/545d6527-ecd8-4010-a0fe-8001bc8c1456 )
2024-02-21 09:13:18 +02:00
Thomas Heartman
f46d420b10
feat: add warning icons to environments in selector ( #6290 )
...
This PR adds warning icons to the environment selector for environments
that have problems detected. However, because we don't have any way
detect problems yet, this PR only adds the icons and the infrastructure
to display them. They're always set to "not displayed" for now.
The icons have "problems detected" as accessible text.
It looks like this when you add them in (for every environment):
<img width="1137" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/c29bfa52-ddee-4b16-b3ac-5c1f8fcc326e ">
2024-02-21 13:28:37 +08:00
Thomas Heartman
ddae97080d
feat: wrap buttons in a fieldset and add an explanatory legend. ( #6289 )
...
This makes it more obvious to everyone what the buttons do.
2024-02-21 12:15:02 +08:00
Christopher Kolstad
7350c91a1e
fix: display all roles if we can't get project roles
2024-02-20 16:23:25 +01:00
Gastón Fournier
b22b4233cb
chore: add vite resolution ( #6284 )
...
## About the changes
Some transitive dependencies still depends on vite@5.0.0 so this should
bring them up to 5.1.3
2024-02-20 16:20:32 +01:00
Christopher Kolstad
e9d9db17fe
feat: Adding Project access requires same role ( #6270 )
...
In order to prevent users from being able to assign roles/permissions
they don't have, this PR adds a check that the user performing the
action either is Admin, Project owner or has the same role they are
trying to grant/add.
This addAccess method is only used from Enterprise, so there will be a
separate PR there, updating how we return the roles list for a user, so
that our frontend can only present the roles a user is actually allowed
to grant.
This adds the validation to the backend to ensure that even if the
frontend thinks we're allowed to add any role to any user here, the
backend can be smart enough to stop it.
We should still update frontend as well, so that it doesn't look like we
can add roles we won't be allowed to.
2024-02-20 15:56:53 +01:00
Ivar Conradi Østhus
4857a73621
fix: upgrade vite to v5.1.3 ( #6282 )
2024-02-20 13:50:06 +00:00
Gastón Fournier
dd87eabefc
chore: upgrade vite dependency ( #6281 )
...
## About the changes
Just `cd frontend && yarn upgrade vite` to solve
https://github.com/Unleash/unleash/security/dependabot/119
2024-02-20 13:53:58 +01:00
Thomas Heartman
a468c55fc7
feat: add environment selection to connected instances screen ( #6277 )
...
This PR adds an environment selector to the connected instances table,
using query parameters to store the environment selection.
I'm still using the old data to populate this, so it'll show you all
data when nothing is selected and only filtered data when you select an
env. There is no way to unselect an env at the moment: I'm not sure
that's something we'll need to do, so we'll handle that when we know.
I imagine in the future, we might update the component to make separate
calls per environments and a call to determine which envs are available,
but for now, this will do just fine.
<img width="848" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/ef7562d5-c0ab-48c6-ba43-7c0007719ab4 ">
2024-02-20 12:14:44 +02:00