andreas-unleash
69d050a70f
fix: grey out text and icons for disabled strategies in playground ( #5113 )
...
What it says on the tin
Closes #
[1-1512](https://linear.app/unleash/issue/1-1512/grey-out-everything-icons-labels-etc-when-strategy-is-disabled )
<img width="689" alt="Screenshot 2023-10-20 at 12 25 51"
src="https://github.com/Unleash/unleash/assets/104830839/3192a125-0e2a-46f2-a266-e4d6c171bdad ">
<img width="711" alt="Screenshot 2023-10-20 at 14 52 30"
src="https://github.com/Unleash/unleash/assets/104830839/15040439-c059-4725-9518-82e363fd7230 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-23 15:12:15 +03:00
andreas-unleash
1335da6366
Feat: show disabled strategies in playground ( #5081 )
...
Show disabled strategies in separate list
Do not show any results in segments/constraints when disabled
Closes #
[1-1506](https://linear.app/unleash/issue/1-1506/display-disabled-strategies-in-playground-page )
![Screenshot 2023-10-18 at 13 13
48](https://github.com/Unleash/unleash/assets/104830839/ab788241-6593-42a2-aced-412b59e308c8 )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-19 16:50:50 +03:00
Mateusz Kwasniewski
bed26a938c
test: playground with dependencies ( #4936 )
2023-10-06 09:19:25 +02:00
Mateusz Kwasniewski
2c7587ba4b
feat: dependent features in playground ( #4930 )
2023-10-05 13:05:20 +02:00
Nuno Góis
4167a60588
feat: biome lint frontend ( #4903 )
...
Follows up on https://github.com/Unleash/unleash/pull/4853 to add Biome
to the frontend as well.
![image](https://github.com/Unleash/unleash/assets/14320932/1906faf1-fc29-4172-a4d4-b2716d72cd65 )
Added a few `biome-ignore` to speed up the process but we may want to
check and fix them in the future.
2023-10-02 13:25:46 +01:00
Ivar Conradi Østhus
013efac46b
feat: open-source segments 🚀 ( #4690 )
...
We love all open-source Unleash users. in 2022 we built the [segment
capability](https://docs.getunleash.io/reference/segments ) (v4.13) as an
enterprise feature, simplify life for our customers.
Now it is time to contribute it to the world 🌏
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-09-19 11:24:26 +00:00
Mateusz Kwasniewski
593f83d5d3
feat: advancedPlayground flag used only for runtime control ( #4262 )
2023-07-18 08:49:04 +02:00
Mateusz Kwasniewski
f0fe2368e1
feat: execution plan diff table ( #4065 )
2023-06-22 13:46:29 +02:00
Jaanus Sellin
9969433f8c
refactor: not used cleanup ( #3347 )
2023-03-21 11:10:07 +02:00
NicolaeUnleash
23af7a3474
refactor: light theme colors ( #3252 )
...
## About the changes
Refactoring the colors for the light theme to be much easier to continue
with dark mode
This is the first step to finish dark mode
https://linear.app/unleash/project/[low][s][alpha]-dark-mode-in-unleash-admin-ui-31b407d13c4b/1
This PR uses `main-theme` as a placeholder for `dark-theme` for now due
to the new changes. Still need to set the correct values here.
---------
Co-authored-by: Nuno Góis <github@nunogois.com>
2023-03-06 12:58:36 +02:00
Nuno Góis
233e06ec6a
fix: disable autoResetHiddenColumns when useConditionallyHiddenColumns ( #2851 )
...
https://linear.app/unleash/issue/2-563/fix-issue-with-useconditionallyhiddencolumns-and-react-table
It seems like we should add `autoResetHiddenColumns: false` to
`useTable` whenever we use `useConditionallyHiddenColumns`.
Basically the thought is that, if we're controlling column visibility in
our own way, we should not want other things to change that state
unpredictably, otherwise this may make React go _brrrrrr_. And it can be
very hard to pinpoint what exactly may be causing React to go _brrrrrr_.
![image](https://user-images.githubusercontent.com/14320932/211332339-95918c5c-e3ea-40e9-b8b4-756a798a4702.png )
First detected this issue apparently randomly while developing the new
SA table. Around 10-20 page refreshes would eventually trigger it. Was
not easy to find, but hopefully this fixes it permanently. At least I
haven't been able to reproduce it since. Maybe someone has a better idea
of where the issue could be or if this is a pretty good guess. Doesn't
seem like this change hurts us anyways.
I love React, `useEffect` and these very to-the-point error messages.
Very fun and productive.
Reference: https://react-table-v7.tanstack.com/docs/api/useTable
2023-01-10 08:15:12 +00:00
Tymoteusz Czech
1653b0449a
Orval generator POC ( #2724 )
...
for #2715
2023-01-05 11:57:53 +01:00
Fredrik Strand Oseberg
093156f5f5
Refactor/make styles batch 6 part 2 ( #2811 )
...
Adds another batch of refactored components
2023-01-03 16:15:22 +01:00
Fredrik Strand Oseberg
241ede8ca9
Refactor/make styles batch 6 ( #2793 )
...
Refactors a number of components in the frontend away from deprecated makeStyles
2023-01-03 09:24:55 +01:00
Nuno Góis
1d1219a055
Use new useConditionallyHiddenColumns hook ( #2695 )
...
https://linear.app/unleash/issue/2-515/adapt-tables-to-use-the-new-useconditionallyhiddencolumns-hook
Uses the new `useConditionallyHiddenColumns` hook, like mentioned here:
https://github.com/Unleash/unleash/pull/2691
Also includes small fixes for things I caught along the way. See
comments below.
2022-12-16 10:46:04 +01:00
Fredrik Strand Oseberg
e439e46090
fix: change domain vocabulary ( #2503 )
...
* Changes the naming of useOpenRequests to usePendingChangeRequests
2022-11-23 13:45:19 +01:00
Fredrik Strand Oseberg
978674e33a
feat: update strategy segments with edit / create strategy ( #2420 )
...
* Refactors how we add / edit segments to make it more ergonomic to work with in regards to change requests
2022-11-16 15:35:39 +01:00
Tymoteusz Czech
0a855604af
feat: review your draft sidebar ( #2305 )
...
* refactor playground status chip component
* fix: update change request sidebar
* refactor: status badge cleanup
* fix: prettier formatting
2022-11-02 16:05:27 +01:00
Mateusz Kwasniewski
0dba973881
Feat/apply changes ( #2258 )
...
* feat: add suggested change component
* fix: build
* feat: suggestion header
* ui sketching different toggle changes
* feat: strategy change sets UI tweaks
* refactor: extract nested components
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-10-26 09:45:24 +02:00
andreas-unleash
eaaaa29199
Playground UI bugs and improvements ( #1219 )
...
* fix status cell logic
* Add back disabled env wrapper
* Add back disabled env wrapper
* fmt
* Wording improvements, refactor for readability
* improvement
* fmt
* Fixes after merge
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-08-12 15:33:18 +02:00
Tymoteusz Czech
859aa435e0
Refine Playground UI ( #1217 )
...
* fix playground border radius consistency
* improve playground alerts
* fix: playground segments constraint type logic
* fix: refactor segment execution
* fix: comments
* fix: add summary width
* align playground spacing and borders
* fix build - ts segment type in playground
* fix status cell logic
* update playground disabled env info
* fix playground filter by status and sort
Co-authored-by: Nuno Góis <github@nunogois.com>
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
Co-authored-by: andreas-unleash <104830839+andreas-unleash@users.noreply.github.com>
Co-authored-by: Nuno Góis <github@nunogois.com>
2022-08-12 10:13:07 +00:00
Tymoteusz Czech
d2225c62c9
fix playground custom strategy parameters debugging ( #1213 )
...
* fix playground custom strategy parameters debugging
* fix playground strategy parameters and chips consistency
2022-08-11 08:36:23 +00:00
Fredrik Oseberg
acbe61b74b
fix: import typography
2022-08-10 14:30:57 +02:00
Fredrik Oseberg
ad1b7bf8fc
fix: remove page content
2022-08-10 14:29:24 +02:00
andreas-unleash
a01bbb2db9
fix loader, change width to show full header name
2022-08-10 14:37:13 +03:00
Fredrik Oseberg
eaff77afd4
fix: add widths for viritualized table
2022-08-10 13:15:33 +02:00
andreas-unleash
1a30f42635
Merge branch 'main' into fix/playground_virtualisation_loader
2022-08-10 07:37:58 +03:00
andreas-unleash
a4c6ae2077
Added unknown evaluation state to table
...
Moved playground.model.ts to Playground folder
2022-08-09 17:41:43 +03:00
andreas-unleash
781813fd05
Merge remote-tracking branch 'origin/task/Add_strategy_information_to_playground_results' into task/Add_strategy_information_to_playground_results
2022-08-09 10:11:00 +03:00
andreas-unleash
69d6a1f186
PR comments
2022-08-09 10:10:45 +03:00
andreas-unleash
d0a04348f3
Update src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/FeatureDetails/FeatureDetails.tsx
...
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-08-09 10:08:44 +03:00
andreas-unleash
fa0e75d22a
PR comment
2022-08-08 16:24:14 +03:00
andreas-unleash
18afc34f85
fix build
2022-08-08 16:21:23 +03:00
andreas-unleash
a0091ffabc
bug fix
2022-08-08 16:07:52 +03:00
andreas-unleash
66287948dd
bug fix
2022-08-08 14:11:20 +03:00
andreas-unleash
eb7d7e59d5
improvements
2022-08-08 14:00:49 +03:00
andreas-unleash
90685cef22
improvements
2022-08-08 13:53:28 +03:00
andreas-unleash
3b2947e9af
Merge remote-tracking branch 'origin/task/Add_strategy_information_to_playground_results' into task/Add_strategy_information_to_playground_results
...
# Conflicts:
# src/component/playground/Playground/PlaygroundResultsTable/FeatureResultInfoPopoverCell/PlaygroundResultFeatureStrategyList/PlaygroundResultStrategyList/PlaygroundResultFeatureStrategyItem/PlaygroundResultFeatureStrategyItem.tsx
2022-08-08 13:46:38 +03:00
andreas-unleash
f057bbfd61
style fix
2022-08-08 13:46:11 +03:00
Tymoteusz Czech
b32b751f2c
update custom strategy params from feature branch
2022-08-08 11:41:35 +02:00
Tymoteusz Czech
6bf05d89e7
fix react key warning
2022-08-08 11:36:33 +02:00
Tymoteusz Czech
1620d72c8f
rename files related to playground
2022-08-08 11:23:37 +02:00
Tymoteusz Czech
d013475538
fix formatting - prettier
2022-08-08 11:23:37 +02:00
Tymoteusz Czech
e432ae45e0
update strategy border for playground
2022-08-08 11:20:47 +02:00
andreas-unleash
e75f03b8f2
fmt fix
2022-08-08 12:16:53 +03:00
andreas-unleash
ceb7d2e3cc
Parameters Bug fix
2022-08-08 11:38:36 +03:00
andreas-unleash
ff33308d8e
Parameters Bug fix
2022-08-08 10:42:45 +03:00
andreas-unleash
33288caae4
PR comments
2022-08-05 12:16:51 +03:00
andreas-unleash
8785c47ab4
improvement
2022-08-04 16:53:08 +03:00
andreas-unleash
3c5c855fc5
custom strategies adjustments
2022-08-04 16:25:45 +03:00