Skip to content

Conversation

Kludex
Copy link
Member

@Kludex Kludex commented Sep 26, 2025

We need to decide a bit of UX.

  1. Do we erase the messages after selecting a project?

Copy link

cloudflare-workers-and-pages bot commented Sep 26, 2025

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 13ad61b
Status: ✅  Deploy successful!
Preview URL: https://032d0229.logfire-docs.pages.dev
Branch Preview URL: https://try-prompt-toolkit.logfire-docs.pages.dev

View logs

Copy link
Member

@samuelcolvin samuelcolvin left a comment

Choose a reason for hiding this comment

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

This is already a improvement on what we have now.

But I've pushed a demo of what I'd like, feel free to delete my commit, and maybe that has to wait for logfire init, but we do need to improve the API response to include default org and org created date, or at least created order.

"typing-extensions >= 4.1.0",
"tomli >= 2.0.1; python_version < '3.11'",
"executing >= 2.0.1",
"prompt-toolkit >= 3.0.52",
Copy link
Member

Choose a reason for hiding this comment

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

can we say >=3?

f'Please select one of the following projects by number:\n{project_choices_str}\n',
choices=list(project_choices.keys()),
default='1',
org_options = sorted({project['organization_name'] for project in projects})
Copy link
Member

Choose a reason for hiding this comment

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

we shouldn't ask this if there's only one org.

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