Skip to content

fix: show the full On me title beside its selected subject - #4786

Merged
max-sixty merged 8 commits into
mainfrom
fix/issue-4785
Nov 1, 2026
Merged

max-sixty merged 8 commits into
mainfrom
fix/issue-4785

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

A user to-do's title lived in a margin tooltip that m never revealed: arrival focuses the subject, while the tooltip required focus on the marker or hover. The bottom bar's one-line title could leave the reader identifying the task by the subject's unrelated text.

The selected On me marker now keeps its existing label visible and wraps the full title. Selected widget obligations receive the same treatment. Placement runs after selection paints; leaving the subject or completing the task hides the label. The document and floating panel keep their geometry. The trailing ellipsis is the existing disclosure affordance; every word of the title is present.

Validation: the three focused browser checks pass after integrating current main, covering keyboard arrival and departure, two tasks on one subject, and touch Show/Done. Fresh light/dark comparisons use base 6c4ac4483cd660a84dfae909ba224fded65b3029 and head 375026626c with leaf-dev stills --state on-me-todo --state on-me-todo-dark. pnpm run check passes, including the runtime suite, browser builds, hooks and Worker checks. The original regression failed before the implementation and passed afterward.

Before After
Light: selected subject without the task title Light: complete task title beside the selected subject
Dark: selected subject without the task title Dark: complete task title beside the selected subject
After, in the page

Full page with the task title beside its subject

Closes #4785.

This was written by Codex on behalf of max-sixty

Keep the existing margin label visible and wrapped while its obligation is selected. Place labels after selection paints so arrival does not leave them hidden behind the placement gate. This preserves the fixed-height panel row and uses the same presentation for widget obligations and user to-dos.

Closes #4785
# Conflicts:
#	dist/kernel/kernel.json
# Conflicts:
#	dist/kernel/kernel.json
# Conflicts:
#	dist/kernel/kernel.json
# Conflicts:
#	dist/kernel/kernel.json
#	tests/browser/navigation/test_on_panel.py
@leaf-agent

Copy link
Copy Markdown
Collaborator Author

Fixed the CI formatting failure in d6c466fac: Ruff required joining adjacent string literals in tests/browser/test_render_export.py and tests/process/test_interact_server.py. The resulting strings and test behavior are unchanged. Both files now pass ruff format --check and ruff check; git diff --check also passes.

The failed head's Python test step succeeded. The new head is handed to the queued review and landing workflow under await_ci: false; I did not poll its CI. The draft's existing visual-evidence publication blocker remains.

@max-sixty
max-sixty marked this pull request as ready for review November 1, 2026 06:12
@max-sixty
max-sixty merged commit 792abf4 into main Nov 1, 2026
4 checks passed
@max-sixty
max-sixty deleted the fix/issue-4785 branch November 1, 2026 15:45
@max-sixty

Copy link
Copy Markdown
Owner

@leaf-agent Please check the current Tend runner’s native GitHub attachment capability for future visual PR evidence. This is read-only: run gh --version and inspect gh pr edit --help for --attach, then report the version and whether the flag is available. Do not edit files, upload anything, change credentials or repository permissions, or reopen this merged PR.

This was written by Codex on behalf of max-sixty

@leaf-agent

Copy link
Copy Markdown
Collaborator Author

The current Tend runner has gh version 2.103.2 (2026-10-23). Its gh pr edit --help includes:

--attach file    Attach an image or video file, in '<file>#<image alt text>' format

The flag is available. This confirms the installed CLI surface; upload behavior was not tested. No files, credentials, repository permissions, or PR state were changed.

@max-sixty

Copy link
Copy Markdown
Owner

@leaf-agent Please complete one scoped native-attachment check in the current Tend runner. Reuse the already-published light after crop from this merged PR: download https://github.com/user-attachments/assets/afb7d18d-2193-49ab-bbf8-b87485b88510 to a .tmp/ PNG, then publish it once in a new comment on this PR using gh pr comment 4786 --attach 'PATH#Light: complete task title beside the selected subject'. Label the comment as a native attachment capability check using this PR’s existing screenshot, retaining your attribution. Read back the comment to confirm a GitHub attachment URL. If upload fails, report the command, status and non-secret error; do not change credentials, permissions, source files, the PR body, or PR state. This checks the proxy/auth/upload path, beyond the already-confirmed CLI flag.

This was written by Codex on behalf of max-sixty

@leaf-agent

Copy link
Copy Markdown
Collaborator Author

Native attachment capability check using this PR’s existing light after screenshot.

This was written by Codex on behalf of max-sixty

Light: complete task title beside the selected subject

max-sixty added a commit that referenced this pull request Nov 1, 2026
Teach Tend to publish visual PR evidence with GitHub CLI native
attachments, including body reference replacement and readback
verification. This removes the separate asset-repository push from
screenshot publication.

Validation: the Tend runner reports gh 2.103.2, and [a real bot
upload](#4786 (comment))
succeeded through its existing proxy and credentials
([run](https://github.com/max-sixty/leaf/actions/runs/41323737249)); its
new image URL returned HTTP 200 with image/png. Local PR-body attachment
replacement was also verified on #4786. Prettier and git diff checks
pass.

> _This was written by Codex on behalf of max-sixty_
max-sixty added a commit that referenced this pull request Nov 3, 2026
… `m` (#5113)

Since #4786, an On me marker whose target the user stood on showed its
label as though hovered. After `m` reached an `lf-ask`, a tooltip
repeating the ask's heading sat beside it, over the first option's `1`
badge, with no pointer or focus on the marker. It reproduced in Firefox
and Chromium on main, every time `m` arrived at an ask or a to-do.

| Before | After |
| --- | --- |
| ![After m on main: a dark label repeating the ask's heading sits under
the ? marker, over option 1's
badge](https://github.com/user-attachments/assets/bc9880fb-55a1-4864-b8e9-a5be9b0e0d4e)
| ![After m on this branch: no
label](https://github.com/user-attachments/assets/8d9887b8-944e-41e6-a419-e7a30fab074e)
|

#4786 was written for a to-do on the user, whose subject doesn't say its
title (#4785). #4866 had already covered that case a day earlier: `m` on
a to-do opens On me on its card, which shows the whole title over its
Done. So this removes the selected-marker reveal entirely: its CSS, its
term in `revealsLabel`, and the label placement that selection
scheduled. A margin label again shows only on hover, keyboard focus on
the entry, or a held press. The user chose to keep a to-do's title in On
me only, and to leave the browser's own hover alone when a scroll brings
a marker under a resting pointer.

Tests: the `m`-arrival test on two asks now asserts the label stays
hidden after the walk paints its selection, and that hovering the marker
still shows it; it fails on main. The to-do tests no longer expect the
label after `m` or Show. The `on-me-todo-dark` still goes, since it
existed for the label in dark; `on-me-todo` stays for On me opened on a
to-do's card. The focused browser tests, `pnpm run test:runtime` and
`pnpm run check:browser` pass.

> _This was written by Claude Code on behalf of max-sixty_
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.

A to-do's margin mark is a bare ?, so after m the subject's text reads as the item

2 participants