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 change requests #8852

Merged
merged 2 commits into from
Nov 26, 2024
Merged

feat: view diff in change requests #8852

merged 2 commits into from
Nov 26, 2024

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Nov 25, 2024

About the changes

Folks using change requests had problems discovering hover action on strategy type to get change request diff.

We make View Diff explicit
Screenshot 2024-11-25 at 15 56 53

And this is on hover state
Screenshot 2024-11-25 at 15 56 49

Important files

Discussion points

Copy link

vercel bot commented Nov 25, 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 25, 2024 3:02pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Nov 25, 2024 3:02pm

Copy link
Contributor

github-actions bot commented Nov 25, 2024

Dependency Review

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

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

Copy link
Contributor

@sjaanus sjaanus left a comment

Choose a reason for hiding this comment

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

LGTM

@kwasniew kwasniew merged commit 90440c0 into main Nov 26, 2024
10 of 11 checks passed
@kwasniew kwasniew deleted the view-diff-change-request branch November 26, 2024 08:28
@@ -69,6 +69,11 @@ const StyledContainer: FC<{ children?: React.ReactNode }> = styled('div')(
}),
);

const ViewDiff = styled('span')(({ theme }) => ({
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be a button? I'm not sure I understand exactly how this works. Do you click "view diff" to open it? If so, it should definitely render as a button. Do you just hover it? If so, we should make sure you can tab to it correctly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's hover based tooltip and it's tab friendly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants