Repository navigation
Name the live arrival read in FirstInGroupAnimated's doc - #1461
Merged
Merged
Conversation
Two doc comments (FirstInGroupAnimated's in machine.rs, the module doc of containers/tabs.rs) still named library::LibraryScreen's pop_from_rest, which no longer exists, gated on By::Dir | By::Pointer. They now name the shared card grid's deliberate read in plx_ui::cards, which since #1432 also counts By::Script. machine.rs is pinned by hash, so the new hash is appended to MACHINE_SOURCES and the certificate's list (every changed line in machine.rs is a `///` line), and CERTIFICATE_SHA256 is recomputed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ve overrides The previous commit said the shared card grid's deliberate read is gated on By::Dir | By::Pointer | By::Script. It is that for Seen::of, but Grid::arrive arms an arrival on any By (the Library's seat_arrival does, ahead of a seat reported as By::Restore). Both docs now keep the fixed bug's history in the past tense with its old name (pop_from_rest) and state today's rule in one clause, in file-path style. tabs.rs is rewrapped. machine.rs's reviewed hash is replaced, not appended (the variant of the previous commit never landed), and CERTIFICATE_SHA256 is recomputed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The sentence added in the previous commit named Grid::arrive as the only exception to the By-based rule. Grid::dormant is a second one: a seat reported as By::Restore under a dissolve grows when the grid wakes. The docs now say the grid reads By::Dir | By::Pointer | By::Script as deliberate (Seen::of) and that any other seat grows from rest only where the grid's owner asks for it (Grid::arrive, Grid::dormant). machine.rs's reviewed hash is replaced again (the previous variant never landed) and CERTIFICATE_SHA256 is recomputed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The previous commit listed Grid::arrive and Grid::dormant as the only ways a seat not read as a deliberate move grows from rest. A landing takeover (GridPop::rise) is a third, for a seat reported as By::Reconcile, so the list was wrong again. Both docs now keep the fixed bug's history in the past tense and say only what the shared grid reads as deliberate (ui/src/cards/mod.rs's Seen::of). machine.rs's reviewed hash is replaced again (the previous variant never landed) and CERTIFICATE_SHA256 is recomputed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
What
Two doc comments still named
library::LibraryScreen'spop_from_rest, which no longer exists, as the read gated onBy::Dir | By::Pointer. They are the doc onFocusTarget::FirstInGroupAnimatedinrust-modules/machine/src/machine.rsand the//!module doc ofrust-modules/ui/src/containers/tabs.rs.Both comments now tell that bug's history in the past tense, under its old name, and add one sentence for today: the shared card grid reads a
By::Dir | By::Pointer | By::Scriptmove as deliberate (ui/src/cards/mod.rs'sSeen::of).By::Scriptjoined in #1432.The comments say nothing about how a seat that was not a deliberate move can still grow from rest. Earlier revisions tried, and review found three such paths (
Grid::arrive, the wake fromGrid::dormant, a landing takeover'srise), each missing from the list before it. Those rules are the grid's own, documented inui/src/cards/grid.rs, and this doc does not need them.This is a follow-up to the accessibility-id series (#1431, #1432, #1442).
The re-seal
machine.rsis pinned by hash inci/proofs/platform-generated-enums.json. Like #1432, this PR:MACHINE_SOURCESinci/readonly_generated.pyand to the certificate's list, keeping every older hash;source_hashes();CERTIFICATE_SHA256, which is_sha(_json(cert))over the canonical JSON.No other certificate field changes, and
produce_certificate(root)equals the committed certificate.machine.rsis a///line, and every changed line intabs.rsis a//!line.1fafb56d…4975becomes8f46da48…f7b5formachine.rs. The certificate hashd0ba11c0…37f3becomes541c1582…3b0b. The hashes of this branch's earlier commits were replaced, not kept, because those variants never landed.machine.rshash appears only in these two files, andtabs.rsis not pinned.Gates
On the committed head 397e6af, with the tree clean before and after:
ci/test_readonly_generated.py:Ran 22 testsOKci/test_transition_arguments.py:Ran 10 testsOKmake check-python-rest:==== check: 143 steps — all ok ====. This includesci/check-deps.shandci/check-module-layers.py, both green.make test-crate C=plx_machine:test result: ok. 118 passed; 0 failedmake test-crate C=plx_ui:test result: ok. 1753 passed; 0 failedmake check-nodef: green.There is no Makefile, Cargo or workflow change, so there is no
build-benchtable.🤖 Generated with Claude Code