olav
2d24d92f5a
fix: resolve issues with project edit/delete button conditions ( #1084 )
...
* fix: fix UPDATE_PROJECT permission checks for editors
* fix: disable delete button for the default project
* fix: warn about access on edit project page
* fix: hide broken project edit/delete buttons for OSS
* refactor: avoid project card clicks when closing modals
* refactor: improve default project deletion message
* refactor: improve project access error text
* Update src/component/project/ProjectCard/ProjectCard.tsx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* refactor: fix string quotes
* refactor: improve disabled menu item contrast
* refactor: remove Enterprise routes for OSS
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-06-10 16:09:50 +02:00
Nuno Góis
7093b49962
feat: add billing page to admin ( #993 )
...
* feat: add billing page to admin
* some adjustments to billing page
* add BillingHistory, remove invoices, misc improvements
* refactor based on instanceStatus logic, add dialog
* fix: cleanup
* some refactoring and alignment with figma
* add extend, isBilling, refactoring and misc improvements
* fix: update tests
* refactor: reorganize billing into smaller components, misc improvements
* add STRIPE flag, some refactoring and adapting to comments and discussion
* adapt BillingHistory slightly, refactor TextCell
* Update src/hooks/api/getters/useInstanceStatus/useInstanceStatus.ts
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
* refactor: address PR comments
* fix: adjust divider color
* fix: update snaps
* refactor: address PR comments
* fix: update snaps
* fix: amountFormatted typo
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-05-25 23:26:05 +02: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
Tymoteusz Czech
23a874d051
Refactor: convert jsx files to typescript ( #881 )
...
* refactor: convert remaining js files to typescript
* refactor: conditionally render remove index
* refactor: dialog component to tsx
* refactor: migrate some files from jsx to tsx
* refactor: convert dropdown element to tsx
* refactor: feature toggle list to tsx
* refactor: update context name in use overrides
* refactor: variant overrides to tsx
refactor: remove unused strategy constraint file
* fix: tsx imports
* fix: update refectored components after rebase
* refactor: rename report list files to tsx
* fix: project health list types
* refactor: addon form - add types
* refactor: copy feature component types
* fix: projects toggle style after tsx refactor
* refactor: update ts types from openapi
* fix: ts refactor changes after review
* fix: header title prop
* fix: update after PR comments
* add test to useoverrides hook
* fix conditionally render time ago
* fix: toggle list empty tooltip
* fix: remove unused variable
* remove unused variable
* fix: remove faulty snapshot
2022-05-02 12:52:33 +02:00
olav
a088866124
refactor: port some things to TS ( #843 )
...
* refactor: port useSort to TS
* refactor: port loadingFeatures to TS
* refactor: port admin index to TS
* refactor: port TagTypeList to TS
* refactor: merge route interfaces
* refactor: port common utils to TS
* refactor: fix snapshot date typo
* refactor: port Reporting utils to TS
* refactor: improve PermissionIconButton prop types
2022-04-06 12:22:24 +02:00
olav
2a307523d6
feat: add operators splash page ( #802 )
...
* refactor: fix crash on null-valued project description
* refactor: remove unused layout prop
* refactor: use routes for splash components
* feat: add operators splash page
* refactor: fix styling issues
* refactor: add some comments
2022-03-22 08:23:51 +01:00
Ivar Conradi Østhus
b5bb516c1c
feat: SSO auto-create users with default role ( #326 )
2021-08-23 12:16:38 +02:00
Fredrik Strand Oseberg
86631b53c9
Fix/material UI cleanup ( #264 )
...
* fix: strategy dialogue
* fix: fontweight dropdown
* fix: eventlog padding
* refactor: history
* refactor: use material ui styling conventions for history
* refactor: add empty state for features
* refactor: variant dialog
* refactor: delete unused variant config
* fix: variant typography
* fix: remove unused styles file
* fix: footer
* feat: protected routes
* fix: rename app
* fix: remove console log
* fix: convert app to typescript
* fix: add standalone login screen
* fix: cleanup
* fix: add theme colors for login
* fix: update tests
* fix: swap route with ProtectedRoute
* fix: remove unused redirect
* fix: use redirect to correctly setup breadcrumbs
* refactor: isUnauthorized
* fix: reset loading count on logout
* fix: create a more comprehensive auth check
* feat: add unleash logo
2021-04-12 15:04:03 +02:00