Repository navigation
feat(reader): add a setting to hide the account chip - #546
Closed
valentin-morice wants to merge 1 commit into
Closed
valentin-morice wants to merge 1 commit into
valentin-morice wants to merge 1 commit into
Conversation
The reader header names the message's account above the subject, which says nothing new to someone with a single account. Settings, Reading, Show account in message header turns it off, stored as account_chip in privacy.toml and on by default. The chip's spacer stays so the switches keep their place, and the line goes when nothing is left on it.
Owner
|
Hey thanks for the PR, this will be landing in today's stable build 1.46.0 with your credit :) |
hyprlab
added a commit
that referenced
this pull request
Oct 29, 2026
With a single account the chip says the same thing on every message. The chip's container stays when it is hidden, since it is what pushes the switches to the right. Co-Authored-By: Valentin Morice <100000204+valentin-morice@users.noreply.github.com>
hyprlab
added a commit
that referenced
this pull request
Oct 29, 2026
Contributor
Author
|
Glad you like the PRs! Thanks for maintaining the project, it's a pleasure to use it :-) |
hyprlab
added a commit
that referenced
this pull request
Oct 29, 2026
Owner
|
Agentic reply: The build is in the repo now: |
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.
The reader header names the message's account in a chip above the subject. With a single account it says the same thing on every message, and there is no way to turn it off.
This adds Settings → Reading → Show account in message header, under the Light / Dark Mode switch. It is stored as
account_chipinprivacy.toml, on by default, and goes throughPrefOutputandon_prefs_reader_preflikepgp_labels, so it applies at once to the main reader and to messages open in their own windows.Hiding the chip keeps its container, which is what pushes the Light / Dark Mode and Reader View switches to the right end of the line. When the chip and both switches are off, the line itself is hidden instead of leaving an empty row and its 12px of spacing above the subject.
Also: a short section in
docs/DOCUMENTATION.md(check-docs.pypasses), the template and catalogues refreshed withtools/update-pot.sh, and the config snapshot files updated for the new key.Tested:
cargo test: 1151 passed; the 4 failures (tray::indicator×3 anda_card_from_your_own_mailbox_wears_that_mailboxs_face) fail the same way onmainthere, as glycin can't start its loader sandbox insideflatpak build.cargo fmt --checkis clean.HYLKI_SHOWCASEcaptures: chip on (unchanged), chip off (switches stay at the right, subject unmoved), and chip plus both switches off (the line goes and the subject moves up to the header's top padding).