Repository navigation
home + liveSensorGraph rework on new ui libs, toggle sensor picker, restore core icons - #8
Merged
KierPalin merged 3 commits intoJun 24, 2026
Conversation
|
Thanks for the review @humanapp! These are great changes. I think we've made good progress in these past weeks and these fixes are helpful for the rest of the redesign too. With regard to the label text colouring: It's a bit early to say whether or not it is a common issue or just something I needed here and I worry it might be a bit annoying to implement; but maybe we can talk about this more on call. |
KierPalin
approved these changes
Jun 24, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
These are adjustments to microdata's Home and Live Sensor Graph screens -- refining how they use the new
ui-controlsframework and smoothing some rough edges (on both sides!). Going through the port surfaced several gaps in the framework, so this also includes companion changes to those libraries (inui-coreandui-controlsrepos) to make the usage cleaner.Home screen
UiButtons and the manual left/right navigation with a singleui.UiRow. Layout and focus navigation come from the row, so thehandleInputoverride is gone.Live Sensor Graph
ui.UiRow.ui.UiStackcolumns instead of absolute positioning.Icons
user-interface-baseintoui-core, and removed them frommicrodata.Framework changes this surfaced (done in the
ui-core&ui-controlsrepos)Companion changes that made the above possible:
UiStack-- a simple row/column view container (labels previously had to be absolutely positioned).UiRowcontent-measuring, plus awrapoption.UiScreen.remove()-- there was no way to remove an added view.UiPickerused as a grid; a button-styleborderThicknessfor the selection mark.UiMapAssets-- a tree-shake-friendly id-->bitmap resolver (entries can be a bitmap or a factory).ui-core.Misc
pxt.json(user-interface-base-->ui-controls). You shouldmkc installif working in vscode.§0,§1, etc.cc @thomasjball, @KierPalin