Ivar Conradi Østhus
670b97dede
fix: set suggested min value to 0 ( #2363 )
...
This PR does one thing, it sets the y-axis to start at "0" when showing
request counts over time.
![image](https://user-images.githubusercontent.com/158948/200946347-b3e803c6-6ace-4ecc-b5cf-aa92a5505331.png )
fixes #2107
2022-11-09 21:43:13 +00:00
renovate[bot]
343e561bc4
chore(deps): update dependency jsdom to v20.0.2 ( #2355 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [jsdom](https://togithub.com/jsdom/jsdom ) | [`20.0.1` ->
`20.0.2`](https://renovatebot.com/diffs/npm/jsdom/20.0.1/20.0.2 ) |
[![age](https://badges.renovateapi.com/packages/npm/jsdom/20.0.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/jsdom/20.0.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/jsdom/20.0.2/compatibility-slim/20.0.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/jsdom/20.0.2/confidence-slim/20.0.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>jsdom/jsdom</summary>
###
[`v20.0.2`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#​2002 )
[Compare
Source](https://togithub.com/jsdom/jsdom/compare/20.0.1...20.0.2 )
- Fixed `xhr.abort()` to no longer give an exception when the
constructed `XMLHttpRequest` was invalid. (whamtet)
- Fixed `event.getModifierState()` on `MouseEvent` and `KeyboardEvent`
instances to properly consult the `ctrlKey`, `altKey`, `metaKey`, and
`shiftKey` properties of the event. (juzerzarif)
- Fixed custom element creation to not be affected by any modifications
to the `window.customElements` property. (bicknellr)
</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://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 19:53:39 +00:00
Mateusz Kwasniewski
b9f55a3fbc
fix sidebar width ( #2359 )
2022-11-09 16:50:48 +01:00
Thomas Heartman
b61dbbd718
fix: remove lexical illusion in playground guidance ( #2360 )
...
## What
I have removed a lexical illusion lexical illusion in this guidance
step, where "context field" was repeated.
## Why
Because it's unintended and doesn't make any sense in the the sentence.
2022-11-09 13:56:34 +00:00
sjaanus
ff11f30e1d
Change request approvers displaying in UI ( #2358 )
...
This PR adds UI for approvers to the change requests feature.
2022-11-09 13:35:09 +02:00
sjaanus
5e14e80ae3
Change request approvals table ( #2347 )
...
1. Added database table for change request approvals
2. Removed separate endpoint for applying. **Now all state changes will
go through same endpoint.**
2022-11-09 10:40:47 +02:00
Tymoteusz Czech
d998f4c67a
feat: suggest strategy from template ( #2340 )
2022-11-09 08:29:33 +00:00
Mateusz Kwasniewski
aa9aa6fb4a
styling change request sidebar ( #2350 )
2022-11-08 16:16:30 +01:00
Mateusz Kwasniewski
88a9e0cb9b
feat: stateful banner ( #2346 )
...
Conditional banner for change request status
2022-11-08 12:56:28 +01:00
Mateusz Kwasniewski
c6f906159b
feat: env check in change requests ( #2336 )
2022-11-07 09:16:29 +01:00
Nuno Góis
9577a81528
fix: clone environment creating token everytime ( #2335 )
2022-11-04 12:12:07 +00:00
Mateusz Kwasniewski
065833e5d1
feat: display change details ( #2327 )
...
* feat: display change details
* refactor: reorganize components
* feat: display deleted strategy name if present
* feat: UI tweaks
* fix: types
* refactor: remove unnecessary checks for types
2022-11-04 12:52:47 +01:00
Tymoteusz Czech
4b281d9513
Change request - edit strategy ( #2334 )
...
* feat: request change - add strategy
* refactor: use change request is-enabled hook
* feat: edit strategy
* fix: prettier formatting
* fix: refetch change request draft after adding
2022-11-04 11:55:45 +01:00
Tymoteusz Czech
d2000f2848
feat: request change - add strategy ( #2330 )
...
* feat: request change - add strategy
* refactor: use change request is-enabled hook
2022-11-04 11:25:06 +01:00
andreas-unleash
c1e0bd83b0
Frontend - Suggest change copy strategy ( #2312 )
...
* Suggest change copy strategy
* Fix merge conflicts
* Copy strategies from other environment added to draft
* Copy strategies from other environment added to draft
* Copy strategies from other environment added to draft
* Copy strategies from other environment added to draft
* fmt
* PR comments
* PR comments
* PR comments
* PR comments
* Fix: Conditionally hide Change Requests tab
2022-11-04 11:33:07 +02:00
Mateusz Kwasniewski
fae7de0d5d
refactor: hook for change requests ( #2331 )
...
* refactor: hook for change requests
* Update frontend/src/component/project/Project/ProjectFeatureToggles/ProjectFeatureToggles.tsx
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
* Update frontend/src/component/project/Project/Project.tsx
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
* Update frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvSwitches/FeatureOverviewEnvSwitch/FeatureOverviewEnvSwitch.tsx
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
* Update frontend/src/component/feature/FeatureStrategy/FeatureStrategyRemove/FeatureStrategyRemove.tsx
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
* fix: fix imports
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-11-04 09:50:00 +01:00
andreas-unleash
46076fcbc8
Fix: Conditionally hide Change Requests tab ( #2329 )
2022-11-04 10:17:37 +02:00
sjaanus
f0a929044d
Change request API draft to open ( #2320 )
...
Draft to open
2022-11-04 09:44:56 +02:00
Ivar Conradi Østhus
0717b281fa
fix: update resolutions
2022-11-03 15:38:51 +01:00
Fredrik Strand Oseberg
d8db33ac7f
Feat/change request overview applied state ( #2322 )
...
* feat: review button
* feat: add review button
* fix: add to box
* fix: separate function calls
* fix: comment out reviewers
* fix: type
2022-11-03 12:43:03 +01:00
Mateusz Kwasniewski
147408045b
feat: suggest remove strategy UI ( #2321 )
...
* feat: suggest remove strategy UI
* add delete strategy to draft
* refactor: extract hooks
* refactor: consistent fn usage
2022-11-03 12:26:35 +01:00
Ivar Conradi Østhus
4937b23e16
fix: remove duplicate formatApiPath in userUiConfigApi hook ( #2318 )
2022-11-03 08:47:16 +01:00
Tymoteusz Czech
0a855604af
feat: review your draft sidebar ( #2305 )
...
* refactor playground status chip component
* fix: update change request sidebar
* refactor: status badge cleanup
* fix: prettier formatting
2022-11-02 16:05:27 +01:00
Fredrik Strand Oseberg
2f1f9cecc2
feat: change request header ( #2317 )
...
* feat: change request header
* fix: dom nesting paragraphs
* fix: change path
2022-11-02 14:23:44 +01:00
Mateusz Kwasniewski
6622346286
Add stable row id. ( #2315 )
...
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-11-02 12:55:20 +01:00
Fredrik Strand Oseberg
9b10a8815b
Feat/review page timeline ( #2310 )
...
* fix: styling
* feat: overview timeline
* fix: rename types
* fix: pr comments
2022-11-02 11:14:26 +01:00
Nuno Góis
9fb431aab7
fix: limit total of PATs a user can have ( #2301 )
...
* fix: limit total of PATs a user can have
* increase PAT limit to 10
* Update src/lib/services/pat-service.ts
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* disable button on the front-end when PAT limit is reached
* import from server instead of repeating ourselves
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2022-11-02 08:11:35 +00:00
sjaanus
5dd8616c74
Rename suggest changes to change request ( #2311 )
...
* Rename change request
* Merge with review status
* Move events and permissions
2022-11-02 08:34:14 +02:00
Fredrik Strand Oseberg
da102a3e98
Feat/review page states ( #2309 )
...
* feat: review status draft
* feat: add review status styles
2022-11-01 10:55:03 +01:00
Tymoteusz Czech
f39d1021d0
feat: discard suggested draft change ( #2285 )
...
* feat: discard suggested draft change
* fix: suggest changes api frontend integration
* fix suggested changes discard
2022-10-31 12:46:54 +00:00
Fredrik Strand Oseberg
15c22d7630
feat: integrate with API for suggest changes ( #2286 )
...
* feat: integrate with API for suggest changes
* fix: suggestions table tabs state (#2287 )
* fix: suggestions table tabs state
* fix suggestion header padding
* fix: update snapshots
* fix: pr comments
* fix: revert store change
* fix: revert store fix
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-10-31 12:46:31 +01:00
Nuno Góis
07821174a5
refactor: remove PAT experimental flag ( #2299 )
2022-10-31 09:38:30 +00:00
Nuno Góis
ce6d2e56bc
fix: only show link to create segment if you have permission ( #2291 )
2022-10-31 08:45:31 +00:00
renovate[bot]
670836061c
chore(deps): update dependency @vitejs/plugin-react to v2.2.0 ( #2281 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-28 21:28:28 +00:00
renovate[bot]
4dda82263e
chore(deps): update dependency vite to v3.2.1 ( #2282 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-28 18:21:39 +00:00
Nuno Góis
09cb61c719
fix: small UI fixes to the clone environment modal ( #2290 )
...
fix: small UI fixes to the environment modal
2022-10-28 16:05:27 +01:00
Simon Hornby
7e03fba6cd
make prettify large number tests independent of locale ( #2284 )
2022-10-28 14:47:44 +02:00
andreas-unleash
d48cfc8585
Feat/frontend changeset list ( #2264 )
...
* ChangesetTable initial
* ChangesetTable bug fixes
* Added tabs
* Add Applied and Cancelled badges
* fix alignment
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* replace updatedAt with createdAt
* bug fix
* bug fix
2022-10-28 10:24:13 +02:00
Nuno Góis
d2324ee91f
Feat clone environment modal ( #2245 )
...
* add clone environment modal base skeleton (WIP)
* refactor HelpIcon common component, fix group form
* add more fields to clone env modal, multi project selector
* implement initial payload signature
* reflect latest design decisions
* misc ui fixes
* update UI to the new designs, change back clone option to use flag
* set env limit to 15
* Update frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentCloneModal/EnvironmentCloneModal.tsx
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* Update frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentCloneModal/EnvironmentCloneModal.tsx
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* Update frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentCloneModal/EnvironmentCloneModal.tsx
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* Update frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentCloneModal/EnvironmentCloneModal.tsx
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* address PR comments
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2022-10-28 09:15:46 +01:00
renovate[bot]
8d6084de45
chore(deps): update emotion monorepo to v11.10.5 ( #2279 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-28 09:44:02 +02:00
Tymoteusz Czech
b7183fdf98
feat: get suggested changeset draft ( #2274 )
...
* feat: get suggested changeset draft
* fix: update routes snapshot
2022-10-28 09:43:49 +02:00
Tymoteusz Czech
c6c873d67d
feat: add changes to draft ( #2271 )
...
* feat: add changes to draft
* Make domain type and schema match
* Deleting change from changeset
* Add ability to merge
* Revert "Add ability to merge"
This reverts commit 504e7e796e
.
* gRevert "Deleting change from changeset"
This reverts commit 2effc20378
.
* Revert "Make domain type and schema match"
This reverts commit 079f46c0db
.
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2022-10-28 09:37:55 +02:00
renovate[bot]
7a5c4ba34c
chore(deps): update dependency @types/react-dom to v17.0.18 ( #2278 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-28 00:38:23 +00:00
renovate[bot]
58eda0e87b
chore(deps): update dependency @types/react to v17.0.52 ( #2277 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-27 21:07:30 +00:00
renovate[bot]
09bf93f9dd
chore(deps): update dependency @types/semver to v7.3.13 ( #2267 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-27 06:44:24 +00:00
renovate[bot]
c4910750f3
chore(deps): update dependency @types/react to v17.0.51 ( #2259 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-27 03:48:46 +00:00
renovate[bot]
ed9b7f0a77
chore(deps): update dependency @codemirror/lang-json to v6.0.1 ( #2256 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-26 20:13:52 +00:00
Tymoteusz Czech
ea2cf144f9
Suggest changes dialog ( #2247 )
...
* refactor: suggested changes folder structure
* feat: add dialogue confirmation
2022-10-26 13:57:59 +02:00
Mateusz Kwasniewski
0dba973881
Feat/apply changes ( #2258 )
...
* feat: add suggested change component
* fix: build
* feat: suggestion header
* ui sketching different toggle changes
* feat: strategy change sets UI tweaks
* refactor: extract nested components
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-10-26 09:45:24 +02:00
Ivar Conradi Østhus
cf4fc2303b
Feat/stats service ( #2211 )
...
Introduces an instance stats service exposing usage metrics of the Unleash installation.
2022-10-25 13:10:27 +02:00