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

Fix open with cmd key #5381

Merged
merged 8 commits into from
Jan 31, 2025
Merged

Fix open with cmd key #5381

merged 8 commits into from
Jan 31, 2025

Conversation

poulch
Copy link
Member

@poulch poulch commented Jan 30, 2025

Scope of the change

@poulch poulch requested a review from a team as a code owner January 30, 2025 09:36
Copy link

changeset-bot bot commented Jan 30, 2025

🦋 Changeset detected

Latest commit: ec2cb3a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
saleor-dashboard Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot temporarily deployed to pr-5381 January 30, 2025 09:39 Destroyed
@github-actions github-actions bot temporarily deployed to pr-5381 January 30, 2025 09:51 Destroyed
@github-actions github-actions bot temporarily deployed to pr-5381 January 30, 2025 10:07 Destroyed
@github-actions github-actions bot temporarily deployed to pr-5381 January 30, 2025 10:13 Destroyed
@@ -530,16 +530,16 @@ export const Datagrid: React.FC<DatagridProps> = ({
aria-hidden={true}
onWheelCapture={hideLinkAndShowAfterDelay}
onClick={e => {
Copy link
Member

@andrzejewsky andrzejewsky Jan 30, 2025

Choose a reason for hiding this comment

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

move this handler to the separate function and a write test where you pass event and you make assertion what url is being passed to the "navigate" + add comment in the test that navigate uses browser history which handles /dashbaord/ vs /

@github-actions github-actions bot temporarily deployed to pr-5381 January 31, 2025 11:04 Destroyed
@github-actions github-actions bot temporarily deployed to pr-5381 January 31, 2025 11:26 Destroyed
@github-actions github-actions bot temporarily deployed to pr-5381 January 31, 2025 11:41 Destroyed
@github-actions github-actions bot temporarily deployed to pr-5381 January 31, 2025 11:56 Destroyed
@poulch poulch merged commit 1743872 into main Jan 31, 2025
15 checks passed
@poulch poulch deleted the bck-1295-fix-cmd branch January 31, 2025 12:26
poulch added a commit that referenced this pull request Jan 31, 2025
* Fix open with cmd key

* Add changeset

* Log href

* Remove console.log and use default action

* Add tests

* Change mocking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants