Skip to content

feat(project): search all teams on update, add list --updates, page past 100 - #312

Merged
bougyman merged 3 commits into
mainfrom
feat/project-update-all-teams-and-paging
Nov 23, 2026
Merged

bougyman merged 3 commits into
mainfrom
feat/project-update-all-teams-and-paging

Conversation

@bougyman

Copy link
Copy Markdown
Member

project update only searched the active profile's team, so projects on
other teams (leopard, Sequel Outbox) could not be found. It now searches
the whole workspace unless --team is given.

project list --updates shows each project's most recent status update
with its date. Favorites are refetched with their update, since cached
snapshots carry none.

project list silently stopped at 100 projects. Interactive,
workspace-wide listings now show 100 at a time and ask before fetching
the next page. JSON, piped, --mine and --team listings fetch every
project without prompting.

Co-Authored-By: Claude Sonnet 5.5 noreply@anthropic.com

…ast 100

`project update` only searched the active profile's team, so projects on
other teams (leopard, Sequel Outbox) could not be found. It now searches
the whole workspace unless --team is given.

`project list --updates` shows each project's most recent status update
with its date. Favorites are refetched with their update, since cached
snapshots carry none.

`project list` silently stopped at 100 projects. Interactive,
workspace-wide listings now show 100 at a time and ask before fetching
the next page. JSON, piped, --mine and --team listings fetch every
project without prompting.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@bougyman bougyman added bug Something isn't working enhancement New feature or request labels Nov 23, 2026
Copilot AI balanced review requested due to automatic review settings November 23, 2026 15:37
@bougyman bougyman self-assigned this Nov 23, 2026

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.

🟡 Changes recommended

Duplicate project names across teams can cause updates to target the wrong project because exact matches are not checked for uniqueness or disambiguated, including in JSON mode.

1 open issue
What changed in this PR

This PR expands Linear CLI project lookup across teams, adds latest status updates to project listings, and removes the 100-project listing cap.

Changes:

  • Search the whole workspace for project update unless --team is supplied.
  • Add project list --updates, including fresh update data for favorites.
  • Prompt between pages for interactive workspace listings; fetch all pages for other listing modes.
File Description
Readme.adoc Documents workspace lookup, update display, and paging.
documents/​ash-domain-erd.adoc Updates the domain inventory and pagination documentation.
app/​test/​linear_cli/​linear/​project_test.exs Adds all-page and single-page retrieval tests.
app/​test/​linear_cli/​cli/​favorites_commands_test.exs Tests refreshing favorites with their latest updates.
app/​test/​linear_cli/​cli_test.exs Tests workspace lookup, update display, and paging behavior.
app/​lib/​linear_cli/​linear/​project.ex Adds update selection, unbounded retrieval, and a single-page action.
app/​lib/​linear_cli/​linear/​project_update.ex Maps update creation dates into the resource.
app/​lib/​linear_cli/​linear.ex Exposes the project-page action through the domain interface.
app/​lib/​linear_cli/​cli/​display.ex Formats latest update dates, health, and text.
app/​lib/​linear_cli/​cli/​commands/​projects.ex Implements workspace lookup, paging prompts, and favorite refreshes.
app/​lib/​linear_cli/​cli.ex Registers the project list --updates flag.

Review effort: Balanced

@OpenSourceAlchemist

Copy link
Copy Markdown
Member
  1. Documentation bug: latest_update listed under User instead of Project

• In documents/ash-domain-erd.adoc:153-164, latest_update was added to the LinearCli.Linear.User row (L155) instead of the LinearCli.Linear.Project row (L163).

@OpenSourceAlchemist OpenSourceAlchemist left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed feat/project-update-all-teams-and-paging against main.

The changes for workspace-wide project update, project list --updates, and unbounded/interactive paging look solid overall. Left a few inline comments (one doc table mix-up in ash-domain-erd.adoc and a few minor edge cases).

(Note: mix test was not run in this review environment because app/ dependencies have not been fetched.)

Comment thread documents/ash-domain-erd.adoc Resolved
Comment thread app/lib/linear_cli/linear/project.ex Resolved
@bougyman
bougyman merged commit 1841af7 into main Nov 23, 2026
3 checks passed
@bougyman
bougyman deleted the feat/project-update-all-teams-and-paging branch November 23, 2026 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants