Skip to content

feat(gtd): show GTD state indicators in inbox rows - #371

Open
salmonumbrella wants to merge 1 commit into
maathimself:mainfrom
salmonumbrella:feat/gtd-inbox-indicators-plugin
Open

feat(gtd): show GTD state indicators in inbox rows#371
salmonumbrella wants to merge 1 commit into
maathimself:mainfrom
salmonumbrella:feat/gtd-inbox-indicators-plugin

Conversation

@salmonumbrella

@salmonumbrella salmonumbrella commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Ports the inbox GTD state indicators from closed PR #330 onto the plugin boundary described in #368. Ordinary inbox and search rows can now show every GTD state on the thread, with the oldest relevant classification date, without putting GTD-specific joins or fields into MailFlow's core message query.

The prerequisite plugin-boundary work from #370 is merged, and this branch is rebased onto current main.

Changes

  • Add a bounded, plugin-owned metadata endpoint for up to 100 visible messages at a time.
  • Expose only a neutral message-row-meta slot from the core message list. GTD owns the labels, colors, ordering, dates, and account gating.
  • Resolve state metadata across every live copy of the same message and thread, including custom GTD folder mappings.
  • Group and chunk visible-row requests per account, ignore superseded responses, and keep optimistic classification and undo state coherent with server refreshes.
  • Refresh indicators after GTD WebSocket events, reconnects, folder-map changes, classification, undo, and unclassification.
  • Show compact state chips and a conservative age for multi-state threads.
  • Treat partial metadata responses as retryable and keep retries bounded and cancelable when no consumers remain.

Refs #368


Contributor License Agreement

By submitting this pull request I confirm that:

  • I have read and agree to the Contributor License Agreement.
  • My contribution is my own original work (or I have identified any
    third-party material and confirmed it is compatible with the CLA).
  • I have the right to submit this contribution under the terms of the CLA.

@salmonumbrella salmonumbrella changed the title feat: show GTD state indicators in inbox rows feat(gtd): show GTD state indicators in inbox rows Aug 26, 2026
@salmonumbrella
salmonumbrella force-pushed the feat/gtd-inbox-indicators-plugin branch from e291808 to f101105 Compare August 26, 2026 06:00
@salmonumbrella
salmonumbrella marked this pull request as ready for review August 26, 2026 06:01
@salmonumbrella

Copy link
Copy Markdown
Contributor Author

@maathimself 3 GTD PRs ready for you.

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