-
Notifications
You must be signed in to change notification settings - Fork 13
fix: update field editing focus outline style #643
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
Merged
BenHenning
merged 6 commits into
RaspberryPiFoundation:main
from
microbit-matt-hillsdon:field-edit-focus-style
Jul 8, 2025
Merged
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
c1234c9
Update field editing focus outline style
microbit-grace a3c9562
Merge branch 'main' into field-edit-focus-style
microbit-matt-hillsdon 478cf40
chore: comment CSS, remove readded duplicate selector
microbit-matt-hillsdon 250494c
fix: correct use of focus-within
microbit-matt-hillsdon 39dbe81
chore: consistently use focus-within
microbit-matt-hillsdon 3ea518a
chore: remove redundant case
microbit-matt-hillsdon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For this & the other CSS: I think this is starting to get quite complicated to follow, and would benefit from at least comments for each new section explaining briefly what it's intending to do (even if some of them can just say 'look at the same selector above for an explanation').
Separately, if there's time it may well be worth adding tests for some or all of these cases. Without explicitly verifying CSS, I suspect it has a decent chance of breaking at some point in the future (and probably being really unclear to whoever breaks it what they should be testing).
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah agreed, Grace and I will do both of these but let's do it as a follow up after sorting out how this change relates to #637
I think if I go through it and add more comments now I'll make that harder to sort out whichever way we decide.
Please make a judgement as to whether it's best to merge this now and rework that PR to include this change or hold off for that to land and rework this one.
Raised #645, please feel free to assign to me (if possible).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@microbit-matt-hillsdon @rachel-fenichel is going to address aaron's comment on #637 since Christopher has gone home for the day, that way we can get that submitted today and unblock this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
We've merged in main and moved our changes to the index.ts file.
I've also added comments to the CSS. We'll look at testing the styles in a separate PR.