olav
3ed8564758
fix: move unsaved label below refresh popup ( #772 )
2022-03-08 09:13:48 +01:00
Youssef Khedher
15bd0fbc84
feat: validate json ( #764 )
...
* feat: add isJSON function
* feat: validate JSON input
* feat: add JSON code editor
* feat: add error message for JSON payload
* feat: validate JSON input
* fix: merge conflict
* fix: conflict in AddFeatureVariant
* refactor: remove code editor for JSON input
* fix: update PR based on feedback
* fix: revert yarn.lock
* fix: revert yarn.lock
* fix: update PR based on feedback
* fix: styles
* fix: json input error message
* fix: remove ts-expect-error
* refactor: change inputProps type
* fix: import InputProps
2022-03-07 13:44:46 +01:00
Youssef Khedher
ea401f3ec5
feat: add changeRole ( #768 )
...
* feat: add changeRole in project
* fix: update PR based on feedback
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-03-07 09:26:31 +01:00
Youssef Khedher
ee730e0708
Feat/custom strategy screen ( #722 )
...
* feat: setup new screen structure
* refactor: strategyParameter
* feat: add strategy input errors for required fields
* feat: add create strategy to routes
* feat: add EditStrategy component
* feat: edit strategy view and EditStrategy component
* feat: update EditStrategy component
* test: update snapshots
* fix: styles
* test: update snapshots
* refactor: rename StrategyForm and fix ts errors
* test: update snapshots
* fix: remove test route
* fix: update PR based on feedback
* fix: update PR based on feedback
* 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>
* chore(deps): update dependency @types/react-dom to v17.0.13
* refactor: expect existing TS errors (#767 )
* refactor: expect existing TS errors
* refactor: fail build on new TS errors
* fix: styles
* refactor: rename StrategyForm and fix ts errors
* fix: update PR based on feedback
* fix: cleaning up
* fix: remove errors and warnings
* fix: remove ts-expect-error and fix errors
* fix: ts errors
* Update src/component/strategies/StrategyView/StrategyView.tsx
* Update src/component/strategies/StrategyView/StrategyView.tsx
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: olav <mail@olav.io>
2022-03-04 23:39:41 +01:00
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 Khedher
611f6ec232
Merge pull request #765 from Unleash/fix/wrong-import-main
...
fix: import ProjectCard
2022-03-02 09:05:20 +01:00
Youssef
313ae6564b
fix: import ProjectCard
2022-03-01 22:23:23 +01:00
Youssef Khedher
fafeaa4339
Merge pull request #747 from Unleash/fix/remove-project
...
refactor: update remove project function
2022-03-01 17:00:28 +01:00
Youssef Khedher
a562bf06aa
Merge branch 'main' into fix/remove-project
2022-03-01 16:56:15 +01:00
Youssef Khedher
a1af092c4e
Merge pull request #759 from Unleash/feat/search-projects
...
feat: add search in projects
2022-03-01 16:55:18 +01:00
Youssef Khedher
286b8b8604
Merge branch 'main' into feat/search-projects
2022-03-01 16:40:53 +01:00
Youssef Khedher
37ae05a74c
Merge pull request #758 from Unleash/feat/search-toggles-project
...
feat: search toggles in project
2022-03-01 16:40:42 +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
8583eb3926
Merge pull request #744 from Unleash/fix/empty-name-admin
...
fix: replace empty name for admin in project access
2022-03-01 16:33:23 +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 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