Skip to content

Show shared workflows and pending invitations after login#52

Merged
rhiever merged 4 commits into
mainfrom
shared-with-you-login-banner
Jun 29, 2026
Merged

Show shared workflows and pending invitations after login#52
rhiever merged 4 commits into
mainfrom
shared-with-you-login-banner

Conversation

@rhiever

@rhiever rhiever commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

What this adds

After goodeye login, the CLI shows a short banner listing any workflows that have been shared with you and any invitations awaiting your response, so you can act on them right away.

  • Runs only in an interactive terminal, uses a short timeout, and stays silent when there is nothing to show or the lookup does not complete.
  • Read-only: it surfaces what is already shared with you and changes nothing.

🤖 Generated with Claude Code

rhiever and others added 4 commits June 28, 2026 11:36
After interactive login succeeds on a TTY, print a one-line nudge
showing how many workflows are shared with the user and how many team
invitations are pending, pointing at the relevant list commands.

The banner is silent and non-blocking: any error, network timeout, or
non-TTY session (piped output, API-key automation) results in no output
and login still exits 0. Timeout is set to 0.9 s to stay sub-second.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The version bump left the lockfile self-version stale; reconcile it so a frozen sync matches pyproject.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Apply ruff format to the new banner test so the lint-and-test check
passes, and render the shared-workflow and pending-invitation counts as
"N+" when a next page exists so the banner no longer undercounts users
with more than one page of results.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The shared-with-you banner could read "0 pending invitations" (or "0
workflows shared with you") whenever one category was empty. Build the
sentence and its run commands from only the nonzero categories so an empty
category is omitted entirely.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@rhiever rhiever merged commit ae4ceb1 into main Jun 29, 2026
1 check passed
@rhiever rhiever deleted the shared-with-you-login-banner branch June 29, 2026 00:09
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