Skip to content

🎨 Palette: Improve interactive configuration prompts#94

Closed
google-labs-jules[bot] wants to merge 1 commit intomainfrom
palette-ux-prompts-9782103301680912229
Closed

🎨 Palette: Improve interactive configuration prompts#94
google-labs-jules[bot] wants to merge 1 commit intomainfrom
palette-ux-prompts-9782103301680912229

Conversation

@google-labs-jules
Copy link

Improved the interactive prompts in main.py to provide better guidance for users setting up the tool for the first time.

Changes:

  • Added a tip explaining where to find the Profile ID in the Control D dashboard.
  • Added a tip explaining where to generate an API Token.
  • Explicitly mentioned that the API Token input is hidden.

PR created automatically by Jules for task 9782103301680912229 started by @abhimehro

Added helper text to guide users on where to find their Profile ID and API Token.
Clarified that the API Token input is hidden to prevent confusion.
@google-labs-jules
Copy link
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@trunk-io
Copy link

trunk-io bot commented Jan 11, 2026

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

if not args.dry_run and sys.stdin.isatty():
if not profile_ids:
print(f"{Colors.CYAN}ℹ Profile ID is missing.{Colors.ENDC}")
print(f"{Colors.BLUE} (Tip: You can find this in your Control D dashboard URL: /profiles/<profile_id>){Colors.ENDC}")

Check warning

Code scanning / Pylint (reported by Codacy)

Line too long (130/100) Warning

Line too long (130/100)

if not TOKEN:
print(f"{Colors.CYAN}ℹ API Token is missing.{Colors.ENDC}")
print(f"{Colors.BLUE} (Tip: Generate this in Account > My Account > API Tokens){Colors.ENDC}")

Check warning

Code scanning / Pylint (reported by Codacy)

Line too long (107/100) Warning

Line too long (107/100)
print(f"{Colors.BLUE} (Tip: Generate this in Account > My Account > API Tokens){Colors.ENDC}")
import getpass
t_input = getpass.getpass(f"{Colors.BOLD}Enter Control D API Token:{Colors.ENDC} ").strip()
t_input = getpass.getpass(f"{Colors.BOLD}Enter Control D API Token (input hidden):{Colors.ENDC} ").strip()

Check warning

Code scanning / Pylint (reported by Codacy)

Line too long (118/100) Warning

Line too long (118/100)
if not args.dry_run and sys.stdin.isatty():
if not profile_ids:
print(f"{Colors.CYAN}ℹ Profile ID is missing.{Colors.ENDC}")
print(f"{Colors.BLUE} (Tip: You can find this in your Control D dashboard URL: /profiles/<profile_id>){Colors.ENDC}")

Check warning

Code scanning / Pylintpython3 (reported by Codacy)

Line too long (130/100) Warning

Line too long (130/100)

if not TOKEN:
print(f"{Colors.CYAN}ℹ API Token is missing.{Colors.ENDC}")
print(f"{Colors.BLUE} (Tip: Generate this in Account > My Account > API Tokens){Colors.ENDC}")

Check warning

Code scanning / Pylintpython3 (reported by Codacy)

Line too long (107/100) Warning

Line too long (107/100)
print(f"{Colors.BLUE} (Tip: Generate this in Account > My Account > API Tokens){Colors.ENDC}")
import getpass
t_input = getpass.getpass(f"{Colors.BOLD}Enter Control D API Token:{Colors.ENDC} ").strip()
t_input = getpass.getpass(f"{Colors.BOLD}Enter Control D API Token (input hidden):{Colors.ENDC} ").strip()

Check warning

Code scanning / Pylintpython3 (reported by Codacy)

Line too long (118/100) Warning

Line too long (118/100)
@abhimehro
Copy link
Owner

Superseded: Interactive prompts already in main.

@abhimehro abhimehro closed this Jan 18, 2026
@abhimehro abhimehro deleted the palette-ux-prompts-9782103301680912229 branch January 19, 2026 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant