Repository navigation
Drop runtime fields nothing reads, and correct comments that drifted - #6368
Merged
Merged
Conversation
- The On Me press the floating panel's field offers at rest carries no `stands`: no notice posts it, and `pageOffer` already decides when it stands. Its type is `NoticePress` without `stands`. - The latest-version control's label is null while the control isn't offered, instead of the placeholder "New page available → open v999" that nothing showed. - projection/data.js writes and removes the source stamps through `PAGE_PAINT_ATTRIBUTE`, the constants every other writer uses. - Comments: the sample's "quoted" note is only a pseudo-element since #6344, full view reserves no label, the reading package's serifs are chosen for their x-height, and the panel's voice decision carries no date. No behavior changes. The resting line's second copy of the agent-name rule in activity-words.js is left for after #5979, which rewrites those lines.
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.
Removes two runtime fields nothing reads and corrects comments that no longer describe the code, from the nightly sweep. No behavior changes.
The On Me press the floating panel's field offers at rest no longer carries
stands.notifications.jscallsstands()only on notices posted throughofferNotice, which never posts this press, andpageOfferalready decides when it stands. The panel types the press asNoticePresswithoutstands.The latest-version control's label is now null while the control isn't offered. Before, the label was the placeholder "New page available → open v999", which nothing showed:
version.jsoffers the control only after a failed save or when the page is behind, and the panel printslatest.labelonly after a failed save.projection/data.jswrites and removesdata-lf-sourceanddata-lf-source-revisionthroughPAGE_PAINT_ATTRIBUTE.sourceand.sourceRevision, which every other writer uses, instead of string literals.Comments: since #6344 the sample's "quoted" note is only a pseudo-element, and full view reserves height for no label (
sample.css,lf-sample.js). The reading package's serifs are chosen for their x-height, not "a largeheight". The panel's voice decision no longer carries a date.Not in this PR:
pageStatusinactivity-words.jsrepeats the agent-name rule thatsemantic-state.jsowns (agentName). Because of that, an emptyagentstring would make the resting line read " awaits". Draft #5979 rewrites those lines, so the fix waits until it lands. The dates in that file's resting-line comment wait for the same reason.Verified with
pnpm run checkandpnpm run test:runtime(1012 pass), plus the two browser tests that exercise the latest control's label:test_news_under_the_open_menu_moves_nothing_in_itandtest_a_failed_save_is_an_error_until_the_next_valid_one.