Fredrik Oseberg
fa33bd3ddd
4.9.0-beta.0
2022-03-04 17:30:32 +01:00
Fredrik Strand Oseberg
2c1353d0ea
Feat/new constraints ( #718 )
...
* fix: add initial interface
* feat: create separate components
* feat: implement constraints for existing strategies
* feat: add searchfield
* fix: reset values on context change
* fix: key issue with duplicate values
* fix: increase auto hide duration of errors
* fix: types
* feat: resolve inputs
* fix: add date input
* fix: add filter
* fix: create strategy
* fix: remove unused deps
* feat: validation
* fix: type setError
* feat: handle currentTime based on client spec
* fix: date field
* feat: api validation
* fix: refactor
* fix: refactor
* feat: add compact
* fix: remove unused code
* feat: mobile optimisations
* fix: remove coalescing operator for constraint
* fix: clone deep
* fix: move parseDate
* fix: lift state up for value setting on dates
* fix: rename values
* fix: change type to interface
* fix: lazy initialise values
* fix: create operator type
* fix: update naming
* fix: naming
* fix: aria hidden
* fix: remove optional operator
* fix: rename new constraints
* fix: setup flag
* fix: refactor date check to date-fns
* fix: use date-fns for validation
* fix: detach validators from state
* refactor: move resolve input to it's own component
* fix: remove unused imports
* fix: change values container to overflow auto
* fix: update placeholder
* fix: update import
* fix: backwards compatability
* fix: hide paragraphs if not active
* fix: update path
* fix: update strategy text
2022-03-04 17:29:51 +01:00
olav
b3bf86ca84
refactor: expect existing TS errors ( #767 )
...
* refactor: expect existing TS errors
* refactor: fail build on new TS errors
2022-03-03 10:01:04 +01:00
Renovate Bot
cd764a1d99
chore(deps): update dependency @types/react-dom to v17.0.13
2022-03-02 21:16:57 +00:00
Youssef Khedher
b973232116
refactor: restore feature settings ( #712 )
...
* refactor: resotre feature settings
* fix: update PR based on feedback
* feat: add feature information in Metadata container
* fix: update PR based on feedback
* fix: update PR based on feedback
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-03-02 10:15:37 +01:00
Youssef
313ae6564b
fix: import ProjectCard
2022-03-01 22:23:23 +01:00
Youssef Khedher
a562bf06aa
Merge branch 'main' into fix/remove-project
2022-03-01 16:56:15 +01:00
Youssef Khedher
286b8b8604
Merge branch 'main' into feat/search-projects
2022-03-01 16:40:53 +01:00
Youssef Khedher
e36d3c13e5
Merge branch 'main' into feat/search-toggles-project
2022-03-01 16:33:55 +01:00
Youssef Khedher
3eeabbc4fc
Merge branch 'main' into feat/search-projects
2022-03-01 16:33:46 +01:00
Youssef Khedher
c1e6860b8f
Merge branch 'main' into fix/empty-name-admin
2022-03-01 15:56:49 +01:00
Youssef
3bcbd0fd50
style: use display instead of visibility
2022-03-01 15:42:30 +01:00
olav
b9a3be7b3a
refactor: fix misc TS errors ( #754 )
...
* refactor: fix PermissionSwitch event types
* refactor: fix variant payload field name
* refactor: fix IPermissionSwitchProps extension
* refactor: add missing types in AddFeatureVariant
* refactor: remove duplicate type
* refactor: fix FeatureToggleListNewItem ref type
* refactor: fix CreatedAt date prop type
* refactor: add missing anchorEl ref types
* refactor: fix createdAt prop value
* refactor: fix IFeatureToggleListNewItemProps environments prop type
* refactor: add missing ISelectOption type
* refactor: fix ResponsiveButton prop types
2022-03-01 13:22:47 +01:00
olav
a78ae20fd6
refactor: remove unused deps ( #757 )
...
* refactor: remove unused script
* refactor: remove unused deps
2022-03-01 12:58:14 +01:00
olav
c7dedecf70
refactor: remove craco and wdyr ( #753 )
2022-03-01 10:56:38 +01:00
olav
58667565f2
refactor: fix sorting features by last seen and created at ( #755 )
2022-03-01 10:35:20 +01:00
Youssef
0c0ae552f4
fix: add mobile view for search
2022-03-01 10:24:18 +01:00
Youssef
14154b605a
fix: update PR based on feedback
2022-03-01 09:50:29 +01:00
Youssef Khedher
57268fb083
Merge branch 'main' into feat/search-toggles-project
2022-03-01 09:35:46 +01:00
Youssef
4f3b34115b
fix: update PR based on feedback
2022-03-01 09:03:25 +01:00
olav
2bb069af6b
refactor: use the MUI OutsideClickHandler ( #756 )
2022-03-01 08:21:04 +01:00
Renovate Bot
43fdb37bd4
chore(deps): update dependency typescript to v4.6.2
2022-03-01 05:55:15 +00:00
Renovate Bot
d61e44fcd2
chore(deps): update dependency cypress to v9.5.1
2022-03-01 03:21:32 +00:00
Youssef
65713bc78f
style: add className for SearchField
2022-02-28 17:20:47 +01:00
Youssef
55de43ad07
feat: add search in projects
2022-02-28 17:00:12 +01:00
Youssef
722c06b73f
feat: add search input in project features
2022-02-28 16:27:23 +01:00
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
470e3b9656
fix: remove console log
2022-02-25 16:26:09 +01:00
Youssef
b58cccc7d0
fix: merge conflicts
2022-02-25 15:28:38 +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
a3f439ea17
Merge branch 'main' into fix/ui-consistency
2022-02-25 13:54:11 +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