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

2223 Commits

Author SHA1 Message Date
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
ddd7a2caaf feat: add search functionality 2022-02-25 09:14:07 +01:00
Youssef
c141f91abd fix: handle context name error without making an api call 2022-02-24 19:54:10 +01:00
Youssef
e1308f7613 refactor: update remove project function 2022-02-24 15:51:50 +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
Youssef
e5c5250961 fix: replace empty name for admin in project access 2022-02-23 23:37:23 +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
f67ee17012 fix: add redirect to component PropTypes 2022-02-22 13:55:47 +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
Youssef
1796aeb3ea fix: update PR based on feedback 2022-02-21 16:24:07 +01: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
Youssef
a47d53d0f4 fix: remove console log 2022-02-21 14:06:54 +01:00
Youssef Khedher
79031bfb48 Merge branch 'main' into feat/redirect 2022-02-21 14:05:25 +01:00
Youssef
622c97a99f feat: add redirect to all auth components 2022-02-21 14:05:11 +01:00
olav
33b5e4abac feat: add new feature metrics page (#716)
* refactor: ensure that [hidden] overrides other display styles

* refactor: use numeric font weights

* refactor: remove unnecessary Jest mock

* refactor: add a fullWidth prop to GeneralSelect

* refactor: remove unnecessary label id prop

* refactor: the showActive prop is optional

* refactor: add hooks for managing query string state

* refactor: add a hour/minute timestamp formatter

* refactor: add labels to button icons

* feat: add new feature metrics page

* refactor: remove prev feature metrics page

* refactor: use new metric boxes on overview page

* refactor: lazy-load the new metrics page

* refactor: fix type error when formatting unknown error

* refactor: extract interfaces for props

* refactor: destructure all props

* refactor: expand arg names

* refactor: reorg component dirs and files

* refactor: improve chart element label

* refactor: hide chart dots until hover

* refactor: add section titles to environments/applications

* refactor: simplify FeatureMetricsHours types

* refactor: sort chart tooltip items

* refactor: add more chart labels

* refactor: always show a dot in single point charts

* refactor: improve chart tooltip styles

* refactor: adjut metric page spacing

* refactor: decrease legend box size

* refactor: move date fmt fn inline

* refactor: improve chart legend styles

* refactor: increase Cypress timeouts

* refactor: sort environment and application chips

* refactor: format files

* refactor: use stable lists of apps and envs

* refactor: fix FeatureMetrics dir name

* refactor: avoid ScrollToTop on query string change

* refactor: use ConditionallyRender instead of inline condition

* refactor: use makeStyles instead of styled API
2022-02-21 13:47:54 +01:00
Youssef
bcbfd3e38c feat: add redirect params to /login 2022-02-21 12:33:11 +01:00
Youssef
31d6035316 feat: add baseUrl to tsconfig and update imports 2022-02-20 21:08:02 +01:00