Skip to content

🎨 Palette: Add contextual help tooltips to financial inputs#65

Open
aarjava wants to merge 4 commits intomainfrom
palette-add-tooltips-financial-inputs-7095212152039575697
Open

🎨 Palette: Add contextual help tooltips to financial inputs#65
aarjava wants to merge 4 commits intomainfrom
palette-add-tooltips-financial-inputs-7095212152039575697

Conversation

@aarjava
Copy link
Owner

@aarjava aarjava commented Mar 8, 2026

🎨 Palette: Add contextual help tooltips to financial inputs

πŸ’‘ What: Added descriptive help parameters with concrete numerical examples to three critical statistical and financial inputs in the Streamlit sidebar:

  1. adv_pct (ADV Participation %)
  2. vol_q_high (High Volatility Quantile)
  3. bt_cost (Transaction Cost in bps)

🎯 Why: Users often lack context on acceptable formats or the real-world magnitudes of these statistical parameters. By providing inline examples (e.g., '10 bps = 0.10%'), we reduce cognitive load and prevent input errors without cluttering the UI with additional text blocks.

πŸ“Έ Before/After: The inputs now feature native Streamlit stTooltipIcon elements that display upon hover.

β™Ώ Accessibility: The tooltips utilize Streamlit's built-in accessible tooltip components, ensuring they are connected to their respective labels and readable by screen readers. A new entry was recorded in .Jules/palette.md to document this UX learning for future widget additions.


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

- Added concrete help examples to ADV participation slider.
- Added concrete help examples to high volatility quantile slider.
- Added concrete help examples to transaction cost basis points input.
- Added new UX learning to .Jules/palette.md log.

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

πŸ‘‹ 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.

google-labs-jules bot and others added 3 commits March 8, 2026 04:03
- Applied `black src/ tests/` to 24 unformatted files in the repository.
- Fixed `black --check` failures in the GitHub Actions CI pipeline.
- Verified all 56 tests continue to pass.

Co-authored-by: aarjava <218419324+aarjava@users.noreply.github.com>
- Reverted large `black` and `ruff` formatting changes applied across `src/modules/*` and `tests/*` to adhere to the strict 50-line PR limit boundary.
- Retained the contextual help tooltips on `src/dashboard.py` and the UX journal entry.

Co-authored-by: aarjava <218419324+aarjava@users.noreply.github.com>
- Reverted large `black` and `ruff` formatting changes applied across `src/modules/*` and `tests/*` to adhere to the strict 50-line PR limit boundary.
- Retained the contextual help tooltips on `src/dashboard.py` and the UX journal entry.

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