Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Change Request on Reorder UI #4249

Merged
merged 13 commits into from
Jul 25, 2023

Conversation

andreas-unleash
Copy link
Contributor

Change request UI for reordering strategies with variants

About the changes

Closes #

Important files

Discussion points

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
@sonatype-lift
Copy link

sonatype-lift bot commented Jul 17, 2023

Sonatype Lift is retiring

Sonatype Lift will be retiring on Sep 12, 2023, with its analysis stopping on Aug 12, 2023. We understand that this news may come as a disappointment, and Sonatype is committed to helping you transition off it seamlessly. If you’d like to retain your data, please export your issues from the web console.
We are extremely grateful and thank you for your support over the years.

📖 Read about the impacts and timeline

@vercel
Copy link

vercel bot commented Jul 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 25, 2023 10:47am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Jul 25, 2023 10:47am

…ents

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
@@ -8,7 +8,8 @@ export interface IChangeSchema {
| 'addStrategy'
| 'updateStrategy'
| 'deleteStrategy'
| 'patchVariant';
| 'patchVariant'
| 'updateEnvironmentStrategyExecutionOrder';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's reorderStrategy in the backend schema

@@ -9,6 +9,9 @@ import { IFeatureEnvironment } from 'interfaces/featureToggle';
import { FeatureStrategyEmpty } from 'component/feature/FeatureStrategy/FeatureStrategyEmpty/FeatureStrategyEmpty';
import { useRequiredPathParam } from 'hooks/useRequiredPathParam';
import { useFeature } from 'hooks/api/getters/useFeature/useFeature';
import { useChangeRequestApi } from '../../../../../../../hooks/api/actions/useChangeRequestApi/useChangeRequestApi';
import { useChangeRequestsEnabled } from '../../../../../../../hooks/useChangeRequestsEnabled';
import { usePendingChangeRequests } from '../../../../../../../hooks/api/getters/usePendingChangeRequests/usePendingChangeRequests';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dots

);
const environmentStrategies = featureEnvironment?.strategies || [];

const preData = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

untested logic

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
@kwasniew
Copy link
Contributor

Screenshot 2023-07-20 at 12 22 33 Dots in the weird place. Also the UI is not very informative. Maybe we should have strategy name in the UI

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
@andreas-unleash andreas-unleash merged commit 988a3a5 into main Jul 25, 2023
15 checks passed
@andreas-unleash andreas-unleash deleted the feat/feature_envrionment_strategy_execution_FE branch July 25, 2023 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants