1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-23 20:07:40 +02:00
Commit Graph

6361 Commits

Author SHA1 Message Date
Thomas Heartman
5340ca28fc move subcomponent into wrapper 2022-02-27 14:59:33 +01:00
Thomas Heartman
35a939b895 feat: start splitting component up into multiple pieces. 2022-02-27 14:37:44 +01:00
Thomas Heartman
211b18c4a3 feat: start adding state logic to component. 2022-02-26 21:38:07 +01:00
Renovate Bot
ecfa80746b chore(deps): update dependency eslint to v8.10.0 2022-02-26 01:54:23 +00:00
Renovate Bot
dc33678c48 chore(deps): update dependency sass to v1.49.9 2022-02-25 16:23:45 +00:00
Thomas Heartman
6e2072bca4 chore: first feedback page 2022-02-25 17:10:29 +01:00
Thomas Heartman
532f0cb634 fix: explicitly set background for the light theme
the default is for it to be transparent, which causes issues when
you're overlaying components with the default background color.
2022-02-25 16:39:25 +01:00
Thomas Heartman
43597687df fix: make css module loading work as expected. 2022-02-25 16:38:32 +01:00
Youssef Khedher
470e3b9656 fix: remove console log 2022-02-25 16:26:09 +01: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
Thomas Heartman
790bd4da0f chore: support css modules in storybook 2022-02-25 15:37:04 +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
Thomas Heartman
4a795966d1 docs: change primary color for light theme to unleash purple 2022-02-25 13:32:52 +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
Thomas Heartman
a6191f5ab8 feat: rough style first question page of feedback component. 2022-02-25 12:57:13 +01:00
Renovate Bot
1a21048c71 chore(deps): pin dependency @testing-library/dom to 8.11.3 2022-02-25 11:24:09 +00:00
Christopher Kolstad
8906bf99ff
4.8.1 2022-02-25 11:30:15 +01: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
Thomas Heartman
32bff186f3
Merge pull request #1395 from Unleash/docs/update-environments
docs: remove "future enhancements" section of environments doc
2022-02-25 10:07:00 +01:00
Youssef
ddd7a2caaf feat: add search functionality 2022-02-25 09:14:07 +01:00
Thomas Heartman
3302e66ab1 docs: remove "future enhancements" section of environments doc
These things are either implemented or just around the corner now. I
suggest removing them to not be misleading anymore. Case in point: we
just had a customer asking us when the permissions system would be
ready because the docs say it's planned as a future improvement.
2022-02-25 09:10:22 +01:00
Christopher Kolstad
3704f93ff5
fix: readd orderBy statement to project query (#1394) 2022-02-25 08:32:12 +01:00
Youssef
c141f91abd fix: handle context name error without making an api call 2022-02-24 19:54:10 +01:00
Thomas Heartman
aa3fb6c4e2 chore: rename styles to module, add more focus styles 2022-02-24 18:00:03 +01:00
Thomas Heartman
39f4d73d59 feat: add basic (sorta styled) first feedback screen 2022-02-24 17:42:53 +01:00
Thomas Heartman
0160eb8ef3 docs: swizzle root and add feedback component 2022-02-24 16:28:05 +01:00
Youssef
e1308f7613 refactor: update remove project function 2022-02-24 15:51:50 +01:00
Ivar Conradi Østhus
d401a8bd59
4.8.0 2022-02-24 14:12:04 +01:00
Ivar Conradi Østhus
2d4727d25d fix: remove project column from roles if exists 2022-02-24 14:08:41 +01:00
Ivar Conradi Østhus
48e09dbc2a fix: add migration patch
This patch will fix issues introduced in Unleash v3.13.0. It only
affects users trying to upgrade from v3 to v4 and has been using
v3.13.0 which contained an incorrect migration file.
2022-02-24 14:08:41 +01:00
Renovate Bot
6e09fa424e fix(deps): update dependency unleash-frontend to v4.8.0 2022-02-24 11:11:46 +00:00
sighphyre
c2b946bf28
Merge pull request #1381 from Unleash/docs/update-compat-table-for-constraints
docs: Advanced constraints compatibility
2022-02-24 11:36:38 +02: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