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: view diff in edit segment CR #8874

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Conversation

kwasniew
Copy link
Contributor

About the changes

Screenshot 2024-11-27 at 16 42 59

Changes:

  • edit segment has the same View Diff as edit strategy
  • removing snapshot from diff comparison. Segment snapshots broke diffs

Next PRs:

  • take update segment snapshots on apply change request similarly to update strategy
  • add tests for this UI component
  • consider removing delete segment CR visualization since we can only remove unused segments so CRs never take part in segments removal

Important files

Discussion points

Copy link

vercel bot commented Nov 27, 2024

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 Nov 27, 2024 3:45pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Nov 27, 2024 3:45pm

Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

const Truncated = styled('div')(() => ({
...textTruncated,
maxWidth: 500,
display: 'flex',
Copy link
Contributor

Choose a reason for hiding this comment

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

Out of curiosity, what's the flex doing here? Is it just aligning the items on a row (which used to not be necessary because there was only one item)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, preventing elements from being put one below the other. We prefer a horizontal row similar to strategy changes

@kwasniew kwasniew merged commit 0d72cfb into main Nov 28, 2024
13 checks passed
@kwasniew kwasniew deleted the view-diff-edit-segment-cr branch November 28, 2024 08:29
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.

2 participants