1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

1675 Commits

Author SHA1 Message Date
renovate[bot]
cd50f66dd5 chore(deps): update actions/checkout action to v2 (#589)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-28 09:28:01 +01:00
Renovate Bot
dc33678c48 chore(deps): update dependency sass to v1.49.9 2022-02-25 16:23:45 +00:00
Youssef Khedher
cdf2e487b7 Merge pull request #745 from Unleash/feat/create-ressources-buttons
feat: create resources buttons and update all forms
2022-02-25 15:37:35 +01:00
Youssef
b58cccc7d0 fix: merge conflicts 2022-02-25 15:28:38 +01:00
Youssef Khedher
b485a6c900 Merge pull request #749 from Unleash/fix/context-form-validation
fix: handle context name errors before submitting the form
2022-02-25 14:47:29 +01:00
Youssef Khedher
b582d3d294 Merge branch 'main' into fix/context-form-validation 2022-02-25 14:42:23 +01:00
Youssef
5a813743a2 style: fix unformatted file 2022-02-25 14:41:54 +01:00
dependabot[bot]
2ae7cbbb6a chore(deps): bump follow-redirects from 1.13.3 to 1.14.9 (#726)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.3 to 1.14.9.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.3...v1.14.9)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 14:23:20 +01:00
Youssef Khedher
19abd37b60 Merge branch 'main' into fix/context-form-validation 2022-02-25 14:02:42 +01:00
Youssef Khedher
a0a31efdd3 Merge pull request #737 from Unleash/fix/ui-consistency
refactor: make text in ui consistent
2022-02-25 14:02:01 +01:00
Youssef Khedher
a3f439ea17 Merge branch 'main' into fix/ui-consistency 2022-02-25 13:54:11 +01:00
Youssef Khedher
bdab830992 Merge pull request #738 from Unleash/fix/remove-toast-on-cancel
fix: remove toast when clicking cancel
2022-02-25 13:53:36 +01:00
Youssef Khedher
c0455962ec Merge branch 'main' into fix/context-form-validation 2022-02-25 13:52:00 +01:00
Youssef
9c48d0c63f fix: merge conflicts 2022-02-25 13:49:59 +01:00
Youssef
4898eee8d8 refactor: change error type in edit context 2022-02-25 13:46:14 +01:00
Youssef Khedher
29bc060794 Merge branch 'main' into fix/remove-toast-on-cancel 2022-02-25 13:44:55 +01:00
dependabot[bot]
e31782342d chore(deps): bump url-parse from 1.5.3 to 1.5.10 (#735)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 13:33:59 +01:00
dependabot[bot]
c7c5735d03 chore(deps): bump nanoid from 3.1.28 to 3.3.1 (#725)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.28 to 3.3.1.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.28...3.3.1)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 13:20:34 +01:00
Renovate Bot
1a21048c71 chore(deps): pin dependency @testing-library/dom to 8.11.3 2022-02-25 11:24:09 +00:00
olav
3959e846e8 refactor: fix misc TS errors (#729)
* refactor: update test deps

* refactor: remove unused ts-expect-error annotations

* refactor: add missing arg and return types

* refactor: the loading prop is optional

* refactor: add missing arg and return types

* reafactor: fix value arg type

* refactor: fix missing array type

* refactor: the parameters field is an array

* refactor: use undefined instead of null in state

* refactor: add missing params type

* refactor: add missing children prop

* refactor: add missing array type

* refactor: add missing React imports

* refactor: use correct IProjectEnvironment type

* refactor: type errors as unknown

* refactor: the index prop is required

* refactor: fix date prop type

* refactor: fix tooltip placement prop type

* refactor: fix environments state type

* refactor: add missing arg types

* refactor: add guard for undefined field

* refactor: fix ChangePassword prop types

* refactor: fix MUI import paths

* refactor: add missing arg type

* refactor: fix showDialog prop type

* refactor: remove unused openUpdateDialog prop

* refactor: add missing non-null assertion

* refactor: remove unused types prop

* refactor: stricten API error handler types

* refactor: add missing undefined check

* refactor: add missing IProject id field

* refactor: fix ConditionallyRender condition prop types

* refactor: remove unused args

* refactor: add AddVariant prop types

* refactor: add types to UIContext

* refactor: fix event arg type

* refactor: add missing default impressionData field

* refactor: fix handleDeleteEnvironment prop args

* refactor: fix IFeatureMetrics field requirements

* refactor: add missing element types to ConditionallyRender

* refactor: remove unused ProjectAccess projectId prop

* refactor: add missing undefined check

* refactor: fix getCreateTogglePath arg type

* refactor: add missing IStrategyPayload import

* refactor: remove unused user arg

* refactor: add missing event arg type

* refactor: add missing style object types

* refactor: improve userApiErrors prop type

* refactor: the Dialogue onClose prop is optional

* refactor: fix the AddonEvents setEventValue prop type
2022-02-25 10:55:39 +01:00
olav
a4dab966a3 refactor: port date utils to TS (#720) 2022-02-25 10:40:55 +01:00
olav
19b16ed600 refactor: fix flaky Cypress tests (#746)
* refactor: normalize spec names

* refactor: make ESLint ignore dir

* refactor: port specs to TS

* refactor: wait for login redirects to finish

* refactor: remove static wait timers

* refactor: match any env name in interceptors

* refactor: move config vars to the top

* refactor: use longer IDs to avoid collisions

* refactor: misc cleanup

* refactor: disable screenshots and videos

* refactor: disable prod guard in tests

* refactor: wait for inputs before typing
2022-02-25 10:21:28 +01:00
Youssef
c141f91abd fix: handle context name error without making an api call 2022-02-24 19:54:10 +01:00
Youssef
396bb76c95 style: fix styles in CreateButton 2022-02-24 10:31:01 +01:00
Youssef
96dc6e811a refactor: update Create and Update buttons types 2022-02-24 10:05:51 +01:00
Youssef
5371e15333 refactor: change resourceCreateButton and SaveChangesButton name 2022-02-24 09:23:07 +01:00
Fredrik Oseberg
512b3d1e12 4.8.0 2022-02-24 09:14:13 +01:00
Youssef
af6542a291 feat: create ressources buttons and update all forms 2022-02-24 00:57:35 +01:00
Fredrik Oseberg
6d2ea5ebc6 4.8.0-beta.10 2022-02-23 17:23:34 +01:00
olav
47f6bc5829 refactor: remove chart point filter (#743) 2022-02-23 17:23:21 +01:00
Fredrik Strand Oseberg
3d93ed44d4 fix/search-header (#742)
* fix/search-header

* fix: update snapshots
2022-02-23 16:08:04 +01:00
Fredrik Oseberg
85f8977b52 4.8.0-beta.9 2022-02-23 15:09:24 +01:00
olav
94ecaa80a8 refactor: improve feature toggle search state (#741)
* refactor: rename createPersistentGlobalStateHook helper

* refactor: move features filter state out of localStorage

* refactor: show search state in page title

* refactor: remove unused import

* refactor: add a state chip to SearchField

* refactor: improve var names
2022-02-23 15:08:44 +01:00
Youssef Khedher
c3cf238110 Merge branch 'main' into fix/ui-consistency 2022-02-23 14:03:25 +01:00
Youssef
8429ba05a0 fix: update PR based on feedback 2022-02-23 13:57:12 +01:00
Youssef
8c9d4c556d test: update snapshots 2022-02-23 13:51:30 +01:00
Fredrik Strand Oseberg
38c26ec052 fix: set admin permission (#736) 2022-02-23 13:47:32 +01:00
Youssef
b0ba4f3a9d fix: remove tooltips 2022-02-23 13:45:37 +01:00
Renovate Bot
9e0eec10ba chore(deps): update dependency @types/jest to v27.4.1 2022-02-23 11:56:26 +00:00
Youssef
cdbf395aa2 fix: remove toast when clicking cancel 2022-02-23 01:29:28 +01:00
Youssef
aae8c4d9d9 refactor: update text in ui consistent 2022-02-23 00:10:48 +01:00
Fredrik Oseberg
67f73ff598 4.8.0-beta.8 2022-02-22 22:49:16 +01:00
olav
ff433faad0 refactor: fix missing callback when the prod guard is hidden (#734) 2022-02-22 16:30:13 +01:00
Youssef Khedher
6468c5c57d Merge pull request #728 from Unleash/feat/simplify-imports
feat: add baseUrl to tsconfig
2022-02-22 13:38:58 +01:00
Youssef Khedher
aeaea9602c Merge branch 'main' into feat/simplify-imports 2022-02-22 00:23:56 +01:00
Renovate Bot
ebe52f5fb3 chore(deps): pin dependencies 2022-02-21 18:39:29 +00:00
Renovate Bot
1f3317cf6f chore(deps): update dependency swr to v1.2.2 2022-02-21 17:01:57 +00:00
Fredrik Oseberg
13dc88dab5 4.8.0-beta.7 2022-02-21 15:30:28 +01:00
Fredrik Oseberg
c8848fa247 4.8.0-beta.6 2022-02-21 15:22:47 +01:00
olav
49c25cbaa6 refactor: remove lazy loading for metrics page (#733) 2022-02-21 15:22:37 +01:00