Nuno Góis
|
672a3f0b92
|
fix: group project access inconsistencies (#1178)
* fix: group project access inconsistencies
* fix relative path
* wip
* refactor: make project tabs work as routes
* refactor: finish refactoring project assign forms
* fix: update snaps
* fix: update snaps
* add some basic cypress e2e tests to groups
* add remaining cypress e2e tests for group CRUD
* add groups e2e to gh workflows
* refactor: simplify useMemo usage
* add GO_BACK navigate const
* fix: remove trailing slash on user creation request
Co-authored-by: olav <mail@olav.io>
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
|
2022-08-04 12:57:25 +01:00 |
|
olav
|
d8143c6ff4
|
chore: update react-router to v6 (#946)
* refactor: fix child selector warnings
* refactor: update react-router-dom
* refactor: use BrowserRouter as in react-router docs
* refactor: replace Redirect with Navigate
* refactor: replace Switch with Routes
* refactor: replace useHistory with useNavigate
* refactor: replace useParams types with useRequiredPathParam
* refactor: replace NavLink activeStyle with callback
* refactor: fix matchPath arg order
* refactor: Remove unused link state
* refactor: delete broken snapshot test
* refactor: render 404 page without redirect
* refactor: normalize path parameter names
* refactor: fix Route component usage
|
2022-05-05 13:42:18 +02:00 |
|
olav
|
1fd6f2a60a
|
refactor: improve the text for docs links (#904)
* refactor: improve the text for docs links
* Update src/component/admin/apiToken/CreateApiToken/CreateApiToken.tsx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/component/admin/projectRoles/CreateProjectRole/CreateProjectRole.tsx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/component/admin/projectRoles/EditProjectRole/EditProjectRole.tsx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/component/admin/users/CreateUser/CreateUser.tsx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/component/admin/users/EditUser/EditUser.tsx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/component/context/CreateUnleashContext/CreateUnleashContext.tsx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/component/context/EditContext/EditContext.tsx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/component/strategies/CreateStrategy/CreateStrategy.tsx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/component/strategies/EditStrategy/EditStrategy.tsx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* refactor: improve docs link texts
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
|
2022-04-25 09:36:23 +02:00 |
|
Youssef Khedher
|
f9cdb6ca0c
|
fix: handle projectId validation (#823)
* fix: handle projectId validation
* chore: remove unused function
* fix: update PR based on feedback
|
2022-03-28 22:45:41 +01:00 |
|
olav
|
cfc2338e78
|
refactor: use camel case for files and dirs (#817)
|
2022-03-25 12:34:20 +01:00 |
|
Youssef
|
b58cccc7d0
|
fix: merge conflicts
|
2022-02-25 15:28:38 +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 |
|
Youssef
|
5371e15333
|
refactor: change resourceCreateButton and SaveChangesButton name
|
2022-02-24 09:23:07 +01:00 |
|
Youssef
|
af6542a291
|
feat: create ressources buttons and update all forms
|
2022-02-24 00:57:35 +01:00 |
|
olav
|
213e8950d3
|
refactor: port login auth to TS/SWR (#680)
* refactor: allow existing tsc errors
* refactor: add missing component key
* refactor: port login auth to TS/SWR
* refactor: replace incorrect CREATE_TAG_TYPE with UPDATE_TAG_TYPE
* refactor: fix AccessProvider permission mocks
* refactor: add types to AccessContext
* refactor: fix file extension
* refactor: remove default export
* refactor: remove unused IAddedUser interface
* refactor: comment on the permissions prop
* refactor: split auth hooks
* feat: auth tests
* fix: setup separate e2e tests
* fix: naming
* fix: lint
* fix: spec path
* fix: missing store
* feat: add more tests
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
|
2022-02-10 17:04:10 +01:00 |
|
olav
|
010f766de9
|
refactor: replace ts-ignore with ts-expect-error (#681)
* refactor: replace ts-ignore with ts-expect-error
* refactor: remove unused ts-expect-errors
|
2022-02-09 13:39:18 +01:00 |
|
Youssef
|
52fddb2069
|
fix: update validateProjectId
|
2022-01-25 12:30:55 +01:00 |
|
Youssef
|
b59c68c59b
|
fix: update buttons order in new screens
|
2022-01-25 00:47:49 +01:00 |
|
Youssef Khedher
|
39b5adb950
|
feat: add create and edit project screen (NEW) (#602)
* feat: add create and edit project screen
* feat: fix correct permission and validate projectId
* feat: remove unused variable and logs
* feat: remove unused import
* fix: delete unused project components
* fix: add unique validation
* fix: add unused import
* fix: project header
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
|
2022-01-19 14:28:55 +01:00 |
|