renovate[bot]
8f5827dcd9
chore(deps): update dependency @types/react to v17.0.65 ( #4695 )
...
[![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/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped )) |
[`17.0.64` ->
`17.0.65`](https://renovatebot.com/diffs/npm/@types%2freact/17.0.64/17.0.65 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/17.0.65?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/17.0.65?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/17.0.64/17.0.65?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/17.0.64/17.0.65?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 00:27:31 +00:00
renovate[bot]
8f9486e478
chore(deps): update dependency @types/node to v18.17.14 ( #4694 )
...
[![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 )) |
[`18.17.4` ->
`18.17.14`](https://renovatebot.com/diffs/npm/@types%2fnode/18.17.4/18.17.14 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.17.14?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.17.14?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.17.4/18.17.14?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.17.4/18.17.14?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 22:03:07 +00:00
renovate[bot]
c15e67b8d2
chore(deps): update dependency @types/cors to v2.8.14 ( #4693 )
...
[![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/cors](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cors )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped )) |
[`2.8.13` ->
`2.8.14`](https://renovatebot.com/diffs/npm/@types%2fcors/2.8.13/2.8.14 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fcors/2.8.14?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fcors/2.8.14?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fcors/2.8.13/2.8.14?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fcors/2.8.13/2.8.14?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 21:54:24 +00:00
renovate[bot]
88bd1bd2fb
chore(deps): update dependency @types/bcryptjs to v2.4.3 ( #4692 )
...
[![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/bcryptjs](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bcryptjs )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped )) |
[`2.4.2` ->
`2.4.3`](https://renovatebot.com/diffs/npm/@types%2fbcryptjs/2.4.2/2.4.3 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fbcryptjs/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fbcryptjs/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fbcryptjs/2.4.2/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fbcryptjs/2.4.2/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 19:58:13 +00:00
renovate[bot]
501d274ad2
chore(deps): update dependency @babel/core to v7.22.15 ( #4691 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core )
([source](https://togithub.com/babel/babel )) | [`7.22.10` ->
`7.22.15`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.22.10/7.22.15 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.22.15?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.22.15?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.22.10/7.22.15?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.22.10/7.22.15?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel (@​babel/core)</summary>
###
[`v7.22.15`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72215-2023-09-04 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.11...v7.22.15 )
##### 🐛 Bug Fix
- `babel-core`
- [#​15923](https://togithub.com/babel/babel/pull/15923 ) Only
perform config loading re-entrancy check for cjs
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🏠 Internal
- `babel-cli`, `babel-core`, `babel-generator`,
`babel-helper-builder-binary-assignment-operator-visitor`,
`babel-helper-compilation-targets`,
`babel-helper-create-class-features-plugin`,
`babel-helper-create-regexp-features-plugin`,
`babel-helper-member-expression-to-functions`,
`babel-helper-module-imports`, `babel-helper-module-transforms`,
`babel-helper-transform-fixture-test-runner`,
`babel-helper-validator-identifier`, `babel-helper-validator-option`,
`babel-helpers`, `babel-node`, `babel-parser`,
`babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression`,
`babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-destructuring-private`,
`babel-plugin-proposal-pipeline-operator`,
`babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-block-scoping`,
`babel-plugin-transform-classes`,
`babel-plugin-transform-destructuring`, `babel-plugin-transform-for-of`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-object-rest-spread`,
`babel-plugin-transform-optional-chaining`,
`babel-plugin-transform-parameters`,
`babel-plugin-transform-property-mutators`,
`babel-plugin-transform-react-jsx`, `babel-plugin-transform-runtime`,
`babel-plugin-transform-typescript`, `babel-preset-env`,
`babel-preset-flow`, `babel-preset-react`, `babel-preset-typescript`,
`babel-register`, `babel-standalone`, `babel-template`,
`babel-traverse`, `babel-types`
- [#​15892](https://togithub.com/babel/babel/pull/15892 ) Add
explicit `.ts`/`.js` extension to all imports in `src`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
###
[`v7.22.11`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72211-2023-08-24 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.10...v7.22.11 )
##### 🐛 Bug Fix
- `babel-plugin-transform-typescript`
- [#​15882](https://togithub.com/babel/babel/pull/15882 ) Fix:
fully remove TS nested type-only exported namespaces
([@​yangguansen](https://togithub.com/yangguansen ))
- `babel-types`
- [#​15867](https://togithub.com/babel/babel/pull/15867 ) fix:
definition of TS function type params
([@​danez](https://togithub.com/danez ))
- `babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-class-static-block`,
`babel-plugin-transform-dynamic-import`,
`babel-plugin-transform-export-namespace-from`,
`babel-plugin-transform-json-strings`,
`babel-plugin-transform-logical-assignment-operators`,
`babel-plugin-transform-nullish-coalescing-operator`,
`babel-plugin-transform-numeric-separator`,
`babel-plugin-transform-object-rest-spread`,
`babel-plugin-transform-optional-catch-binding`,
`babel-plugin-transform-optional-chaining`,
`babel-plugin-transform-private-property-in-object`
- [#​15858](https://togithub.com/babel/babel/pull/15858 )
fix(standalone): strip archived syntax plugins
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-core`
- [#​15850](https://togithub.com/babel/babel/pull/15850 ) Support
configuring cache in ESM configs
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🏠 Internal
- `babel-parser`
- [#​10940](https://togithub.com/babel/babel/pull/10940 ) Do not
record trailing comma pos when `maybeAsyncArrow: false`
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-core`, `babel-helper-compilation-targets`, `babel-parser`,
`babel-plugin-proposal-destructuring-private`,
`babel-plugin-syntax-decorators`, `babel-preset-env`,
`babel-preset-react`, `babel-register`, `babel-traverse`, `babel-types`
- [#​15872](https://togithub.com/babel/babel/pull/15872 ) enable
jest/no-standalone-expect
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-core`, `babel-helpers`,
`babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-regenerator`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#​15833](https://togithub.com/babel/babel/pull/15833 ) bump
json5, terser and webpack, further minimize babel helpers
([@​JLHwung](https://togithub.com/JLHwung ))
- Other
- [#​15846](https://togithub.com/babel/babel/pull/15846 ) Use Babel
8.0 alpha to build babel
([@​JLHwung](https://togithub.com/JLHwung ))
- [#​15856](https://togithub.com/babel/babel/pull/15856 ) Exclude
redundant files from publish process
([@​JLHwung](https://togithub.com/JLHwung ))
##### 🔬 Output optimization
- `babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-classes`,
`babel-plugin-transform-optional-chaining`, `babel-preset-env`
- [#​15871](https://togithub.com/babel/babel/pull/15871 ) Simplify
`?.` output when chain result is ignored
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 19:57:48 +00:00
Fredrik Strand Oseberg
78273e4ff3
chore: dora cleanup ( #4676 )
...
This PR adds:
* Generated types for useProjectDoraMetrics
* Mobile enhancements
* Tooltips
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-09-13 15:50:42 +02:00
Fredrik Strand Oseberg
99308a7054
fix: add additionalproperties to the sdkContextSchema ( #4682 )
...
This was changed a month ago, but it ends up breaking the frontend when
we regenerate the types because the playground needs to have this
structure for now. We'll need to add this back until we can rewrite the
playground to follow the schema.
2023-09-13 12:39:36 +02:00
Mateusz Kwasniewski
14423c5870
feat: Limit exclude archived features ( #4680 )
2023-09-13 11:48:22 +02:00
Thomas Heartman
392beee114
feat: add implicit surrounding ^
and $
to patterns ( #4664 )
...
This PR updates the back-end handling of feature naming patterns to add
implicit leading `^`s and trailing `$`s to the regexes when comparing
them.
It also adds tests for the new behavior, both for new flag names and for
examples.
## Discussion points
Regarding stripping incoming ^ and $: We don't actually need to strip
incoming `^`s and `$`s: it appears that `^^^^^x$$$$$` is just as valid
as `^x$`. As such, we can leave that in. However, if we think it's
better to strip, we can do that too.
Second, I'm considering moving the flag naming validation into a
dedicated module to encapsulate everything a little better. Not sure if
this is the time or where it would live, but open to hearing
suggestions.
2023-09-13 10:50:37 +02:00
andreas-unleash
8b452084f3
fix: validation for variant payload number type ( #4671 )
...
Adds validation to number type for variants
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-09-13 10:23:39 +03:00
Nuno Góis
4de8ea2553
fix: post global events even when filtering by env ( #4672 )
...
https://linear.app/unleash/issue/2-1276/deal-with-events-without-an-environment
This makes it so that global events (events not tied to a specific
environment) are always received, no matter the configured environment
filter.
It also includes a respective test and small sentence on the UI
explaining the behavior.
![image](https://github.com/Unleash/unleash/assets/14320932/021a3622-78fe-45af-b68c-dde0813f32f0 )
2023-09-13 08:22:18 +01:00
Thomas Heartman
43878230b7
UI: make project settings / creation form full-width ( #4675 )
...
This PR makes the project settings / creation forms grow to take up the
full available width, so that it is in line with the new designs.
2023-09-13 06:38:18 +00:00
Thomas Heartman
f49cc8cd33
feat: update UI to add hints about implicit ^ and $ ( #4667 )
...
This PR updates the UI to reflect the changes to the implicit ^ and $
that we now add. The changes are:
1. Show input adornments for ^ and $ when you create a pattern.
2. Mention that ^ and $ are added implicitly in description.
3. Checks the example you provide against the pattern with added ^ and $
+ adds a test for that.
Points 1 and 2:
![image](https://github.com/Unleash/unleash/assets/17786332/88c610b4-444b-4a83-a50a-4b7639614a86 )
## Discussion point:
I have not touched the information about the pattern yet as the PR that
updates that is still in review (#4656 ), but it would be prudent to also
update that info to make it clearer. I can address that in a follow-up
PR.
2023-09-13 06:22:55 +00:00
Thomas Heartman
03d6ed0c32
ui: update design for feature naming pattern info ( #4656 )
...
This PR updates the design for the feature naming pattern info. In doing
so, I've extracted the information into a single component.
It also, on @nicolaesocaciu's behest, makes the new toggle form inputs
wider when they have room to grow.
Light mode:
![image](https://github.com/Unleash/unleash/assets/17786332/0923cf95-18e3-4524-8402-7f42a0ac94ec )
Dark mode:
![image](https://github.com/Unleash/unleash/assets/17786332/c2a07f73-8973-42d0-b94a-d7dc4ec38a25 )
For copying features it looks like this:
![image](https://github.com/Unleash/unleash/assets/17786332/2a39f17b-4d86-408c-8f3b-5f2b24e82c81 )
2023-09-13 08:05:58 +02:00
Gastón Fournier
c39d815516
fix: API improvements aligning the types to our schemas ( #4650 )
...
Some of our types in OSS have drifted apart from our OpenAPI schemas.
This will help them be aligned again
2023-09-12 15:40:57 +02:00
Mateusz Kwasniewski
2b2f5e20fa
feat: Import limit validation ( #4669 )
2023-09-12 15:36:19 +02:00
Tymoteusz Czech
ed6547b6f1
fix: integrations UI ( #4670 )
...
## About the changes
UI adjustments - text, spacing
Co-authored-by: NicolaeUnleash <103567375+NicolaeUnleash@users.noreply.github.com>
2023-09-12 15:45:51 +03:00
Tymoteusz Czech
dbaa386697
feat: Edge integration page ( #4657 )
...
## About the changes
![image](https://github.com/Unleash/unleash/assets/2625371/6f4dcf7f-c3cf-45a2-9525-2965c31b6d89 )
2023-09-12 14:25:38 +02:00
Thomas Heartman
44db4fb0c3
1-1360: explain implicit ^ and $ in docs ( #4668 )
...
Update docs to explain that ^ and $ are implicit in the regexes used.
2023-09-12 14:23:19 +02:00
Mateusz Kwasniewski
4dcbb4b997
feat: check toggle limit on import ( #4665 )
2023-09-12 13:53:04 +02:00
Jaanus Sellin
0cd0d2f153
fix: last seen environment remove duplicate entries ( #4663 )
2023-09-12 11:43:01 +03:00
Thomas Heartman
9114969869
feat: make import/export work with project patterns ( #4652 )
...
This PR adds feature name pattern validation to the import validation
step. When errors occur, they are rendered with all the offending
features, the pattern to match, plus the pattern's description and
example if available.
![image](https://github.com/Unleash/unleash/assets/17786332/69956090-afc6-41c8-8f6e-fb45dfaf0a9d )
To achieve this I've added an extra method to the feature toggle service
that checks feature names without throwing errors (because catching `n`
async errors in a loop became tricky and hard to grasp). This method is
also reused in the existing feature name validation method and handles
the feature enabled chcek.
In doing so, I've also added tests to check that the pattern is applied.
2023-09-12 10:19:40 +02:00
Jaanus Sellin
980461ef18
feat: hide project settings for OSS ( #4662 )
2023-09-12 09:39:55 +03:00
andreas-unleash
1cd0edb11a
feat: variant with number payload ( #4654 )
...
Adds `number` as possible payload type for variant.
Adds a flag to enable the feature
Updates all relevant models and schemas
Adds the option to the UI
Closes: #
[1-1357](https://linear.app/unleash/issue/1-1357/support-number-in-variant-payload )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-09-11 16:57:42 +03:00
Nuno Góis
c6af38b12b
docs: add mention of multiple project roles ( #4648 )
...
https://linear.app/unleash/issue/2-1130/documentation-about-multiple-project-roles
- Adds a section for the feature in the "Role-based Access control"
reference doc;
- Removes the mention that "Groups that *do* have a root role can't be
assigned to a project." which is no longer true;
- Adds a reference to multiple project roles in the "How to create and
assign custom project roles" guide;
- Fixes a wrong sentence in the "Assigning custom project roles" section
of the aforementioned guide;
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-09-11 14:41:47 +01:00
Thomas Heartman
4de3ff3d2f
docs: feature flag naming patterns ( #4632 )
...
This PR adds a reference doc and a how-to doc for feature flag naming
patterns.
Extra thanks to @sebastian-bury for the draft from the offsite 👏🏼
2023-09-11 15:28:10 +02:00
Tymoteusz Czech
f88e15c45c
Fix: integrations form ( #4655 )
...
## About the changes
Fix submitting integrations form
2023-09-11 12:26:40 +00:00
Mateusz Kwasniewski
ba73d9a0d1
feat: keyboard navigation in search ( #4651 )
2023-09-11 12:53:31 +02:00
Jaanus Sellin
77fbac01e4
feat: remove newApplicationsList feature flag ( #4653 )
2023-09-11 12:28:43 +02:00
Tymoteusz Czech
a9ac81a089
feat: useUiFlag shorthand hook ( #4566 )
...
## About the changes
Instead of this:
```ts
const { uiConfig } = useUiConfig();
const myFlag = Boolean(uiConfig?.flags?.myFlag)
```
we can have this:
```ts
const myFlag = useUiFlag("myFlag")
```
With the same type safety, less verbose and more purposeful code.
### Important files
- `frontend/src/hooks/useUiFlag.ts`
## Discussion points
Can we in the future share flags between frontend and backend? Right now
adding a new flag has to be done in 4 different places (backend flag
keys list, backend flags defaults config, backend experimental server
options, frontend type).
Most ergonomic option is to pull config directly from Unleash.
Issue, based on previous user feedback:
https://github.com/Unleash/unleash/issues/4565
Internal feature request document:
[docs.google.com/document/d/1Sx0q...](https://docs.google.com/document/d/1Sx0qKZXUVUCjuY5F4MOh1ieOM1A2_jE58zEA7jaM_1g/edit?usp=sharing )
2023-09-11 10:01:20 +02:00
Fredrik Strand Oseberg
f6a157f2f5
fix: add experimental flag ( #4649 )
2023-09-08 16:52:10 +03:00
Fredrik Strand Oseberg
26ade79d66
Fix/dora polish ( #4645 )
...
This PR includes:
* Tests for retrieving lead time per feature toggle and project average
* Feedback component
2023-09-08 14:18:58 +02:00
Jaanus Sellin
0b5a7b7d36
feat: add plausible to integrations ( #4647 )
2023-09-08 15:01:12 +03:00
Nuno Góis
61174a1d9c
fix: multi project roles UI improvements ( #4646 )
...
https://linear.app/unleash/issue/2-1373/small-ui-fixes-and-improvements
- Update group root role `HelpIcon` tooltip to reflect the new behavior;
- Fixes a crash on groups search where `description` could be
`undefined`;
- Improves `RoleDescription` design;
- Fixes the role label in `ProjectGroupView`;
![image](https://github.com/Unleash/unleash/assets/14320932/f16ebe98-9408-4edd-8e2b-1e56ba2ad5c6 )
2023-09-08 11:42:58 +01:00
David Leek
10a62642d7
chore: return 404 when adding environment to project that doesnt exist ( #4635 )
...
## About the changes
Returns a 404 response instead of 500 when trying to set an environment
on a project that doesn't exist
2023-09-08 12:36:13 +02:00
Tymoteusz Czech
2aa63fbacd
fix: addon schema validation ( #4643 )
...
Fix addon schema breaking build
2023-09-08 09:39:57 +00:00
Tymoteusz Czech
b835efc0ad
feat: edge integrations page ( #4639 )
2023-09-08 10:49:30 +02:00
Tymoteusz Czech
042e8d097a
feat: link to request integration ( #4634 )
...
## About the changes
![image](https://github.com/Unleash/unleash/assets/2625371/5c0852d2-28cf-4272-8892-e36de782ab61 )
https://linear.app/unleash/issue/1-1343/request-integration
2023-09-08 11:46:27 +03:00
Tymoteusz Czech
dff0420ca8
feat: proxy and edge integration cards ( #4636 )
2023-09-08 10:45:37 +02:00
Simon Hornby
2b210a85fd
docs: update compatibility matrix with strategy variants ( #4626 )
2023-09-08 10:34:04 +02:00
Jaanus Sellin
bc0c6fcb62
fix: fix failing group service test ( #4642 )
2023-09-08 11:32:21 +03:00
Jaanus Sellin
c59b83b07b
feat: integration urls, ux ( #4640 )
2023-09-08 10:21:11 +03:00
Gastón Fournier
feab6db76e
Revert "fix: api token schema" ( #4638 )
...
Reverts Unleash/unleash#4633 because of
https://github.com/Unleash/unleash/pull/4633#issuecomment-1710122769
2023-09-07 15:25:49 +02:00
Jaanus Sellin
cd2eac23ef
feat: official sdks ( #4637 )
2023-09-07 16:19:52 +03:00
Tymoteusz Czech
e97859af91
Integrations form ( #4622 )
...
## About the changes
Redesigned/refactored integrations form.
![image](https://github.com/Unleash/unleash/assets/2625371/9f3ad019-e367-4f89-932d-539d7a370f88 )
Closes
[1-1298/resesign-of-integrations-form](https://linear.app/unleash/issue/1-1298/resesign-of-integrations-form )
2023-09-07 10:27:46 +00:00
Gastón Fournier
fe51b501e6
fix: api token schema ( #4633 )
...
## About the changes
Create api token schema can either provide the field `project` or its
plural: `projects` so the joi validation makes them optional:
2be77fb55e/src/lib/schema/api-token-schema.ts (L20-L24)
This means that when returning the token, the response will either
contain `project` or `projects` depending on what was provided as input.
Therefore we need to make both fields optional in the response
2023-09-07 12:23:53 +02:00
Tymoteusz Czech
2be77fb55e
feat: integration sections ( #4631 )
...
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2023-09-07 09:20:12 +00:00
Jaanus Sellin
1d414db982
feat: jira plugin page ( #4627 )
...
![image](https://github.com/Unleash/unleash/assets/964450/b58d3d27-4939-42b0-bf0d-51a31aa93dde )
![image](https://github.com/Unleash/unleash/assets/964450/acceedc4-9d53-461a-910f-b60dae0d6b6a )
2023-09-07 11:51:50 +03:00
Thomas Heartman
3b754ec7ed
1-1342: show flag naming pattern info when you copy toggles ( #4629 )
...
Because you need to match the pattern when copying toggles, it's
important that we show the required information to the user.
This change adds information about the pattern to the page. This isn't
its final design, but it's more important that the information is
there (to avoid user frustration) than that it is pretty.
2023-09-07 10:22:13 +02:00
Nuno Góis
cfbf47d6bd
refactor: clean up no longer used PAT methods ( #4621 )
...
This cleans up some PAT-related methods that are no longer used.
2023-09-07 09:48:55 +02:00