Repository navigation
Settle the Monitoring tab after a failed read or a refused change - #42
Merged
Merged
Conversation
…t load it Where a read of the status failed with nothing of the panel's drawn, the tab said it could not load it in the drawing it would draw over next, its warnings emptied. The read that next answered drew its table over that, and its live region said every warning the table showed as new. That drawing is now left out of what the tab drew, so the next read draws its table afresh and says nothing.
Where a change of a circuit's or the mains' switch settled with no fresh read to draw it from, the switch showed what was stored but its row kept the dimming it was drawn with. The row is now drawn as the switch then shows it, dimmed while monitoring is off for the point, as a read draws it.
…ng kept Where the read after their changes failed, two controls of the Monitoring tab were left as clicked: All / None, its rows keeping what was drawn though their changes were stored, and the averaged-legs warning's Turn off monitoring, busy for good, its row's switch still on. With no fresh read to draw them from, each row All / None changed now shows what its change left stored, its row dimmed to match, and All / None what the rows then show, part on where only some are monitored. A Turn off monitoring stored shows its circuit off, its row dimmed, and takes its warning with it, as a read draws none for a circuit not monitored, focus on the button going to the row's switch; refused, the button is ready again and the row as drawn.
A refusal of the Enabled switch that answered after the Monitoring tab had been drawn for another panel was said in that panel's status line, by the read the refusal brings. The failure now names the panel it concerns, and only a drawing of that panel says it.
…s in a drawing kept Where a circuit's or the mains' switch, or Turn off monitoring, settled with no fresh read to draw it from, its row showed what was stored but All / None kept what it was drawn with. It now shows what the rows then show, as a read draws it: part on where some points are monitored, off where none is.
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.
Follow-ups to #41 in the Monitoring tab. These cover what it shows after a failed status read or a refused change. Part of the unreleased 0.12.0.
The 0.4 dimming is a named constant (
OFF_OPACITY). There are tests for every case, each failing on the code before its fix. 82 files and 1533 tests pass, anddist/is rebuilt.