Fredrik Strand Oseberg
005daa3740
Fix/login redirect ( #442 )
...
* fix: use swr with login
* fix: remove metrics poller
* fix: do not allow retry on 401
* fix: create swr provider
* fix: move accessprovider
* fix: remove metrics poller test
* fix: hide password auth if disableDefault is set
* Update src/component/project/ProjectList/ProjectList.tsx
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
* fix: console log
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-10-19 13:08:25 +02:00
Ivar Conradi Østhus
edd6706ffe
fix: new create toggle page
2021-10-15 14:16:17 +02:00
Christopher Kolstad
6d42502792
Add default strategy type to strategy hook
...
- Fixes the missing sidebar while loading the strategy types
Trello:
https://trello.com/c/WJk8bI8l/490-feature-strategies-loading-state
2021-10-15 11:43:11 +02:00
Christopher Kolstad
4230fc98ed
Feat/new metrics tab ( #432 )
...
* New metric tab if environment flag is active
* Prepare new metrics tab - need styling help!!
2021-10-15 10:05:10 +02:00
Christopher Kolstad
166c6fef0e
Write a generic http thrower for status > 299 ( #405 )
...
* Write a generic http thrower for status > 299
* Perform location reload if user is no longer authorized, i.e if status === 401
2021-10-15 09:21:38 +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
Christopher Kolstad
8a9dc32bad
Create hook for fetching featureMetrics ( #414 )
...
* Create hook for fetching featureMetrics
2021-10-13 10:20:34 +02:00
Ivar Conradi Østhus
012cfc1806
fix: hide project CRUD actions for oss ( #416 )
2021-10-12 13:21:45 +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