Skip to content

Model the Imbox's Previously Seen postings: GetImboxSeen - #129

Merged
monorkin merged 1 commit into
mainfrom
get-imbox-seen
Aug 26, 2026
Merged

Model the Imbox's Previously Seen postings: GetImboxSeen#129
monorkin merged 1 commit into
mainfrom
get-imbox-seen

Conversation

@monorkin

Copy link
Copy Markdown
Contributor

`GET /imbox/seen.json` answers the box show shape with the Imbox's seen postings ordered by when they were seen — an ordering the Imbox's own pages do not offer, which is why the box cannot stand in for it.

One subtlety, noted on the wrapper: the response's `next_history_url` names `/imbox`, but the page cursor inside it belongs to the seen ordering. Extract the cursor and hand it back to `GetImboxSeen`, never to `GetImbox`.

Smithy model updated and regenerated (`make smithy-build`, `make go-generate`); the route comes off the excluded list. No drift, 126/126 coverage.

Needed by hey-cli's Previously Seen screen (the TUI's `9` shortcut, matching the web app).

GET /imbox/seen.json answers the box show shape with the Imbox's seen
postings ordered by when they were seen, an ordering the Imbox's own
pages do not offer. Its next_history_url names /imbox, but the page
cursor inside it belongs to the seen ordering — extract the cursor and
hand it back to GetImboxSeen, never to GetImbox.
Copilot AI balanced review requested due to automatic review settings August 26, 2026 16:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@monorkin
monorkin merged commit a15f6df into main Aug 26, 2026
6 checks passed
@monorkin
monorkin deleted the get-imbox-seen branch August 26, 2026 16:47
@monorkin monorkin mentioned this pull request Aug 26, 2026
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.

2 participants