-
Notifications
You must be signed in to change notification settings - Fork 0
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: focus indicators table elements #6
Conversation
dcf3cb8
to
fc1a806
Compare
@abdul99ahad It's a fairly new pseudo-class but supported by all major browsers. |
@philippfromme I think it won't properly represent multiple selectable elements within the same cell. We already have that use case where a variable can have multiple origins. So I'd not go down that route. |
Is multiple selectable elements in a single table cell a pattern we want to support? |
I'd like us to make it clear what elements we want to be focusable. @philippfromme's proposal makes it so only table cells can be focussed from the appearance point of view. However, as displayed in the top-comment example, it is not the cells but only certain elements in the cells which can have focus: As a side note, we could rename the Origin column to properly represent the aspect of supporting multiple places where the variable is written to. Origins sound awkward to me because I'd rather expect a single origin. |
This is scope creep, unrelated to PR ;) |
523c217
to
9b90729
Compare
Reverted to individual focusable table cells with improved focus alignment. |
9b90729
to
da36c1f
Compare
da36c1f
to
0af91ee
Compare
I reworked the changes in this PR based of our previous discussions:
|
0af91ee
to
50e17db
Compare
@abdul99ahad this is ready to be released and incorporated. |
Related to camunda/camunda-modeler#4632
Proposed Changes
Previously, table elements lacked focus states. Since they are interactive elements, focus states have been added.
Checklist
To ensure you provided everything we need to look at your PR:
@bpmn-io/sr
toolCloses {LINK_TO_ISSUE}
orRelated to {LINK_TO_ISSUE}