olav
2e5e25bfe5
refactor: improve icon labels and tooltips ( #884 )
2022-04-21 08:26:49 +02: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
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
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
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
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
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
olav
016633dae9
refactor: format files ( #719 )
...
* refactor: fix deprecated prettier config name
* refactor: add fmt scripts
* refactor: check fmt during CI
* refactor: format files
2022-02-18 09:51:10 +01:00
olav
46bf92124d
refactor: remove unused code ( #721 )
2022-02-18 08:26:26 +01:00
olav
878f892c50
refactor: fix misc test feedback ( #709 )
...
* refactor: keep feature toggle name when changing project
* refactor: add missing permission button tooltip
* refactor: add success toast on toggle revival
* refactor: add success toast on stale toggle
* refactor: fix initial user role checkbox value
* refactor: remove duplicated error message
* refactor: fix change-password error parsing
* refactor: remove inaccurate edit toggle toast text
* refactor: truncate long names in project cards
* refactor: truncate long project name in title
* refactor: add ellipses to truncated strings
* refactor: swap truncateString with StringTruncator
* refactor: remove unnecessary truncation
* refactor: mark context fields as optional
* refactor: show all errors from tag type creation
* refactor: show all errors from strategy create/update
* refactor: filter out empty strategies on create/update
* refactor: add an edit button to the addons list
* refactor: add missing labels
* refactor: catch errors from toggling stale features
2022-02-15 10:57:57 +01:00
olav
fceeb7da15
refactor: remove unused ProjectSelect props ( #705 )
...
* refactor: remove unused ProjectSelect props
* refactor: remove unused ensureRelativePath fn
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-02-14 15:48:25 +01:00
Fredrik Strand Oseberg
972ea43dfc
fix: do not use formatApiPath on paths from API ( #702 )
...
* fix: do not use formatApiPath on paths from API
* fix: remove createRequest
2022-02-11 12:13:03 +01:00
Fredrik Strand Oseberg
c99decf5e0
remove: redux ( #696 )
...
* remove: redux
* fix: add sass back
* fix: update lock
* fix: remove fake access store import
'
2022-02-11 11:19:55 +01:00
Youssef Khedher
c2842c81e6
Refactor/strategies ( #668 )
...
* feat: add useStrategiesApi hook
* refactor: remove redux from strategies component
* refactor: CreateStrategy Component
* fix: remove ts errors
* refactor: change strategy-detail to functional component
* refactor: get strategy name from params
* refactor: use features hook and refactor toggle list link
* refactor: StrategiesList
* refactor: fix delete strategy function
* fix: ts errors
* refactor: CreateStrategy to StrategyForm
* feat: add toast for StrategyForm
* refactor: add StrategyView and delete old component
* refactor: StrategyDetails and clean unused files
* fix: cleanup unused code
* fix: add await
* fix: remove unused stores
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-02-11 00:08:55 +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
Youssef Khedher
5a05bb44a6
Merge branch 'main' into refactor/applications
2022-02-10 11:14:10 +01:00
Youssef Khedher
2a9a3ac569
refactor: refactor addons to TSX and remove unused files ( #676 )
...
* refactor: refactor addons to TSX and remove unused files
* refactor: change AddonIcon to getAddonIcon
* refactor: add PermissionButton instead of conditional render
* refactor: wrap icon buttons inside PermissionIconButtons
* feat: add confirm delete dialog
* fix: create addon form
* fix: refactor addons
* fix: remove addon store folder
* fix: update index
* fix: rebase
* fix: update exports
* fix: update snapshot
* fix: add dev dep
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-02-09 23:05:15 +01:00
Youssef
a6e1e60e2c
refactor: change based on PR feedback
2022-02-09 16:15:07 +01:00
Youssef Khedher
08c4b60cef
fix: project access ( #621 )
...
* feat: update useProjectApi hook
* fix: refactor to hooks
* fix: remove some ts errors
* fix: set message if error exists directly on response
* fix: remove console logs
* fix: typo
* delete: context2
* feat: filter added user from user add list
* fix: cleanup PR based on feedback
* fix: handle undefined roles in ProjectRoleSelect
* fix: use target value
* fix: type event
* fix: conflict
* fix: add appropriate types
* fix conflicts
* fix: explicit query
* fix: refactor list
* refactor: permission icon button
* fix: conflict
* fix: ts errors
* refactor: break list into its own component
* fix: use stringifed deps
* fix: explicit export
* fix: update pr according to comments
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-02-09 12:25:02 +01:00
Youssef Khedher
f58c284f70
Merge branch 'main' into refactor/applications
2022-02-08 13:44:42 +01:00
olav
ff8d983d7e
refactor: port FeatureToggleList to TS/SWR ( #663 )
...
* refactor: remove unused FeatureToggleListItemChip
* refactor: remove unused archive.module.scss
* refactor: remove unused ShowArchive route
* refactor: port FeatureToggleList to TS/SWR
* refactor: fix IUseFeaturesOutput interface prefix
* refactor: remove unnecessary pages files
* refactor: persist the features sort/filter state
* refactor: format files
* refactor: fix FeatureToggleListContainer file name
* refactor: fix arrow function syntax
* refactor: improve storage helper comments
2022-02-08 12:06:25 +01:00
olav
f4d5ed03aa
refactor: port auth admin to TS/SWR ( #675 )
...
* refactor: format files
* refactor: add missing RE UI config flag
* refactor: port admin auth index to TS/SWR
* refactor: port GoogleAuth to TS/SWR
* refactor: port OidcAuth to TS/SWR
* refactor: port SamlAuth to TS/SWR
* refactor: remove unused e-admin-auth store
* refactor: make AutoCreateForm an explicit export
* refactor: improve auth settings dir structure
* refactor: destructure authenticationType from uiConfig
* refactor: use setToastApiError to show errors
* refactor: format files
* refactor: remove invalid string fields from requests
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-02-08 11:44:41 +01:00
Youssef
47a1a47d28
refactor: add useApplicationsApi
2022-02-04 08:14:16 +01:00
Youssef Khedher
899a0f330e
feat: add impressionData switch to create feature form ( #639 )
...
* feat: add impressionData switch to create feature form
* fix: update text
* fix: styling
* fix: conflict
* fix: update link
* fix: remove unused styles
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-02-03 12:39:43 +01:00
Youssef
e25b7b0a22
refactor: remove redux from addons components
2022-02-01 14:12:53 +01:00
Youssef
f3ab91556b
feat: create useAddons and useAddonsApi
2022-02-01 07:17:23 +01:00
Ivar Conradi Østhus
6b632c83bf
feat: allow enterprise to disable password based login ( #629 )
...
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-01-26 13:28:51 +01:00
Fredrik Oseberg
03d937d7e7
fix: remove console log
2022-01-24 15:45:01 +01:00
Fredrik Oseberg
125e7de91e
fix: ts issues
2022-01-24 15:45:01 +01:00
Youssef Khedher
53cff04349
feat: add create and edit context screen (NEW) ( #613 )
...
* feat: add create and edit context screen
* feat: add edit button for contexts list
* fix: add legal values when press enter withou submit form
* fix: context form
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-01-24 15:43:45 +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
Youssef Khedher
7baf8400ca
feat: add create and edit screen for tag-types (NEW) ( #603 )
...
* feat: add create and edit screen for tag-types
* feat: update Edit and create component with permissions
* refactor: add TagForm type to react FC
* fix: routes
* fix: add edit button
* fix: update snapshot
* fix: update permission
* fix: permission
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-01-18 14:35:50 +01:00
Youssef Khedher
b209368c84
feat: add create api token screen (NEW PR) ( #600 )
...
* feat: add create api token screen
* fix: update headers
* fix: remove old api create
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-01-17 11:56:53 +01:00
Youssef Khedher
182d566895
feat/rbac roles ( #562 )
...
* feat: create screen
* fix: import accordion summary
* feat: add accordions
* fix: add codebox
* feat: select permissions
* fix: permission checker
* fix: update permission checker
* feat: wire up role list
* fix: change icon color in project roles list
* fix: add color to icon in project roles
* add confirm dialog on role deletion
* feat: add created screen
* fix: cleanup
* fix: update access permissions
* fix: update admin panel
* feat: add edit screen
* fix: use color from palette and show toast when fails
* fix: refactor
* feat: validation
* feat: implement checked all
* fix: experimental toast
* fix: error handling
* fix: toast
* feat: unique name validation
* fix: update toasts
* fix: remove toast
* fix: reset flag
* fix: remove unused vars
* fix: update tests
* feat: add error icon for toast
* fix: replace wrong import for setToastData
* feat: Patch keying on ui to handle uniqueness for permissions across multiple envs
* fix: hasAccess handles *
* fix: update permission switch
* fix: use flag for environments rbac
* fix: do not include check all keys in payload
* fix: filter roles
* fix: account for new permissions in variants list
* fix: use effect on length property
* fix: set polling interval on user
* 4.5.0-beta.0
* fix: set initial permissions correctly to avoid race condition
* fix: handle activeEnvironment when it is null
* fix: remove unused imports
* fix: unused imports
* fix: Include missing project in hasAccess for deleteinng a tag
* fix: Move add/delete tag to use update feature permissions
* fix: use rest parameter
* fix: remove sandbox from scripts
* 4.6.0-beta.1
* fix: remove loading deduping
* fix: disable editing on builtin roles
* fix: check all
* fix: feature overview environment
* fix: refetch user on project create
* fix: update snaphots
* fix: frontend permissions
* fix: delete create confirm
* fix: remove unused permission
* 4.6.0-beta.4
* fix: update permissions
* fix: permissions
* fix: set error to string
* 4.6.0-beta.5
* fix: add permissions for project view
* fix: add permissions to useEffect deps
* fix: update permission for move feature toggle
* fix: add permissions data to useEffect
* fix: move settings
* fix: key on confetti
* fix: refetch project permissions on environment create/delete
* fix: optional coalescing error object
* fix: remove logging error
* fix: reorder disable importance in permissionbutton
* fix: add project roles to menu
* fix: add disabled check to revive
* fix: update snapshots
* fix: change text to select all
* fix: change text to select
* 4.6.0-beta.6
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
Co-authored-by: sighphyre <liquidwicked64@gmail.com>
2022-01-14 15:50:02 +01:00
Youssef Khedher
c34d8439bd
Feat/splash ( #491 )
...
* splash screen
* add styles for controllers
* feat: animated circles
* fix: remove unused code
* fix: folder structure
* create splash screens for envs
* add styles and ui changes
* fix: revert App.tsx
* add splash state to store
* add splash to app.tsx + add a loader
* fix: mobile view + desktop view
* fix: render splash condition + styling fix
* fix: change splash display to full screen
* Update src/hooks/api/actions/useSplashApi/useSplashApi.ts
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
* fix: change function type
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
* fix: disable incrementing counter when matching the components length.
* fix: add SWR configuration
* fix: spelling mistakes in splash screen
* fix: add keys and adjust styling
* fix: tests
* fix: tests
* fix: default command timeout
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2021-11-26 11:12:37 +01:00
Christopher Kolstad
83443627d9
feat: Use new Variants API ( #518 )
...
* feat: Use new Variants API
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2021-11-25 14:05:44 +01:00
Youssef Khedher
ed6efff643
Fix/variants: Fix delete one variant + remove switch when add first variant ( #466 )
...
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2021-10-28 13:32:29 +02:00
Ivar Conradi Østhus
edd6706ffe
fix: new create toggle page
2021-10-15 14:16:17 +02:00
Ivar Conradi Østhus
1058b4049c
fix: envrionments should give understandable error if not possible to… ( #433 )
2021-10-14 19:58:57 +02:00
Fredrik Strand Oseberg
7da3573edb
Feat/visual enhancements ( #404 )
...
* fix: stale style
* fix: execution plan styling
* fix: paths
* fix: remove console logs
* fix: snapshots
* fix: add comma
* fix: update snapshots
2021-10-08 16:19:06 +02:00
Ivar Conradi Østhus
7406cbbaa7
fix: add clone feature toggle via API
2021-10-08 13:47:17 +02:00
Fredrik Strand Oseberg
37b818fce4
Feat/feature toggle view tags ( #399 )
...
* feat: new tags
* feat: archive
* wip: variants
* add support for deletion, variable/fixed weight toggle and weight editing
* Add confirmation dialogue for deleting variants
* feat: settings
* fix: recalculate on project name change
* feat: feature environment metrics
* feat: environment
* Add toggle for stale
* fix: refetch on create strategy
* fix: lint
* fix: update snapshots
* fix: add link to icon button
* fix: revert test user
* fix: increase size!
* fix: use permission attr for ResponsiveButton
* fix: dev dependency
* fix: theme
* fix: stale style
* Update src/component/feature/FeatureView2/FeatureSettings/FeatureSettingsMetadata/FeatureTypeSelect/FeatureTypeSelect.tsx
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
* Update src/component/feature/FeatureView2/FeatureVariants/FeatureVariantsList/FeatureVariantsList.tsx
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
* Update src/component/feature/FeatureView2/FeatureVariants/FeatureVariantsList/FeatureVariantsListItem/useDeleteVariantMarkup.tsx
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: Christopher Kolstad <git@chriswk.no>
2021-10-08 11:23:29 +02:00
Fredrik Strand Oseberg
47579e2616
Feat/toggle view ( #389 )
...
* feat: toggle view
* fix: navigation
* eat: toggle view
* fix: resolve lint
* fix: remove console logs
* fix: reimplement feature validation
2021-10-01 13:49:18 +02:00
Ivar Conradi Østhus
97893aa762
feat: project environments configuration ( #365 )
2021-09-30 10:24:16 +02:00
Fredrik Strand Oseberg
27988e4b30
Feat/environment strategies ( #339 )
...
* feat: strategies list
* feat: dnd
* fix: resolve reference issues
* feat: configure strategy wip
* feat: rearrange list
* feat: add debounce and execution plan
* feat: add separator
* feat: update strategy
* fix: feature strategy accordion key
* fix: localize parameter update logic
* feat: ts conversion
* fix: perf issues
* feat: production guard
* fix: clean up environment list
* fix: implement markup hooks for environment list
* feat: wip constraints
* fix: handle nested data structure reference issue
* fix: clone deep on child props
* fix: remove constraints check
* fix: revert to strategies length
* fix: refactor useFeature
* feat: cache revalidation
* fix: set correct starting tab
* fix: reset params on adding new strategy
* fix: refactor to use useSWR instead of local cache
* fix: check dirty directly from new params
* fix: dialogue ts
* fix: Clean-up typescript warnings
* fix: some more typescript nits
* feat: strategy execution
* feat: strategy execution for environment
* fix: refactor execution separator
* fix: remove unused property
* fix: add header
* fix: 0 value for rollout
* fix: update snapshots
* fix: remove empty deps
* fix: use constant for env type
* fix: use default for useFeatureStrategy
* fix: update snapshot
* Update src/component/feature/FeatureView2/FeatureStrategies/FeatureStrategiesEnvironments/FeatureStrategiesEnvironmentList/useDeleteStrategyMarkup.tsx
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
* Update src/component/feature/FeatureView2/FeatureStrategies/FeatureStrategyExecution/FeatureStrategyExecution.tsx
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
* Update src/component/feature/strategy/EditStrategyModal/general-strategy.jsx
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: UnleashTeam <79193084+UnleashTeam@users.noreply.github.com>
2021-09-27 13:35:32 +02:00
Ivar Conradi Østhus
1845eb95e6
feat: Add project and environment scoping to API keys ( #336 )
...
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2021-09-26 22:41:38 +02:00
Fredrik Strand Oseberg
92f3f8af08
Feat/environment crud ( #335 )
...
* feat: add env
* fix: create environment form
* feat: create environment
* feat: add deletion protection
* fix: lift up state
* feat: add ability to update environment
* fix: remove env reset
* fix: remove link
* feat: add drag and drop sorting
* fix: remove unused imports
* feat: add methods to toggle env on/off
* feat: only make api call on drop
* fix: disabled text
* fix: add disabled indicator
* fix: add edit env payload
* fix: add E flag
* fix: cleanup
* fix: update snapshots
* fix: remove useFeature
* fix: change property to errorText
* fix: update tests
* fix: change menu
* fix: update snapshots
* feat: toggle view v2
* fix: handle error on sort order api call
* fix: remove unused import
* fix: useFeature
* fix: update tests
* fix: console logs
* fix: use try catch
* fix: update snapshots
2021-09-14 14:20:23 +02:00
Fredrik Strand Oseberg
728477e238
Feat/feature routes ( #327 )
...
* fix: setup new routes
* fix: copy toggle
* fix: link to correct project
* fix: redirect oss to default
* fix: update tests
* fix: edit path
* fix: remove invalid property
* fix: add project to test data
* fix: update paths to use features
* fix: update test data
* fix: update snapshots
* fix: only show button to add toggle if you have access
* fix: change heading
* fix: use new route
* fix: archive view
* fix: update snapshots
* fix: sorting headers
* fix: list headers
* fix: only show span if revive is present
* fix: add border to list
* fix: update snapshots
* fix: remove console log
2021-08-25 13:37:22 +02:00
Fredrik Strand Oseberg
1a63d91f95
Feat/new navigation ( #314 )
...
* feat: change color scheme
* feat: add navigation menu
* fix: add bg image
* fix: add archive and strategies to navigation
* fix: round corners
* feat: mobile view project details
* feat: mobile view navigation
* fix: only show menu if user is admin
* fix: rename navigation
* fix: only render relevant routes for oss context
* feat: add project actions
* feat: add icons
* feat: add breadcrumbs
* fix: place breadcrumbs absolutely
* fix: adjust breadcrumbs
* fix: toast
* fix: cleanup
* fix login
* fix: breadcrumbs
* fix: add billing link
* fix: links
* fix: feature view
* fix: path to go back
* fix: remove default value
* fix: remove unused imports
* refactor: delete outdated test
* fix: add item to filter in breadcrumb
* fix: remove console log
2021-07-16 15:41:54 +02:00
Fredrik Strand Oseberg
85a7c55fdf
Feat/group by projects ( #308 )
...
This PR adds support for projects as a first class citizen, and toggling features on in different environments.
2021-07-07 11:04:36 +02:00