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

[58414] When you click on the "To the Notification Center" button, an outline appears #69

Conversation

bsatarnejad
Copy link

When clicking on an octicon, there is an outline around it, it is related to the tabIndex set to it.
We need to remove it from the component.

https://community.openproject.org/projects/openproject/work_packages/58414/activity

Copy link

changeset-bot bot commented Oct 21, 2024

🦋 Changeset detected

Latest commit: ab73b6b

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

This PR includes changesets to release 1 package
Name Type
@openproject/octicons 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

@bsatarnejad bsatarnejad requested a review from HDinger October 22, 2024 05:44
@bsatarnejad bsatarnejad self-assigned this Oct 22, 2024
@bsatarnejad bsatarnejad added the bug Something isn't working label Oct 22, 2024
Copy link
Collaborator

@HDinger HDinger left a comment

Choose a reason for hiding this comment

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

Hi @bsatarnejad

please do not touch the react code, as it is coming directly from Primer and will only cause merge conflicts if we touch it. Further, we are not using the React components at all..
Looking however at the react code, I notifced that the tabIndex is optional there with no default set. So if we aim for consistency, we should probably still allow the tabIndex but not set a default. What do you think?

@bsatarnejad
Copy link
Author

Hi @bsatarnejad

please do not touch the react code, as it is coming directly from Primer and will only cause merge conflicts if we touch it. Further, we are not using the React components at all.. Looking however at the react code, I notifced that the tabIndex is optional there with no default set. So if we aim for consistency, we should probably still allow the tabIndex but not set a default. What do you think?

Hi @HDinger
I agree with making tabIndex optional in the sake of consistency. 👍

Copy link
Collaborator

@HDinger HDinger left a comment

Choose a reason for hiding this comment

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

I just have one minor remark. Otherwise it is looking fine 👍

Co-authored-by: Henriette Darge <h.darge@openproject.com>
@bsatarnejad bsatarnejad merged commit 572ba70 into main Oct 24, 2024
9 checks passed
@bsatarnejad bsatarnejad deleted the 58414-when-you-click-on-the-to-the-notification-center-button-an-outline-appears branch October 24, 2024 08:21
@openprojectci openprojectci mentioned this pull request Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

2 participants