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

refactor: physical layout consistency #2595

Merged

Conversation

Nick-Munnich
Copy link
Contributor

An alternative approach to #2582, as suggested by Joel and supported by Pete. Felt multiple PRs would be better here, to allow us to compare the different versions more directly.

Overall it looks nice, but future refactors to make a layout shared would still often be slightly more involved than dragging and dropping into the shared folder - multiple layouts present = need to be uncoupled.

@Nick-Munnich Nick-Munnich requested a review from a team as a code owner October 27, 2024 01:03
@Nick-Munnich Nick-Munnich force-pushed the physical-layouts-refactor-2 branch from 00e5c51 to c03a093 Compare October 27, 2024 08:38
@caksoylar caksoylar added studio ZMK Studio (runtime keymaps) refactor labels Oct 27, 2024
Copy link
Contributor

@petejohanson petejohanson left a comment

Choose a reason for hiding this comment

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

I generally favor this approach over #2582. One point of discussion.

app/boards/arm/adv360pro/adv360pro-layouts.dtsi Outdated Show resolved Hide resolved
@Nick-Munnich Nick-Munnich force-pushed the physical-layouts-refactor-2 branch 6 times, most recently from 6c34b67 to 192931c Compare November 5, 2024 14:56
Copy link
Contributor

@petejohanson petejohanson left a comment

Choose a reason for hiding this comment

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

One question/issue with the map override approach taken here.

app/boards/shields/jiran/jiran-layouts.dtsi Outdated Show resolved Hide resolved
app/boards/shields/jorne/jorne-layouts.dtsi Outdated Show resolved Hide resolved
@Nick-Munnich Nick-Munnich force-pushed the physical-layouts-refactor-2 branch from 192931c to 41c71d2 Compare November 6, 2024 18:09
@Nick-Munnich Nick-Munnich requested a review from a team as a code owner November 6, 2024 18:09
@Nick-Munnich Nick-Munnich force-pushed the physical-layouts-refactor-2 branch from 41c71d2 to 610896c Compare November 6, 2024 18:24
Copy link
Contributor

@petejohanson petejohanson left a comment

Choose a reason for hiding this comment

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

LGTM. @caksoylar thoughts on the docs?

@Nick-Munnich Nick-Munnich force-pushed the physical-layouts-refactor-2 branch 2 times, most recently from a8ce515 to d29a952 Compare November 6, 2024 19:12
@Nick-Munnich Nick-Munnich force-pushed the physical-layouts-refactor-2 branch from d29a952 to d11829d Compare November 6, 2024 21:24
@Nick-Munnich
Copy link
Contributor Author

Should be all good now.

@petejohanson petejohanson merged commit 99b8506 into zmkfirmware:main Nov 6, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor studio ZMK Studio (runtime keymaps)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants