Skip to content

🎨 Palette: Add contextual tooltips to financial parameters#86

Open
aarjava wants to merge 2 commits intomainfrom
jules-17237495383450846519-1ffedb62
Open

🎨 Palette: Add contextual tooltips to financial parameters#86
aarjava wants to merge 2 commits intomainfrom
jules-17237495383450846519-1ffedb62

Conversation

@aarjava
Copy link
Copy Markdown
Owner

@aarjava aarjava commented Mar 30, 2026

💡 What: Added contextual tooltips to several key financial and statistical parameter inputs (sliders and number inputs) in the dashboard sidebars. Added a journal entry logging this UX improvement.
🎯 Why: Abstract inputs like "bps" or "days" can be ambiguous. Providing concrete examples within tooltips reduces cognitive load and improves accessibility and confidence for users configuring the backtests.
♿ Accessibility: Improved usability by leveraging native Streamlit tooltips to explain complex inputs, making the tool more accessible to users.


PR created automatically by Jules for task 17237495383450846519 started by @aarjava

Adds helpful native tooltips (`help` parameter) to various statistical and financial inputs (e.g., `factor_window`, `bt_cost`, `adv_pct`) in the Streamlit dashboard. These tooltips provide concrete examples (like "10 bps = 0.10%") to improve usability and UX accessibility when configuring the backtest parameters.
Also added a critical learning entry to the Palette UX journal.

Co-authored-by: aarjava <218419324+aarjava@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown

👋 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.

…ing check

Added the remaining missing manual `black` auto-formatting to the modified `st.slider` blocks and surrounding context in `src/dashboard.py` so that they completely satisfy CI `black --check` scoped formatting constraints.

Co-authored-by: aarjava <218419324+aarjava@users.noreply.github.com>
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