renovate[bot]
a8b001e950
chore(deps): update dependency @tanstack/react-table to v8.17.3 ( #7155 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@tanstack/react-table](https://tanstack.com/table )
([source](https://togithub.com/TanStack/table/tree/HEAD/packages/react-table ))
| [`8.15.3` ->
`8.17.3`](https://renovatebot.com/diffs/npm/@tanstack%2freact-table/8.15.3/8.17.3 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@tanstack%2freact-table/8.17.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@tanstack%2freact-table/8.17.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@tanstack%2freact-table/8.15.3/8.17.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tanstack%2freact-table/8.15.3/8.17.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>TanStack/table (@​tanstack/react-table)</summary>
###
[`v8.17.3`](https://togithub.com/TanStack/table/releases/tag/v8.17.3 )
[Compare
Source](https://togithub.com/TanStack/table/compare/v8.17.0...v8.17.3 )
Version 8.17.3 - 5/14/2024, 2:44 PM
##### Changes
##### Fix
- Add a missing guard for undefined in the getFilteredRowModel function.
([#​5555](https://togithub.com/TanStack/table/issues/5555 ))
([`5411f1a`](https://togithub.com/TanStack/table/commit/5411f1a1 )) by
[@​jjh2613](https://togithub.com/jjh2613 )
##### Packages
-
[@​tanstack/table-core](https://togithub.com/tanstack/table-core )[@​8](https://togithub.com/8 ).17.3
-
[@​tanstack/qwik-table](https://togithub.com/tanstack/qwik-table )[@​8](https://togithub.com/8 ).17.3
-
[@​tanstack/react-table](https://togithub.com/tanstack/react-table )[@​8](https://togithub.com/8 ).17.3
-
[@​tanstack/solid-table](https://togithub.com/tanstack/solid-table )[@​8](https://togithub.com/8 ).17.3
-
[@​tanstack/vue-table](https://togithub.com/tanstack/vue-table )[@​8](https://togithub.com/8 ).17.3
-
[@​tanstack/svelte-table](https://togithub.com/tanstack/svelte-table )[@​8](https://togithub.com/8 ).17.3
-
[@​tanstack/react-table-devtools](https://togithub.com/tanstack/react-table-devtools )[@​8](https://togithub.com/8 ).17.3
-
[@​tanstack/angular-table](https://togithub.com/tanstack/angular-table )[@​8](https://togithub.com/8 ).17.3
###
[`v8.17.0`](https://togithub.com/TanStack/table/releases/tag/v8.17.0 )
[Compare
Source](https://togithub.com/TanStack/table/compare/v8.16.0...v8.17.0 )
Version 8.17.0 - 5/12/2024, 7:21 PM
#### Changes
##### Feat
- Angular adapter for TanStack Table
([#​5326](https://togithub.com/TanStack/table/issues/5326 ))
([#​5432](https://togithub.com/TanStack/table/issues/5432 ))
([`91f4360`](https://togithub.com/TanStack/table/commit/91f4360f )) by
Kevin Van Cott
##### Chore
- repo package upgrades
([#​5513](https://togithub.com/TanStack/table/issues/5513 ))
([`8630fee`](https://togithub.com/TanStack/table/commit/8630fee8 )) by
Kevin Van Cott
##### Docs
- example code of Deep Keys in column-deps
([#​5547](https://togithub.com/TanStack/table/issues/5547 ))
([`c1085a6`](https://togithub.com/TanStack/table/commit/c1085a6a )) by
taro
- Document getAutoFilterFn in column-filtering.md
([#​5510](https://togithub.com/TanStack/table/issues/5510 ))
([`b1d29b4`](https://togithub.com/TanStack/table/commit/b1d29b49 )) by
[@​geryogam](https://togithub.com/geryogam )
- Update tables.md
([#​5534](https://togithub.com/TanStack/table/issues/5534 ))
([`58f7991`](https://togithub.com/TanStack/table/commit/58f79914 )) by
[@​naughton](https://togithub.com/naughton )
- update column defs page title
([`eae4d0f`](https://togithub.com/TanStack/table/commit/eae4d0f7 )) by
Kevin Vandy
- update overview
([`b803962`](https://togithub.com/TanStack/table/commit/b803962e )) by
Kevin Vandy
- header and column docs
([#​5531](https://togithub.com/TanStack/table/issues/5531 ))
([`102ffd2`](https://togithub.com/TanStack/table/commit/102ffd27 )) by
Kevin Van Cott
- rename data guide
([`64ef24c`](https://togithub.com/TanStack/table/commit/64ef24c4 )) by
Kevin Vandy
- fix links
([`ec1ab03`](https://togithub.com/TanStack/table/commit/ec1ab03f )) by
Kevin Vandy
- data and header group docs
([#​5526](https://togithub.com/TanStack/table/issues/5526 ))
([`72ab26a`](https://togithub.com/TanStack/table/commit/72ab26a6 )) by
Kevin Van Cott
- create cells guide
([#​5523](https://togithub.com/TanStack/table/issues/5523 ))
([`e80b802`](https://togithub.com/TanStack/table/commit/e80b802a )) by
Kevin Van Cott
- rows guide
([#​5515](https://togithub.com/TanStack/table/issues/5515 ))
([`c7c4419`](https://togithub.com/TanStack/table/commit/c7c44199 )) by
Kevin Van Cott
- typos in pagination.md
([#​5508](https://togithub.com/TanStack/table/issues/5508 ))
([`ed37903`](https://togithub.com/TanStack/table/commit/ed37903d )) by
[@​geryogam](https://togithub.com/geryogam )
- typos in column-filtering.md
([#​5509](https://togithub.com/TanStack/table/issues/5509 ))
([`2afa14b`](https://togithub.com/TanStack/table/commit/2afa14b7 )) by
[@​geryogam](https://togithub.com/geryogam )
- start faceting docs and filter example reorg
([#​5507](https://togithub.com/TanStack/table/issues/5507 ))
([`289eca3`](https://togithub.com/TanStack/table/commit/289eca31 )) by
Kevin Van Cott
- docs pages are breaking due to diff in markdown
([#​5503](https://togithub.com/TanStack/table/issues/5503 ))
([`365e0e9`](https://togithub.com/TanStack/table/commit/365e0e99 )) by
[@​KushagraMehta](https://togithub.com/KushagraMehta )
##### Other
- Fix `filters-fuzzy` URL
([#​5520](https://togithub.com/TanStack/table/issues/5520 ))
([`4fda521`](https://togithub.com/TanStack/table/commit/4fda521d )) by
Joe Greve
#### Packages
-
[@​tanstack/qwik-table](https://togithub.com/tanstack/qwik-table )[@​8](https://togithub.com/8 ).17.0
-
[@​tanstack/react-table](https://togithub.com/tanstack/react-table )[@​8](https://togithub.com/8 ).17.0
-
[@​tanstack/solid-table](https://togithub.com/tanstack/solid-table )[@​8](https://togithub.com/8 ).17.0
-
[@​tanstack/vue-table](https://togithub.com/tanstack/vue-table )[@​8](https://togithub.com/8 ).17.0
-
[@​tanstack/react-table-devtools](https://togithub.com/tanstack/react-table-devtools )[@​8](https://togithub.com/8 ).17.0
-
[@​tanstack/angular-table](https://togithub.com/tanstack/angular-table )[@​8](https://togithub.com/8 ).17.0
###
[`v8.16.0`](https://togithub.com/TanStack/table/releases/tag/v8.16.0 )
[Compare
Source](https://togithub.com/TanStack/table/compare/v8.15.3...v8.16.0 )
Version 8.16.0 - 4/13/2024, 12:47 AM
#### Changes
##### Feat
- new sortUndefined last and first options
([#​5486](https://togithub.com/TanStack/table/issues/5486 ))
([`d2ae539`](https://togithub.com/TanStack/table/commit/d2ae5390 )) by
Kevin Van Cott
##### Docs
- Update overview.md
([#​5474](https://togithub.com/TanStack/table/issues/5474 ))
([`5a907f3`](https://togithub.com/TanStack/table/commit/5a907f3a )) by
Artem
- update overview and installation
([#​5462](https://togithub.com/TanStack/table/issues/5462 ))
([`c40d734`](https://togithub.com/TanStack/table/commit/c40d734a )) by
Kevin Van Cott
- fix virtual link
([`b23c133`](https://togithub.com/TanStack/table/commit/b23c1336 )) by
Kevin Vandy
- fix more links for tsr migration
([#​5461](https://togithub.com/TanStack/table/issues/5461 ))
([`2c12856`](https://togithub.com/TanStack/table/commit/2c12856e )) by
Kevin Van Cott
- prep for tanstack.com migration to TSR
([`024ecda`](https://togithub.com/TanStack/table/commit/024ecda9 )) by
Tanner Linsley
#### Packages
-
[@​tanstack/table-core](https://togithub.com/tanstack/table-core )[@​8](https://togithub.com/8 ).16.0
-
[@​tanstack/qwik-table](https://togithub.com/tanstack/qwik-table )[@​8](https://togithub.com/8 ).16.0
-
[@​tanstack/react-table](https://togithub.com/tanstack/react-table )[@​8](https://togithub.com/8 ).16.0
-
[@​tanstack/solid-table](https://togithub.com/tanstack/solid-table )[@​8](https://togithub.com/8 ).16.0
-
[@​tanstack/vue-table](https://togithub.com/tanstack/vue-table )[@​8](https://togithub.com/8 ).16.0
-
[@​tanstack/svelte-table](https://togithub.com/tanstack/svelte-table )[@​8](https://togithub.com/8 ).16.0
-
[@​tanstack/react-table-devtools](https://togithub.com/tanstack/react-table-devtools )[@​8](https://togithub.com/8 ).16.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 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 14:35:26 +00:00
renovate[bot]
eb1105e3cf
chore(deps): update dependency semver to v7.6.2 ( #7153 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [semver](https://togithub.com/npm/node-semver ) | [`7.6.0` ->
`7.6.2`](https://renovatebot.com/diffs/npm/semver/7.6.0/7.6.2 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/semver/7.6.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/semver/7.6.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/semver/7.6.0/7.6.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/semver/7.6.0/7.6.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>npm/node-semver (semver)</summary>
###
[`v7.6.2`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#762-2024-05-09 )
[Compare
Source](https://togithub.com/npm/node-semver/compare/v7.6.1...v7.6.2 )
##### Bug Fixes
-
[`6466ba9`](6466ba9b54
)
[#​713](https://togithub.com/npm/node-semver/pull/713 ) lru: use
map.delete() directly
([#​713](https://togithub.com/npm/node-semver/issues/713 ))
([@​negezor](https://togithub.com/negezor ),
[@​lukekarrys](https://togithub.com/lukekarrys ))
###
[`v7.6.1`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#761-2024-05-04 )
[Compare
Source](https://togithub.com/npm/node-semver/compare/v7.6.0...v7.6.1 )
##### Bug Fixes
-
[`c570a34`](c570a348ff
)
[#​704](https://togithub.com/npm/node-semver/pull/704 ) linting:
no-unused-vars ([@​wraithgar](https://togithub.com/wraithgar ))
-
[`ad8ff11`](ad8ff11dd2
)
[#​704](https://togithub.com/npm/node-semver/pull/704 ) use
internal cache implementation
([@​mbtools](https://togithub.com/mbtools ))
-
[`ac9b357`](ac9b35769a
)
[#​682](https://togithub.com/npm/node-semver/pull/682 ) typo in
compareBuild debug message
([#​682](https://togithub.com/npm/node-semver/issues/682 ))
([@​mbtools](https://togithub.com/mbtools ))
##### Dependencies
-
[`988a8de`](988a8deb3e
)
[#​709](https://togithub.com/npm/node-semver/pull/709 ) uninstall
`lru-cache`
([#​709](https://togithub.com/npm/node-semver/issues/709 ))
-
[`3fabe4d`](3fabe4dbfb
)
[#​704](https://togithub.com/npm/node-semver/pull/704 ) remove
lru-cache
##### Chores
-
[`dd09b60`](dd09b60da1
)
[#​705](https://togithub.com/npm/node-semver/pull/705 ) bump
[@​npmcli/template-oss](https://togithub.com/npmcli/template-oss )
to 4.22.0 ([@​lukekarrys](https://togithub.com/lukekarrys ))
-
[`ec49cdc`](ec49cdcece
)
[#​701](https://togithub.com/npm/node-semver/pull/701 ) chore:
chore: postinstall for dependabot template-oss PR
([@​lukekarrys](https://togithub.com/lukekarrys ))
-
[`b236c3d`](b236c3d2f3
)
[#​696](https://togithub.com/npm/node-semver/pull/696 ) add
benchmarks
([#​696](https://togithub.com/npm/node-semver/issues/696 ))
([@​H4ad](https://togithub.com/H4ad ))
-
[`692451b`](692451bd6f
)
[#​688](https://togithub.com/npm/node-semver/pull/688 ) various
improvements to README
([#​688](https://togithub.com/npm/node-semver/issues/688 ))
([@​mbtools](https://togithub.com/mbtools ))
-
[`5feeb7f`](5feeb7f4f6
)
[#​705](https://togithub.com/npm/node-semver/pull/705 ) postinstall
for dependabot template-oss PR
([@​lukekarrys](https://togithub.com/lukekarrys ))
-
[`074156f`](074156f64f
)
[#​701](https://togithub.com/npm/node-semver/pull/701 ) bump
[@​npmcli/template-oss](https://togithub.com/npmcli/template-oss )
from 4.21.3 to 4.21.4
([@​dependabot](https://togithub.com/dependabot )\[bot])
</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 14:34:03 +00:00
renovate[bot]
08e82119e1
chore(deps): update dependency @mui/x-date-pickers to v7 ( #6862 )
2024-05-31 14:28:09 +00:00
Mateusz Kwasniewski
5eadce061c
feat: align list items on mode switch ( #7229 )
2024-05-31 13:40:35 +02:00
Mateusz Kwasniewski
6340ecd6bf
fix: demo steps should search the main table ( #7227 )
2024-05-31 12:29:55 +02:00
Thomas Heartman
de74faac46
chore: remove flag for new project cards ( #7225 )
...
This PR removes the flag for the new project card design, making it GA.
It also removes deprecated components and updates one reference (in the
groups card) to the new components instead.
2024-05-31 10:58:31 +02:00
Thomas Heartman
bea5929460
chore: remove project list split feature flags ( #7224 )
...
This PR removes all the feature flags related to the project list split
and updates the snapshot.
Now the project list will always contain "my projects" and "other
projects"
2024-05-31 10:38:23 +02:00
Thomas Heartman
f28989749b
fix: correctly align project card info when some cards have multi-line names ( #7223 )
...
This change updates the styling of the project card bodies so that
alignment of the project data (number of flags, members, health) stays
at the bottom of the project card body, even if some cards have longer
bodies than others. It also updates the icon placement so that it is
consistent even when the title is multi-line.
Before this change, the bottom row would be misaligned if some (but
not all) project cards on a row had names long enough to span multiple
lines. The project icon would also be misaligned
Before:
![image](https://github.com/Unleash/unleash/assets/17786332/1d1b99a3-263a-4472-8872-0ac59afd252b )
Misaligned project icon:
![image](https://github.com/Unleash/unleash/assets/17786332/3b805728-c61d-409c-b293-45b37d096b45 )
After:
![image](https://github.com/Unleash/unleash/assets/17786332/e81fcdbc-619a-4da3-a559-89af5acff656 )
Icon alignment:
![image](https://github.com/Unleash/unleash/assets/17786332/0e6f669f-1a25-4074-b8c0-6dbdcafbb828 )
2024-05-31 10:37:51 +02:00
Thomas Heartman
abf4966a37
fix: handle overflowing avatars in the new project card ( #7217 )
...
This change prevents the project owner avatars in the new project card
footer from overflowing by making the number of avatars to show
configurable.
It defaults to 9, the old hard-coded number of avatars shown, but can
be configured.
The reason it overflows here is probably that the extra button in the
project card footer (the favorite) makes the footer smaller than what
we have for the group card footer.
Before:
![image](https://github.com/Unleash/unleash/assets/17786332/972fe471-a78a-436a-a08d-18afefd2501e )
After:
![image](https://github.com/Unleash/unleash/assets/17786332/af569412-85e2-4b9b-97b8-12b91d372a70 )
2024-05-30 12:01:17 +02:00
Thomas Heartman
1ac447141a
fix: handle long names in new project card footers ( #7216 )
...
This is a redo of #7215 . I missed the case where you have multiple
owners, causing it to lay out weird in that case.
This version handles that by returning an empty div for the owners
instead to fill up that space.
![image](https://github.com/Unleash/unleash/assets/17786332/4d0944a8-988c-4507-a127-755bbda90921 )
![image](https://github.com/Unleash/unleash/assets/17786332/14feee20-e1f7-4507-b53d-c70b7d2961dc )
There **are** edge cases where the owners wrap:
![image](https://github.com/Unleash/unleash/assets/17786332/159838e3-2ea1-4846-9d53-357b1377c8e0 )
But that is also the case with the current implementation:
![image](https://github.com/Unleash/unleash/assets/17786332/3e3be245-5ca7-46d9-bb3f-a453c90b4b78 )
And only happens at very specific breakpoints.
2024-05-30 10:59:44 +02:00
Thomas Heartman
669e21eef0
Revert "fix: handle long owner names for projects ( #7215 )"
...
This reverts commit 5c1cd49aaa
.
2024-05-30 10:30:23 +02:00
Thomas Heartman
5c1cd49aaa
fix: handle long owner names for projects ( #7215 )
...
This change updates the new project card footer to better handle long
names. Previously, if a name was too long to fit on a single line,
it'd wrap. It didn't cause any layout shift, but it made the card look
off.
So instead of wrapping, we now truncate the name and add an ellipsis.
To achieve this, I changed the layout to grid instead of flexbox and
removed a nested flex container.
Before:
![image](https://github.com/Unleash/unleash/assets/17786332/2074ac85-ce73-4292-beed-a3da05083a8d )
After:
![image](https://github.com/Unleash/unleash/assets/17786332/8302aae8-959f-4336-acd3-dbc207767d5a )
Other cards remain the same, as shown here (new code on left, old code
on right):
<img width="601" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/009c5d5d-3f9d-4640-86a1-3b6afcd04041 ">
2024-05-30 10:03:21 +02:00
Thomas Heartman
50c725e2a9
feat: add tooltips to new project creation form config buttons ( #7213 )
...
This PR adds tooltips to the new project creation form buttons to make
it clearer what they do. The tooltips tell you what the buttons do and
contains the same description that we use for docs.
![image](https://github.com/Unleash/unleash/assets/17786332/74667ff8-25b7-4daa-bb93-8938fe4e3dd2 )
The tooltips will cover other buttons on narrow windows, but I think
that's an acceptable tradeoff
![image](https://github.com/Unleash/unleash/assets/17786332/9886f717-9db9-40bd-bd0b-0e6150896889 )
2024-05-30 08:30:44 +02:00
Mateusz Kwasniewski
95f5f7a20b
feat: Recent flags ( #7211 )
2024-05-29 16:01:52 +02:00
Mateusz Kwasniewski
88c7e9aa0e
feat: move demo to the right ( #7212 )
2024-05-29 15:00:31 +02:00
Jaanus Sellin
6c8b1d8904
fix: when finding median time to production, ignore 0s ( #7200 )
...
We have an issue that if you open up Insights, the Time to Production
chart was showing nothing because it was taking the median across all
projects. You might have many new or empty projects where the median was
0 (no data).
For example, the median from [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.7, 50.3, 140] was 0.
Now, we will remove the 0 values to have a more reasonable median.
2024-05-29 14:17:31 +03:00
Mateusz Kwasniewski
439ee63387
feat: Synced last viewed projects ( #7208 )
2024-05-29 12:58:14 +02:00
Thomas Heartman
0e7f1aab50
fix: sort segments before comparing in cr diff calculations ( #7202 )
...
This change fixes a bug where we would show the list of segments as
changed (causing a conflict) if their order wasn't the same in the
change as in the original.
By sorting the segments before comparing them, we can avoid this issue.
To avoid modifying the objects that are passed in (in case that has
knock-on effects anywhere), we copy the objects. And because `toSorted`
"only" has about 89% coverage now, I chose to use `sort` and spread the
arrays instead.
2024-05-29 12:46:51 +02:00
Jaanus Sellin
e79e36daae
fix: show 2 insights components to pro ( #7207 )
...
Currently it was showing only users. Now showing 2.
2024-05-29 12:42:53 +03:00
Mateusz Kwasniewski
25177e55f9
feat: Remove accordion line ( #7205 )
2024-05-29 11:28:51 +02:00
Mateusz Kwasniewski
75114e52f7
fix: footer overflow ( #7203 )
2024-05-29 11:11:36 +02:00
Jaanus Sellin
ef9f09b58c
feat: insights out of beta and expose 2 widgets to pro ( #7177 )
...
1. Remove beta badge
2. Remove exposure from oss
3. Expose 2 widgets to pro and rest to enterprise
2024-05-29 11:55:01 +03:00
Mateusz Kwasniewski
8d898c2ac9
feat: smart sticky expand/hide button ( #7201 )
2024-05-29 10:47:57 +02:00
Thomas Heartman
82d401be1b
fix: get rid of horizontal scrollbar on narrow screens in CreateProjectDialog ( #7198 )
...
This PR hides horizontal overflow in the dialog.
The pop-up docs that we have on small windows was causing a tiny bit of
overflow, giving us an annoying (and pretty useless) horizontal
scrollbar. We can hide that scrollbar by hiding horizontal overflow.
2024-05-29 08:55:11 +02:00
Thomas Heartman
0f3d93099d
fix: CR button shows docs for change requests when selected ( #7196 )
...
The props had been left out of the config button by mistake.
It also puts the CR table in a scrollable div that had been removed by
mistake.
2024-05-29 08:38:00 +02:00
Thomas Heartman
3aa7e89a3e
chore: fix button design on narrow screens for new project form ( #7195 )
...
This PR contains a few fixes for button designs on small screens for the
new project form.
It makes all buttons (config and actions) full-width and addresses some
sizing stuff.
It also caps the width of the stickiness button on non-small screens to
avoid shifting.
![image](https://github.com/Unleash/unleash/assets/17786332/83af0a1c-8eb0-4a6b-aa5c-491bbcfab8e9 )
2024-05-29 08:37:52 +02:00
Thomas Heartman
06de5de85c
chore: code cleanup for new project form pt 2 ( #7190 )
...
This is the second part of the code cleanup job. It primarily consists
of breaking apart large files and organizing the code better
2024-05-29 08:10:47 +02:00
Mateusz Kwasniewski
2649c8e7cd
Fix: overflow sidebar cr banner ( #7193 )
2024-05-28 16:46:09 +02:00
Mateusz Kwasniewski
8e0b75102b
feat: Expand admin settings ( #7192 )
2024-05-28 16:09:23 +02:00
Mateusz Kwasniewski
dbc14fa7e9
feat: last viewed project ( #7191 )
2024-05-28 15:47:26 +02:00
Thomas Heartman
ff377cd704
chore: new project dialog code cleanup 1 ( #7113 )
...
This PR implements some initial cleanup work for the new project
creation dialog.
The primary focus here is to remove unused props and to use the same
logic for the configuration buttons regardless of the content (mode,
stickiness, envs, change requests).
2024-05-28 14:01:59 +02:00
Mateusz Kwasniewski
029d43bbcc
feat: project insights out of beta ( #7188 )
2024-05-28 12:53:50 +02:00
Simon Hornby
f16f8594f5
chore: deprecate custom strategies ( #7186 )
2024-05-28 12:33:53 +02:00
Mateusz Kwasniewski
0c4d4643bd
feat: Content padding matches top nav ( #7187 )
2024-05-28 12:33:21 +02:00
Mateusz Kwasniewski
d5730e1e8b
feat: Sidebar nav tweaks ( #7185 )
2024-05-28 12:15:40 +02:00
Mateusz Kwasniewski
5a9b015022
feat: currently selected nav item ( #7182 )
2024-05-28 12:03:52 +02:00
Thomas Heartman
c8fa7e477a
chore: allow CR selection when no envs are enabled ( #7183 )
...
This PR allows you to configure change requests for all environments
when no environments are enabled explicitly. This is the default state
of the form and makes it so that you can configure CRs even if you want
all envs enabled.
Additionally, it preserves the case where you configure CRs for an
environment and then disable all envs.
This is logic only. It's not available in the UI yet.
2024-05-28 11:35:06 +02:00
Thomas Heartman
2c7a654860
fix: use a fixed-width button label for CR selector in new project creation form ( #7179 )
...
This change makes the button label for the CR selector in the new
project creation form have a fixed width. It adds a missing wrapper
element.
2024-05-28 09:48:30 +02:00
David Leek
bc6b23c740
fix: attempt a react friendly fix of summing ( #7151 )
...
## About the changes
Summing on Billing page got a little wonky after changing how the
summing worked when the estimation flag is off. This attempts to return
it to previous way of showing numbers when flag is off
If you go directly to the billing page it will not add user calculations
to the total. If you however interact with the UI, like change tabs back
and forth, it will suddenly show the correct sum:
![image](https://github.com/Unleash/unleash/assets/707867/af6eeddf-be3f-42ae-a588-f57c30d739ca )
![image](https://github.com/Unleash/unleash/assets/707867/b4a0b832-a550-4e87-aa69-7b27f96d3beb )
---------
Co-authored-by: Nuno Góis <github@nunogois.com>
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2024-05-28 09:08:23 +02:00
Jaanus Sellin
73f0cb6180
chore: switch insights ui flag to kill switch ( #7166 )
...
The flag is already set up in our Unleash instance.
2024-05-28 09:44:52 +03:00
Thomas Heartman
2698ddf704
fix: change request environment selector button label ( #7176 )
...
This change makes it so that the button for change request
environments reads correctly when:
1. You have no envs configured: "Configure change requests"
2. One env configured: "1 environment configured"
3. More than one env configured: "`n` environments configured"
2024-05-28 08:40:58 +02:00
Thomas Heartman
5f3eae7035
chore: rename component to match file name and american spelling ( #7174 )
...
Renames the create project dialog component to match the name of the
file (both using the same spelling of dialog)
2024-05-28 08:30:11 +02:00
Thomas Heartman
be0f073b89
chore: fix create project form environment selector button width ( #7175 )
...
This commit sets the width of the environment selector button to a
fixed width (wide enough to display "all environments").
2024-05-28 08:22:58 +02:00
Thomas Heartman
cae3d78ced
fix: make CR button wider always ( #7173 )
...
This change makes the CR button wider when you have environments
selected, reducing the difference between "no environments" and "envs
configured" states, thereby reducing the difference in the layout.
2024-05-28 07:23:49 +02:00
Thomas Heartman
10155935ae
fix: minor UI adjustments ( #7117 )
...
This PR contains two small UI improvements for the new project creation
form:
1. Wrap the action buttons when necessary (so that they don't become
unavailable when the window gets narrow enough.)
2. Make the change request table scrollable horizontally, so that it can
still be configured on narrow windows.
---------
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2024-05-28 07:10:50 +02:00
Thomas Heartman
9a51f68f5f
chore: new create project dialog UI fixes ( #7167 )
...
This PR addresses several related fixes to the new project creation
dialog to prevent unnecessary growing and shifting:
- use a fixed width for the guidance sidebar
- use a fixed height for the guidance code snippet
- use a fixed height for the mobile guidance
- use a fixed width for the mode selector button
- cap description height
This is a little tricky because we don't want the changes for the dialog
to affect other forms. As such, I've added some new options you can use
when you create the guidance components / sidebar.
2024-05-28 07:10:34 +02:00
Mateusz Kwasniewski
f7214c6cd0
test: navigation sidebar ( #7172 )
2024-05-27 17:00:10 +02:00
Mateusz Kwasniewski
08629e9041
refactor: navigation sidebar ( #7171 )
2024-05-27 16:29:20 +02:00
Mateusz Kwasniewski
c8db321b3e
feat: Persist expand collapse ( #7169 )
2024-05-27 15:36:24 +02:00
Mateusz Kwasniewski
67148dbdc9
feat: UI tweak new sidebar ( #7165 )
2024-05-27 13:35:27 +02:00
Mateusz Kwasniewski
02c0744fc2
feat: user profile preview ( #7150 )
2024-05-27 12:32:21 +02:00
Mateusz Kwasniewski
17720d6185
feat: adjust change request banner for new layout ( #7160 )
2024-05-27 11:08:23 +02:00
David Leek
9ea66e8850
chore: remove deprecated legacy features endpoint ( #7129 )
...
This PR is part of #4380 - Remove legacy `/api/feature` endpoint.
## About the changes
### Frontend
- Removes the useFeatures hook
- Removes the part of StrategyView that displays features using this
strategy (not been working since v4.4)
- Removes 2 unused features entries from routes
### Backend
- Removes the /api/admin/features endpoint
- Moves a couple of non-feature related tests (auth etc) to use
/admin/projects endpoint instead
- Removes a test that was directly related to the removed endpoint
- Moves a couple of tests to the projects/features endpoint
- Reworks some tests to fetch features from projects features endpoint
and strategies from project strategies
2024-05-27 09:24:09 +02:00
Mateusz Kwasniewski
68427f841b
feat: Persist navigation settings ( #7144 )
2024-05-24 13:21:12 +02:00
Mateusz Kwasniewski
8b5e39c997
feat: hide top nav ( #7140 )
2024-05-24 12:08:08 +02:00
Mateusz Kwasniewski
242f31c251
feat: More spacious layout ( #7138 )
2024-05-24 11:18:11 +02:00
Christopher Kolstad
a744cdf6d8
chore: bump to @types/node 20 as well as updating frontend .nvmrc ( #7137 )
...
renovate bot pointed out that I'd forgotten our /frontend folder. This
PR fixes that lack
2024-05-24 07:40:20 +00:00
Mateusz Kwasniewski
ebce31066a
feat: New mobile sidebar ( #7135 )
2024-05-24 09:35:03 +02:00
Mateusz Kwasniewski
292f43031a
feat: Navigation switch ( #7132 )
2024-05-24 08:55:05 +02:00
renovate[bot]
f2f3f71300
chore(deps): update dependency @types/node to v18.19.33 ( #7133 )
...
[![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.31` ->
`18.19.33`](https://renovatebot.com/diffs/npm/@types%2fnode/18.19.31/18.19.33 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.19.33?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.19.33?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.19.31/18.19.33?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.19.31/18.19.33?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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-23 17:29:01 +00:00
Mateusz Kwasniewski
79ed56ecfc
feat: Mini navigation sidebar ( #7131 )
2024-05-23 16:09:45 +02:00
Mateusz Kwasniewski
b783e89c88
feat: plan specific navigation ( #7126 )
2024-05-23 12:44:00 +02:00
Jaanus Sellin
a4c48a16a4
chore: update orval types after renaming ( #7127 )
2024-05-23 13:37:56 +03:00
Jaanus Sellin
b3dd460d2f
chore: rename toggle to flag #7 ( #7125 )
2024-05-23 13:19:49 +03:00
Jaanus Sellin
c4566baeac
chore: rename roles toggles to flag ( #7123 )
...
Running migration to update roles descriptions.
2024-05-23 12:01:04 +03:00
Mateusz Kwasniewski
be6837b53a
feat: navigation sidebar stub ( #7121 )
2024-05-23 10:49:11 +02:00
Jaanus Sellin
4824a02f2b
feat: rename toggle to flag with db migration ( #7118 )
...
Renaming also permissions with migration
2024-05-23 10:17:02 +03:00
Jaanus Sellin
29e7c4035d
chore: rename toggle to flag #4 ( #7114 )
2024-05-22 16:26:22 +03:00
Thomas Heartman
be4bb86b92
fix: add accessible descriptions to the dropdowns ( #7112 )
...
This PR adds accessible descriptions to the dropdown widgets in the new
project creation form. The description is the same as we show in the
background
2024-05-22 14:02:05 +02:00
Thomas Heartman
57f66f3b55
fix: prevent single-select lists from reopening when you select an item from the search bar ( #7111 )
...
We have this very specific edge case in the new project form
dropdowns. It only occurs for the single-select lists and only if you
select an item via search.
When the search input is non-empty, you can use enter to select the
first item in the list.
For some reason, this also triggers a click on the underlying button
that opens the dropdown (I'm guessing this is to do with an underlying
focus).
To work around it, we create a variable that prevents you from opening
the dropdown if it is true. We set it to 'true' when you close it (for
single-selects), but also set single-millisecond timeout that sets it
to false thereafter.
This is much to short for the user to notice anything, but it prevents
the browser from noticing the click.
2024-05-22 13:53:35 +02:00
Thomas Heartman
78fcdbf132
feat: show docs with icons in sidebar ( #7109 )
...
Adds icons to sidebar documentation and removes the link when you can't
interact with it.
I'm a little concerned that this won't be very accessible at the moment,
because we don't announce that anything has changed (i.e. there's no way
to find out that the text has changed if you can't see it), and the text
isn't labeled as describing anything. (this is being addressed in #7110
)
![image](https://github.com/Unleash/unleash/assets/17786332/2f482aa1-b74d-4b0f-97aa-2dbc1d1f82f9 )
There's a few caveats to this:
1. we don't set a min height at the moment. I've avoided this because we
use the sidebar a number of other places and I wanted to touch as little
as possible. This means we can still get height adjustments
2. The new project icon doesn't have the same proportions as the mui
icons. This adds some additional jank. We should probably look at this,
though.
2024-05-22 13:45:47 +02:00
Thomas Heartman
688bac9f87
chore: update input field text sizes ( #7107 )
...
Make sure that the main input fields have enough space between them and
that their size is correct in both light and dark modes.
2024-05-22 13:26:22 +02:00
Thomas Heartman
4a46c8adbf
fix: set min-height on dropdown item list ( #7106 )
...
This ensures that the dropdown items without checkbox are the same
height as the dropdown items with checkbox.
2024-05-22 13:25:39 +02:00
Thomas Heartman
c47154b939
fix: make dialog the right height and make it scroll if it's smaller ( #7103 )
...
I've marked the project creation dialog as "compact", so that it's only
as tall as it needs to be.
However, by default, compact forms don't scroll because they have
overflow set to hidden. This is a problem on very short windows. To get
around this, I've set overflow to unset on compact forms.
I've also removed `min-height: 0` which has some weird side effects on
the centered dialog. Instead, I'm setting `min-height` to `unset` if
it's compact.
![image](https://github.com/Unleash/unleash/assets/17786332/e7d5db52-32d3-47d9-b31f-c73a5bb8e00f )
This task also uncovered some inconsistencies and some borders that only
show up sometimes, so I've removed them too.
2024-05-22 13:24:42 +02:00
Jaanus Sellin
2fb95339ef
chore: change toggle to flag #3 ( #7101 )
2024-05-22 09:58:53 +03:00
Thomas Heartman
14fd624faa
fix: don't send change request info unless using the new form ( #7102 )
...
I realized that, in an oversight, the form now shows and sends project
CR config, even if the new form isn't active. The API just ignores it if
it doesn't understand it, so it's not very harmful, but it's better if
we don't send it at all. This PR does that.
It does not actually test that change request info isn't included (but
it does test ID inclusion). This is because:
- change request info is only included if we're enterprise. The rendered
version of the hook isn't by default.
- Setting up module mocking and making it work seems like a lot of work
for a small gain, considering we're probably going to be removing the
old form anyway.
- I've tested it locally.
Also adds some testing for the hook related to name validation and
payload creation
2024-05-22 08:44:39 +02:00
Jaanus Sellin
8542cafc9f
chore: rename toggle to flag #2 ( #7097 )
2024-05-22 08:20:11 +03:00
Mateusz Kwasniewski
ce67c4d944
fix: no requests before project loaded ( #7096 )
2024-05-21 15:54:09 +02:00
Jaanus Sellin
8897f2ea75
chore: rename toggle to flag #1 ( #7092 )
...
Rename feature toggle to feature flag in the UI and code.
Starting with low hanging fruits.
Trying to keep these ~100 LoC.
2024-05-21 15:18:00 +03:00
David Leek
c14fc54e33
fix: also check includedTraffic before calculating overage and showing warning ( #7091 )
...
## About the changes
Fixes a bug that would display the overage warning on
network/traffic-usage when included traffic was 0. (it assumed all
traffic was overage)
![image](https://github.com/Unleash/unleash/assets/707867/793f8cb2-7c1d-4f67-b0e9-45c32fcb78e6 )
2024-05-21 12:41:19 +02:00
Jaanus Sellin
4f46f03843
fix: small improvements ( #7090 )
...
Fixing isAdmin method. It is not that critical, because that is mostly
for system users not real usage.
Also fixing wording for outdated sdks.
2024-05-21 12:40:52 +03:00
Mateusz Kwasniewski
8a6daeee1e
refactor: replace useProject with useProjectOverview ( #7087 )
2024-05-20 15:15:24 +02:00
Mateusz Kwasniewski
ee92001bf5
fix: deprecate useProjectNameOrId ( #7086 )
2024-05-20 14:20:13 +02:00
Mateusz Kwasniewski
0537d3d5f6
feat: switch to hook without features list ( #7085 )
2024-05-20 13:52:21 +02:00
Jaanus Sellin
3768331e9a
fix: make numbers in chart to locale string ( #7084 )
...
To get correct formatting to number, in our codebase we call
toLocaleString(). Added it also to this component.
From
![image
(20)](https://github.com/Unleash/unleash/assets/964450/f941a592-4b86-4b64-99c5-4e7e5d4ccaf2 )
To
![Screenshot from 2024-05-20
14-06-19](https://github.com/Unleash/unleash/assets/964450/abac4570-30be-4fa4-a6fd-24b3f70902e0 )
2024-05-20 14:27:53 +03:00
Jaanus Sellin
17e340ab40
feat: project level outdated sdks, project level banner ( #7083 )
...
At first, I was creating a new component, Project Banner, which was 90%
of the old banner and 10% new code, but it did not feel right. The
current banner is actually smart enough to be used in any container. So
now, I have moved the outdated SDK banner to the project level.
I like the simplicity of the change.
![image](https://github.com/Unleash/unleash/assets/964450/e57c1ace-e8f9-4866-a063-6f9ae561c6c0 )
2024-05-20 14:15:39 +03:00
Mateusz Kwasniewski
659b3391c3
fix: refresh project after import ( #7082 )
2024-05-20 12:25:23 +02:00
Mateusz Kwasniewski
50ee7fa779
fix: new strategy using default strategy ( #7075 )
2024-05-20 09:50:44 +02:00
David Leek
dfc0c3c63f
feat: refactor data usage into hooks, estimate monthly added fees ( #7048 )
...
- Refactors data processing and overage calculations to separate hooks
- Adds support for estimating traffic costs based on monthly usage up to
current point
- Adds accrued traffic charges to the billing page
![image](https://github.com/Unleash/unleash/assets/707867/39a837c2-5092-49b8-8bbf-46d8757635c0 )
![image](https://github.com/Unleash/unleash/assets/707867/55ecfa5e-afe1-4cb6-9aa4-7dd67db4248c )
2024-05-17 15:27:32 +02:00
Mateusz Kwasniewski
08e05141f3
chore: remove e2e tests for legacy env variants ( #7071 )
2024-05-17 10:55:22 +02:00
Mateusz Kwasniewski
88e3b1b79e
feat: deprecate feature toggle variants at environment level ( #7058 )
2024-05-16 10:57:32 +02:00
andreas-unleash
9fc01233c6
fix: disable the create button when api call is made ( #7063 )
...
Prevends duplicate calls to api
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-05-16 10:52:12 +03:00
andreas-unleash
28ca626bac
fix: loading is causing a glitch that changes the size of the dialog for a split second ( #7062 )
...
The loading state of the FormTemplate is causing the form glitch. This
fixes it by removing the loading
Closes #
[1-2362](https://linear.app/unleash/issue/1-2362/fix-visual-glitch-when-you-submit-the-form )
https://github.com/Unleash/unleash/assets/104830839/1782ca09-a8b4-4fd1-92c1-111843869b25
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-05-16 09:59:56 +03:00
David Leek
793cd76e93
feat: move SCIM config into separate tab ( #7055 )
...
Moves SCIM config back into separate tab
![image](https://github.com/Unleash/unleash/assets/707867/910f2128-08de-4460-a9e8-a606342669cd )
2024-05-16 08:01:32 +02:00
Mateusz Kwasniewski
701c845f09
feat: uncomplete tracking ( #7053 )
2024-05-14 15:04:31 +02:00
Mateusz Kwasniewski
668cb81384
fix: omit yes no from stale data comparison ( #7052 )
2024-05-14 12:42:39 +02:00
Mateusz Kwasniewski
b2b8d94617
feat: lifecycle column extracted ( #7049 )
2024-05-14 09:24:54 +02:00
Mateusz Kwasniewski
56f2dd658e
feat: track complete event ( #7047 )
2024-05-13 14:51:28 +02:00
Thomas Heartman
20c3ef30f3
fix: make name validation work properly. ( #7042 )
...
Instead of using the `required` attribute, we manually make it
required. This is indicated visually by red error text if the value is
empty (or whitespace only). To indicate to screen readers that it is
required, we add the `aria-required` attribute.
We didn't previously validate if the name
was whitespace only.
Also: if no envs are selected, indicate that all will be included
This prevents this form value from ever being invalid.
2024-05-13 14:43:49 +02:00
Mateusz Kwasniewski
dfc065500d
feat: kept and discarded read model ( #7045 )
2024-05-13 14:24:31 +02:00