Skip to content
Source
Sign inSign up

See what is new

Issues and pull requests / Find work

See what is new since your last visit

You come back to a repository after some days, and many pull requests and issues came in. You want to see the new work, without a second read of the work that you already saw.

4 min read

The lists mark each item that is new to you with a blue bar at its left edge. You do not click anything: an item stops being new when you see it. Your agent gets the same list with src pr list --unseen.

1. Find the new items

  1. Sign in, open the repository, then Pull requests or Issues.
  2. Look for the rows with a blue bar at their left edge and a light blue tint. In the Cards view, a new card has a blue ring and a light blue tint.

To see only the new items, add ?unseen=true to the URL of the list.

The suggestions of the search box also mark new items with a New badge. See Search a list and pick its view.

2. Mark items as seen

You do not need to click anything. An item stops being new when:

  • Its row scrolls into view, at least half of it. The page tells the server every few seconds, and when you leave the page.
  • You open the item.

A row that you saw keeps its blue bar until the list loads again, so the rows do not change while you read.

Note

In a stack of pull requests, each pull request of the stack has its own row, with its own blue bar.

3. Pick up new work with your agent

Your agent can ask for the same list. src uses your login, so the new items are the same ones that you see on the web.

src pr list --unseen
src issue list --unseen
src pr list --unseen --json number,title,new,assignees
  • --unseen lists only the items that are new to you.
  • --json new gives true or false for each item. --json assignees gives the people assigned to it.
  • In a terminal, the table gets a NEW column when at least one row is new.
  • src pr view 7 and src issue view 12 mark the item as seen. A list never marks an item as seen.

A good loop for an agent: list with --unseen, then read each item with src pr view or src issue view. The next --unseen list leaves out the items that it read.

Over REST, add unseen=true to the list:

curl -H "Authorization: Bearer $TOKEN" \
  "https://source.tanstack.com/api/v1/repos/<owner>/<repo>/pulls?unseen=true"
  • Each item has new (true or false) and assignees (a list of usernames).
  • GET .../issues/{n} and GET .../pulls/{n} mark the item as seen.
  • The MCP tools list_pull_requests and list_issues take unseen: true, and give the same fields. get_pull_request and get_issue mark the item as seen.

A caller with no person, such as a signed-out reader or a CI job, sees no item as new. For that caller, unseen=true gives an empty list.

Done

  • A blue bar shows each pull request and issue that came in since your first visit and that you did not see.
  • ?unseen=true lists only those items.
  • The items that you scroll past or open stop being new, on each device.
  • Your agent lists only new work with src pr list --unseen, and reads each item once.

What counts as new

An item is new to you when both are true:

  • It was opened after your first visit to a list of the repository.
  • You did not open it, and you did not see it in the list, since then.

On your first visit, nothing is new. The items from before your first visit never show as new.

The forge keeps this state on the server, for each person and each repository. It follows you to another browser, another device, src, REST and MCP.

Inside a pull request

You open a pull request that you read before. On the Conversation tab, the line New since your last visit marks the first entry that came after your last visit. A folded round shows a badge such as 2 new. See Read a pull request at a glance.