andreas-unleash
a13e771f0e
Lint and fmt
2022-07-26 13:39:58 +03:00
andreas-unleash
9ce7572ba0
PR comments
2022-07-26 13:10:30 +03:00
Fredrik Strand Oseberg
d4fcf52020
feat/playground-second-iteration ( #1139 )
...
* fix: rearrange ui
* fix: make request on load
* fix: default to the first environment
* feat: add codemirror
* fix: layout
* fix: styling
* feat: add popover
* feat: variant popover
* fix: add sticky
* feat: resolve input
* refactor: date field
* fix: move deps
* fix: clean up any
* fix: resolve import
* fix: hide columns on mobile
* fix: search style
* fix: rename styles
* fix: PR comments
* fix: add popover for guidance
* fix: guidance popover
* fix: verbose function
* fix: wording
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-07-22 13:15:28 +02:00
Nuno Góis
df6208e309
feat: add user groups ( #1130 )
...
* feat: add user groups table
* add groups and group view
* fix top level await on mock data
* add UG flag
* create group files, refactor group cards
* add generic badge component
* adapt hooks to use endpoints
* implement basic create group
* fix: update snap
* fix: type id as string for now
* implement create group, use api, refactoring
* add stars to group owners
* refactor GroupForm.tsx to use styled components
* feat: remove group
* add edit group
* add group card actions
* feat: edit and remove group users
* add users to groups
* Initial commit
* refine project access table
* add project access group view
* Take users and groups from backend
* Add onsubmit
* new project access, assign and edit
* fix EditGroup, Group
* Finish assigning roles in project
* List assigned projects in group card
* Run prettier
* Add added column to project access table
Co-authored-by: Jaanus Sellin <jaanus@getunleash.ai>
Co-authored-by: sighphyre <liquidwicked64@gmail.com>
2022-07-22 07:31:08 +00:00
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
682921d5bf
fix: misc ui fixes post tables upgrade ( #1049 )
...
* fix: misc ui fixes post tables upgrade
* fix: update snaps, small cleanup
* refactor: ReportCard to styled, misc improvements
* cleanup remaining styles file
* rename `Feature Toggle Name` to just `name`
* refactor: address PR comments
2022-06-02 08:21:51 +01:00
olav
504a4af274
refactor: port segments list to react-table ( #1024 )
...
* refactor: extract SegmentEmpty component
* refactor: extract CreateSegmentButton component
* refactor: extract EditSegmentButton component
* refactor: extract RemoveSegmentButton component
* refactor: normalize Created table header text
* refactor: port segments list to react-table
* fix: improve row text height in table row
* fix: update test snapshots
* refactor table cell with search highlight
* fix: update after review
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
Co-authored-by: Tymoteusz Czech <tymek+gpg@getunleash.ai>
2022-05-27 08:57:30 +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
Tymoteusz Czech
7480085698
Fix: Features table performance ( #1015 )
...
* feat: persistent table query
* project overview sort query
* refactor: api methods as hook callbacks
* persitent columns in project overview
* enable new project overview
* fix: refactor feature state change in overview
* add type to sort
* update e2e tests
now takes 10% less time with use of cypress session
* prevent sort reset on features list
* fix feature toggle list loading
* fix: features table items virtualization
* project overview screen limits
* table row height in theme
* rename row index variable
2022-05-25 14:39:14 +00:00
olav
91a825792e
refactor: normalize status badge designs ( #1018 )
2022-05-25 08:30:47 +00:00
Fredrik Strand Oseberg
7ba9d2a577
Feat/new strategies table ( #1012 )
...
* fix: add flex to toolbarcontainer
* feat: add initial new table
* feat: add styled badge
* feat: remove dead code
* fix: remove useContext import
* fix: update context buttons to icon buttons
* feat: add loading
* fix: remove unused imports
* Update src/component/strategies/StrategiesList/PredefinedBadge/PredefinedBadge.tsx
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
* fix: update spacing to use theme
* fix: update loading
* fix: update type
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-05-24 10:58:06 +02:00
Tymoteusz Czech
6d130f61f6
feat: new contexts table ( #998 )
...
* feat: new contexts table
* improve context list actions
* refactor: disabled icon colors
* fix: update snapshots
* fix: icons
* fix: context fields typo
2022-05-20 08:29:23 +00:00
Tymoteusz Czech
06b0a29ea8
Project features list update ( #991 )
...
* refactor: column icon position
* project overview horizontal scroll
* updated table headers styles
* fix: feature overview switch title
* refactor: cleanup of sortable header styles
* fix: z-index issue in test
* fix: html semantics after review
2022-05-18 11:56:55 +02:00
Tymoteusz Czech
b1166bb2f4
Project overview feature toggles list ( #971 )
...
* refactor: page container
* refactor: table page header
* feat: new feature toggles list in project overview
* feat: sortable enviromnents in project overview
* feat: project overview toggles search
* feat: project overview features column actions
* project overview table column sizing
* project overview feature actions permissions
* project overview archive feature action
* project overview toggle state strategy fallback
* remove previous project overview implementation
* fix: remove additional prop in sortable table
* fix: stale feature refetch
* improvements after review
* feat: manage visible columns in project overview
* improve project overview columns selection
* fix: simplify columns
* Revert "remove previous project overview implementation"
This reverts commit 98b051ff6a5a4fb8a9a0921b661514e15a00249a.
* restore legacy project overview table
2022-05-13 14:51:22 +02:00
Nuno Góis
cdfb1f2452
fix: feature toggle list and UI adjustments ( #970 )
...
* fix: add highlight and hover colors, fix them
* misc ui adjustments
* test isGrow prop in table cols
* fix: revert typography changes, update snaps
* Update src/themes/themeTypes.ts
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
* fix: misc ui adjustments
* fix: backButton color
* refactor: color not needed, can be inherited
* fix: project roles case, new borderRadius values
* fix: color green
* fix: feature form link
* update snaps
* fix: formatting
* update snap
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-05-12 15:34:04 +02:00
Tymoteusz Czech
44c579f7a8
Refactor: page container ( #967 )
...
* refactor: page container
* refactor: table page header
2022-05-09 14:38:12 +02:00
Tymoteusz Czech
cd37624de4
Theme consistency updates ( #960 )
...
* fix: theme palette and shape
* fix: update snapshots
* fix: adjust after review
2022-05-09 12:01:12 +02:00
Tymoteusz Czech
5ecc83f1b4
Refactored feature toggles table ( #951 )
...
* refactor: simplify table toolbar
* refactor: table links and padding
* fix: header icons colors
* fix: minor table style changes
2022-05-06 12:21:31 +02:00
Tymoteusz Czech
1772997d28
Feature list table ( #908 )
...
* experiment with generic table
* feat: example implementation of sortable table interfaces
* add enhanced table header
Co-authored-by: Nuno Góis <github@nunogois.com>
* table cleanup
Co-authored-by: Nuno Góis
Co-authored-by: Fredrik Strand Oseberg
* useSort hook interface surface
Co-authored-by: Nuno Góis <github@nunogois.com>
* sort handler initial implementation
Co-authored-by: Tymoteusz Czech <Tymek@users.noreply.github.com>
* new table unified components
* feature flags table components
Co-authored-by: Nuno Góis <github@nunogois.com>
* feat: new table sort hook
* feat: table sort
* useSearch hook implementation
* update new sort hook tests
* sortable headers hook
* feat: add sort to other table features
* move experimental table hooks to a directory
* update new table header styles
* fix: header, tableActions
* add some details like pagination and highlighter so we keep them in mind
* feature table cells
* update new table sort logic
* new pagination
* fix formatting and remove unused component
* fix: adapt useSearch default search to text instead of regex (PR #924 )
* fix: update table title based on visible rows
* fix: remove test route
* refactor: move table experiment files
* features table experimentation
* feat: enhanced feature flags table
* fix: features default sort
* feat: enhanced table loading
* fix: table theme after mui5 update
* features list placeholder
* add react-table
* update snapshots after theme change
* remove unused files
* fix: improve features table after review
* refactor: rename feature type cell variables
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
Co-authored-by: Nuno Góis <github@nunogois.com>
Co-authored-by: Tymoteusz Czech <Tymek@users.noreply.github.com>
2022-05-05 15:34:46 +02:00
olav
24c11332b5
chore: update MUI to v5 ( #923 )
...
* refactor: update mui packages
* refactor: run mui codemods
* refactor: format files after codemods
* refactor: fix broken types
* refactor: clean up theme
* refactor: fix broken tests
* refactor: replace @mui/styles with tss-react
* refactor: move breakpoints into classes for tss
* refactor: fix crash on missing feature description
* refactor: remove void classNames
* refactor: adjust styles to new defaults
* refactor: remove broken rollout slider e2e test
* refactor: fix duplicate e2e testid
* refactor: update makeStyles after rebase
* refactor: add missing snapshot after rebase
* refactor: fix TableCellSortable focus styles
* refactor: use 1.4 as the default line-height
* refactor: hide webkit search field icons
* refactor: fix select box label
* refactor: make AutocompleteBox smaller
* refactor: make heading smaller
* refactor: fix toast close icon color
* refactor: update snapshots
* refactor: add missing test event awaits
* refactor: fix default button line-height
2022-05-02 15:52:41 +02:00