andreas-unleash
a13e771f0e
Lint and fmt
2022-07-26 13:39:58 +03:00
Nuno Góis
65c0580519
fix: pro flow stripe integration refinements ( #1149 )
2022-07-26 08:50:27 +01:00
sjaanus
e95825a000
Feat/grouping fixes ( #1146 )
...
* Grouping fix grid not showing user names
* Remove deprecated access endpoints
* Manual prettier
* Revert user role update
2022-07-25 10:14:02 +00: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
Tymoteusz Czech
9d74fd976d
Refine playground form ( #1136 )
...
* integrate results table with playground form
* fix playground api integration
* fix: playground loading state from api
2022-07-13 14:35:43 +00:00
Tymoteusz Czech
51e5939f68
feat: Align switches in table actions ( #1082 )
...
* feat: strateges state changing switch
* refactor: ActionCell for table
* fix: remove image clipping for webhook icons
* feat: align addons switch in table
* feat: align enviromnemnts table switch
* fix: disallow turning off protected environment
* refactor: move environment table sub-components
* feat: add predefined badge to default environment
* feat: environment reorder handle hightlight
* fix: environment table padding when searching
* Update src/hooks/api/actions/useStrategiesApi/useStrategiesApi.ts
Co-authored-by: olav <mail@olav.io>
* refactor: toggle addon promise
* remove dragging highlight
* fix: strategy switch tooltip
* fix: switch tooltips
Co-authored-by: olav <mail@olav.io>
2022-06-14 12:32:16 +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
olav
006b853f6c
refactor: get segment limits from uiConfig ( #1047 )
...
* refactor: improve useUiConfig return type
* refactor: get segment limits from uiConfig
2022-06-02 10:58:55 +02:00
Nuno Góis
570e9f88be
feat: upgrade users table ( #1040 )
...
* feat: upgrade users table
* fix misc ui/ux bugs
* refactor: address PR comments
* fix: searching by `undefined`
* fix: searching for undefined on invoices, table placeholder centering
* refactor: abstract users list actions into new component
* refactor: move styled components to top of files
2022-05-31 07:59:09 +01:00
olav
eb5e83cdb4
refactor: remove unused code ( #1036 )
...
* refactor: remove unused code
* refactor: remove more unused code
2022-05-27 13:28:58 +02:00
olav
25c25c9206
refactor: port tokens list to react-table ( #1026 )
...
* refactor: extract ApiTokenDocs component
* refactor: extract CreateApiTokenButton component
* refactor: extract RemoveApiTokenButton component
* refactor: extract CopyApiTokenButton component
* refactor: port tokens list to react-table
* refactor: remove unused imports
* fix: api token table default sort order
* fix: updates to table of api tokens
* fix: add highlighting when searching
Co-authored-by: Tymoteusz Czech <tymek+gpg@getunleash.ai>
Co-authored-by: Nuno Góis <github@nunogois.com>
2022-05-27 08:48:01 +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
Fredrik Strand Oseberg
ded3c22bb1
Feat/new addons table ( #1021 )
...
* feat: initial list of available addons
* feat: add columns
* fix: update referential equality
* fix: remove search
* fix: remove unused imports
* fix: padding
* fix: imports
* refactor: based on comments
2022-05-25 15:37:32 +02:00
olav
34f848ce8a
refactor: replace react-dnd with custom implementation ( #988 )
...
* refactor: replace react-dnd with custom implementation
* refactor: add TextCell, IconCell, and ActionCell
* refactor: port environments list to react-table
* refactor: change OfflineBolt to PowerSettingsNew
* refactor: simplify environment toast text
* refactor: improve IToast type type
* refactor: improve useSearchHighlightContext naming
* refactor: clarify enableDragAndDrop logic
2022-05-25 11:40:20 +02:00
Tymoteusz Czech
a11cb72d99
Persistent table query ( #999 )
...
* 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: update column state saving
* update local storage hook test
2022-05-25 08:14:22 +00:00
olav
b742a69c4c
refactor: improve OpenAPI refs ( #1005 )
...
* refactor: regenerate OpenAPI client
* refactor: update usage of OpenAPI client
2022-05-24 08:37:46 +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
olav
2e367b3a04
feat: add trial expiration warning banner ( #985 )
...
* refactor: simplify useApiGetter cache keys
* refactor: simplify basePath helpers
* refactor: add UNLEASH_BASE_PATH frontend env var
* refactor: make sure AnnouncerElement does not affect the layout
* refactor: draw texture image above footer
* refactor: extract domain check helpers
* refactor: fix a few ts-expect-errors
* feat: add trial expiration warning banner
* refactor: fix IInstanceStatus interface prefix
* refactor: use ConditionallyRender in InstanceStatus
* refactor: simplify env helper functions
* refactor: use FC in InstanceStatus
* refactor: warn about expired trials
* refactor: fix eslint warnings
* refactor: disable banner outside of localhost
* refactor: use new instance state field name
2022-05-19 14:06:18 +02:00
olav
98b6214c28
fix: avoid erasing previous environments data on refetch ( #990 )
...
* refactor: avoid duplicate useLoading call
* fix: avoid erasing previous environments data on refetch
* refactor: keep mutataion logic within useEnvironments
2022-05-18 11:26:38 +02:00
olav
159c54ed37
fix: resolve issues around changing a toggle's project ( #978 )
...
* refactor: show save button before using the dropdown
* refactor: simplify FeatureSettingsProject toast message
* refactor: fix FeatureProjectSelect filter prop type
* refactor: hide change project page for non-enterprise
* refactor: derive move targets from projects list instead of from permissions
* refactor: align frontend project compat check with backend
* refactor: fix useProject object stability
* refactor: disable the save button for the current project
* refactor: require equal environments when moving toggles
* refactor: improve arraysHaveSameItems name
2022-05-18 11:07:19 +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
olav
ae51e979cd
refactor: add Plausible tracker on SaaS domain ( #956 )
...
* feat: add Plausible tracker on SaaS domain
* refactor: check uiFlags.T instead of the domain
2022-05-06 14:04:09 +02:00
olav
35262e404b
refactor: clean up strategy parameter types ( #944 )
...
* refactor: fix splash page button background color
* refactor: regenerate OpenAPI client
* refactor: clean up strategy parameter types
* refactor: remove index signature from IConstraint
* refactor: fix never-seen status in features list
2022-05-04 15:16:34 +02:00
olav
7b60ef2aa6
refactor: misc type improvements ( #945 )
...
* refactor: improve ChangePassword types
* refactor: improve usePagination types
* refactor: improve UsersList types
2022-05-04 08:14:49 +02:00
Nuno Góis
9ffc421252
feat: show archived toggles on a project level ( #942 )
...
* feat: show archived toggles on a project level
* Update src/component/feature/FeatureToggleList/FeatureToggleListActions/FeatureToggleListActions.tsx
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
* refactor: adapt code to PR comments, clarity
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-05-03 15:27:43 +01: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
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
5785557af8
fix: add missing refetch after feature strategy create/edit ( #909 )
2022-04-26 11:21:35 +02:00
olav
8f1900f32b
feat: generate an OpenAPI client (2) ( #875 )
...
* feat: add a script that generates an OpenAPI client
* feat: generate an OpenAPI client
* feat: use the generated OpenAPI client
* refactor: add an OpenAPI section to the readme
* refactor: fix missing interface prefixes
* refactor: regenerate OpenAPI client
2022-04-26 10:53:46 +02:00
olav
49a63173f8
fix: avoid constraint accordion close on focus ( #907 )
...
* fix: avoid constraint accordion close on focus
* refactor: fix mutate cache key mismatch
2022-04-26 09:54:16 +02:00
olav
2e5e25bfe5
refactor: improve icon labels and tooltips ( #884 )
2022-04-21 08:26:49 +02:00
olav
49b8e7329e
refactor: convert auth tests from Cypress to Jest ( #864 )
...
* refactor: replace data-test with data-testid
* refactor: add Jest tests for auth pages
* refactor: remove Cypress tests for auth pages
* refactor: remove questionable snapshots
* refactor: share test server setup/teardown
* refactor: restore auth page flex layout
* refactor: use toBeInTheDocument
* refactor: change recent data-test attrs to data-testid
2022-04-08 13:13:45 +02:00
Nuno Góis
1132a79f6d
fix: reject duplicate segment names ( #855 )
...
* fix: reject duplicate segment names
* fix: useSegmentValidation now takes into account initial value
* refactor: add segments e2e test
* refactor: add github action from segments e2e test
* refactor: use enterprise edition for all e2e tests
* refactor: use enterprise edition for all e2e tests
2022-04-08 11:34:59 +01:00
Tymoteusz Czech
b23226370a
feat: multi-project api access tokens ( #857 )
...
* fix: general select component typings
* custom multi-select for projects
* autocomplete element for token projects
* project multi-select with error handling
* projects in tokens list update
* multi-project tokens - select all button
* fix conflicting typescript changes
* improve multi-projects tokens form after review
* refactor multi-project select code structure
* test api token list projects column element
* simplify test renderer
2022-04-08 12:26:44 +02:00
olav
fb8d0e7efc
fix: use the first project if there's no default project ( #859 )
...
* refactor: extract FeatureToggleListCreate component
* fix: use the first project if there's no default project
2022-04-07 11:08:05 +02:00
olav
dbb62631a6
feat: add FeedbackCES component ( #826 )
...
* refactor: add screen-reader-only util class
* refactor: move FeedbackNPS component
* feat: add FeedbackCES component
* refactor: improve hidden checkbox styles
* refactor: fix IFeedbackEndpointRequestBody source type
* refactor: remove unnecessary event.persist() calls
* refactor: remove disableEscapeKeyDown from FeedbackCES modal
* refactor: make textarea label customizable
* refactor: store feedback state on the backend
* refactor: add FeedbackCESForm snapshot test
* refactor: use extant IAuthFeedback type
* refactor: fix showNPSFeedback logic for multiple feedback types
2022-03-31 09:23:46 +02:00
Youssef Khedher
eeda7ab5e4
feat: add segments ( #780 )
...
* feat: create segmentation structure and list
* feat: remove unused deps and change route
* feat: change header style and add renderNoSegments
* fix: style table header
* feat: create useSegments hook
* feat: add segmentApi hook
* feat: create segment
* fix: errors
* feat: add contextfields list
* fix: remove user from create segment api
* feat: add form structure
* feat: add SegmentFormStepOne
* fix: tests and routes
* feat: add constraint view
* feat: UI to match the sketch
* feat: add constraint on context select
* fix: duplication
* fix adding constraints
Co-authored-by: olav <mail@olav.io>
* fix: input date not showing up in constraint view
Co-authored-by: olav <mail@olav.io>
* fix: minor bugs
Co-authored-by: olav <mail@olav.io>
* fix: create context modal in segment page
Co-authored-by: olav <mail@olav.io>
* fix: validate constraint before create segment
Co-authored-by: olav <mail@olav.io>
* feat: create useSegment hook
Co-authored-by: olav <mail@olav.io>
* feat: create edit component
Co-authored-by: olav <mail@olav.io>
* refactor: move constraint validation endpoint
* refactor: add missing route snapshot
* refactor: fix segment constraints unsaved/editing state
* refactor: remove create segment from mobile header menu
* refactor: update segments form description
* refactor: extract SegmentFormStepList component
* refactor: add an optional FormTemplate docs link label
* refactor: fix update segment payload
* feat: finish edit component
Co-authored-by: olav <mail@olav.io>
* refactor: move step list above segment form
* fix: update PR based on feedback
Co-authored-by: olav <mail@olav.io>
* refactor: fix constraint validation endpoint path
* refactor: improve constraint state field name
* refactor: extract AutocompleteBox component
* feat: add strategy segment selection
* refactor: add strategy segment previews
* refactor: fix double section separator line
* feat: disable deleting a usable segment
* refactor: warn about segments without constraints
* refactor: update text in delete segment dialogue
* refactur: improve arg names
* refactor: improve index var name
* refactor: clarify steps list logic
* refactor: use a required prop for the segment name
* refactor: use ConditionallyRender for segment deletion
* refactor: fix segments refetch
* refactor: improve CreateUnleashContext component names
* refactor: adjust segment form styles
* refactor: adjust text
* refactor: fix info icon tooltip hover target
* refactor: add missing aria attrs to preview button
* refactor: add strat name to delete segment modal
* refactor: fix segment chip text alighment
* refactor: use bulk endpoint for strategy segments
* refactor: fix imports after merge
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
Co-authored-by: olav <mail@olav.io>
2022-03-29 09:30:57 +02:00
Youssef Khedher
85950f104a
chore: update paths 🧼 ( #820 )
2022-03-28 09:49:59 +01:00
olav
cfc2338e78
refactor: use camel case for files and dirs ( #817 )
2022-03-25 12:34:20 +01:00
olav
2ca88b019a
refactor: restrict API tokens to enabled environments ( #809 )
...
* refactor: add missing Tooltip wrapper elements
* refactor: rewrite useEnvironments
* refactor: disable environments in select box
* refactor: make sure initial environment is enabled
2022-03-23 12:55:00 +01:00
Youssef Khedher
bee9fadbc9
feat: segments ( #776 )
...
* feat: create segmentation structure and list
* feat: remove unused deps and change route
* feat: change header style and add renderNoSegments
* fix: style table header
* feat: create useSegments hook
* feat: add segmentApi hook
* fix: ts and style errors
* feat: update PR based on feedback
* feat: add flag
* fix: test and formating
* fix: update PR based on feedback
* fix: add correct permission
* fix: mobile view for segments
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-03-16 13:19:27 +01:00
Fredrik Strand Oseberg
f52ca03b55
fix: show invalid token page when token error is received ( #785 )
2022-03-15 16:00:13 +01:00
olav
f0aa764d3e
refactor: wait for UI config for CO flag ( #781 )
2022-03-11 16:18:38 +01:00
olav
419f655ef5
refactor: improve feature not found page ( #774 )
...
* refactor: improve feature not found page
* refactor: fix feature cache mutation mismatch
2022-03-10 10:52:50 +01:00
olav
baae88c7a5
feat: add new feature strategy create/edit pages ( #739 )
...
* refactor: add param helper hooks
* refactor: remove first add strategy link
* refactor: add more types to useStrategies
* refactor: port strategy utils to TS
* refactor: replace rollout strategy icon
* refactor: use a named export for useFeature
* refactor: add more types to useFeature
* refactor: adjust code box styles
* refactor: add missing PermissionButton variant prop
* refactor: add missing button icon label
* refactor: move common feature components
* refactor: fix StrategyConstraints error prop types
* refactor: fix GeneralStrategy prop types
* feat: add new feature strategy create/edit pages
* refactor: remove feature strategies page
* refactor: fix types in GeneralStrategy
* refactor: use ConstraintAccordion on the new pages
* refactor: use ConditionallyRender for remove button
* refactor: rename FeatureStrategyForm component
* refactor: use the Edit icon for feature strategies
* refactor: fix initial edit mode for new constraints
* refactor: add FeatureStrategyMenu to closed accordions
* refactor: allow editing multiple constraints
* refactor: show single-valued constraint value
* refactor: increase feature overview strategy width
* refactor: add remove button to feature overview strategies
* refactor: move createEmptyConstraint to own file
* refactor: disable submit button for invalid constraints
* refactor: fix nested paragraphs on the metrics page
* refactor: move create/edit feature strategy to modal
* refactor: always open new constraints in edit mode
* refactor: use a PermissionButton for the save button
* refactor: remvoe unsaved constraints on cancel
* refactor: clarify useConstraintsValidation logic
* refactor: remove unused strategy descriptions
* refactor: restore Rollout icon
* refactor: remove sidebar modal slide animation
* refactor: avoid constraint accordion toggle on edit/delete
* refactor: truncate long strategy names
* refactor: find the correct remove button
2022-03-09 14:59:24 +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 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