Skip to content

fix(desktop): show terms that didn't join at merge, and what a tried edit lacks - #404

Merged
scornz merged 21 commits into
mainfrom
visual7
Nov 30, 2026
Merged

scornz merged 21 commits into
mainfrom
visual7

Conversation

@scornz

@scornz scornz commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

On a merged pull request, the line at the overview's top could say "1 term hasn’t joined yet" of a term the page never showed: terms that wait for a pull request were drawn only while it was open. Those that didn't join are now rows of its Glossary section and underlined in its text, tagged "Not joined yet". A row says "Didn’t join the glossary when #80 merged", and i, "Add to glossary…", adds the term now, as it waits or edited. A closed pull request still shows none.

  • A workflow moves the terms after the merge, so Lo says one didn't join only from a read of the definitions 5 minutes after the merge, both by GitHub's clock, never this computer's. They're read as Lo finds the pull request merged, a minute later and once those 5 minutes have passed, with the overview's own reads, in the account's queue. One that merged before that needs only the usual read. Until then a row reads as it did just before the merge, and can't be changed. Offline, and without an account after the one read that allows, Lo says nothing.
  • The line counts only what's shown. A term the glossary has by then with the same definition isn't counted, and one it has with another definition shows that under it, after "In the glossary", with i editing the glossary's. Either edit drops what waited in the same write, including "Save mine" over a definition someone else saved meanwhile, so it doesn't wait for ever; but only while what waited is as the reader saw it (its text, author and time), and otherwise it's a conflict, shown again. It isn't dropped where the glossary holds the name as another term's other form: i then edits that term, and the reader removes the form there, then adds the one that waited. These rows can't be deleted: main refuses that once the pull request has merged.
  • A term found in the text keeps its element as another is found before it, so focus and a click stay on it, and a longer term found in its place doesn't take its focus.
  • Saving an edit with a field empty changed nothing anyone could see, since the red border is under the focus ring. Each such field now says "Enter a term" or "Enter a definition" under it until it holds something, is described by it, and has it read out.
  • A definition past its length says "Too long to preview" in place of "Nothing to preview", and a form with an invisible character is named: "“accounts” has an invisible character".
  • An unreadable glossary on an open pull request drew two warnings for one cause. There's one, and its reason ends "Terms that join at merge aren’t shown."
  • A tag's icon is 4 px from its words, not 2. That includes the revision picker's "Overview" and "Last opened".
  • The merge queue's columns narrow under a 48rem table, not 45rem: the pull request's column had 154 px just over the old step. It has 202 px at the new one, and never under 184.
Testing
  • When the definitions are read after a merge, how often, and when they say what didn't join: for one merged just now, with this computer's clock right, 2 hours behind and 2 hours ahead; one merged long ago; definitions kept from before; no account; and no word of GitHub's clock.
  • Which terms count as not joined, by the pull request's state and what has been read, for a stack's layer too, and against what the glossary holds by then.
  • The row's tag, note, byline and "Add to glossary…", with and without the glossary's own definition.
  • Adding one: what's sent and as whom, untouched and edited, its draft, a term changed or joined meanwhile, the glossary's own edited, and that it can't be deleted, nor changed before it's known. The write over the glossary's own drops what waited, and not where any of that changed since the reader saw it.
  • A focused or clicked term, a focused row and a focused link stay as rows come and turn late by themselves.
  • "Enter a term" and "Enter a definition" after a try, each described, read out, and removed as its field is filled; "Too long to preview"; the form named.
  • The one note on an unreadable glossary, through the app.
  • The merge queue's step.
E2E Testing

The case of reading.spec.ts that shows the definitions passed on this revision, and the one that adds terms on the one before it. Before that, its eight glossary and definitions cases passed but one, "ignores a term from its menu", which failed once with two workers as a key went to its menu before the menu took focus, and passed alone.

In the app, light and dark: each dialog, the rows, the card, the menu and the add on a merged pull request, a closed one, an unreadable glossary, the revision picker, and the merge queue at several widths. On this revision, a pull request merged long ago shows the rows as it opens; on the one before it, one merged just now showed them as they waited.

# Conflicts:
#	apps/desktop/src/features/overview/window/changes.test.ts
#	apps/desktop/src/features/overview/window/changes.ts
#	apps/desktop/src/features/overview/window/edit.test.ts
#	apps/desktop/src/features/overview/window/edit.ts
#	apps/desktop/src/features/overview/window/glossaries.ts
# Conflicts:
#	apps/desktop/src/features/overview/contract.ts
#	apps/desktop/src/features/overview/main/index.ts
#	apps/desktop/src/features/overview/window/changes.ts
#	apps/desktop/src/features/overview/window/edit.test.ts
#	apps/desktop/src/features/overview/window/edit.ts
#	apps/desktop/src/features/overview/window/remove.ts
#	docs/design.md
#	testing/fixtures/github/app_stack/cassette.json
…t definitions

A name, another form, a definition or a suggestion that holds a character no one sees is refused as
it's written or accepted, and the checker suggests none. Two commits with none in common, as two
people's first definitions are, say the write wasn't made. A held key presses nothing in Delete
term, a selection across a line break keeps its words apart, and a name that's too long says so.
The braille blank, the object replacement character, the Egyptian hieroglyphs' blanks, the Khitan
filler and the musical null notehead are neither ignorable nor white space.
…edit lacks

On a merged pull request, the terms people added from it that didn't join the glossary are rows of
its Glossary section and underlined, tagged "Not joined yet", and can be added now. The line at the
overview's top counts only those.

The dialog that adds and edits a term says under an empty field what to enter, once saving was
tried; that a definition past its length is too long to preview; and which other form has an
invisible character. An unreadable glossary is said once on an open pull request. A tag's icon is
4 px from its words, and the merge queue's columns narrow under 48rem.
…ad since the merge

Terms that didn't join come as those that wait do, with nothing held for a key, click or scroll, and
a term in the text keeps its element as others are found before it. Lo reads the definitions again
as it finds a pull request merged, a minute later and five minutes later, and says what didn't join
from the last of those, or from any read of one that merged over an hour before. An edit of a term
that didn't join drops what waited in the same write, over the glossary's own by then too. What a
tried field lacks is read out.
…op a term only as it was seen

A term didn't join only as a read of the definitions says, 5 minutes after the merge, both by
GitHub's clock. An edit of one that didn't join drops what waited only where that's still as the
reader saw it, and asks about it again otherwise. A longer term found in the text where another was
is another element, so it doesn't take that one's focus.
@scornz
scornz added this pull request to the merge queue Nov 30, 2026
Merged via the queue into main with commit 0777da6 Nov 30, 2026
18 checks passed
@scornz
scornz deleted the visual7 branch November 30, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant