π¨ Palette: Add tooltips with concrete examples to statistical inputs#60
π¨ Palette: Add tooltips with concrete examples to statistical inputs#60
Conversation
Added descriptive `help` parameters with concrete examples to `st.slider` and `st.number_input` widgets in the Streamlit sidebar to improve user understanding of scale and format. Included a corresponding UX learning in the Palette journal. Co-authored-by: aarjava <218419324+aarjava@users.noreply.github.com>
|
π 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Added descriptive `help` parameters with concrete examples to `st.slider` and `st.number_input` widgets in the Streamlit sidebar to improve user understanding of scale and format. Included a corresponding UX learning in the Palette journal. Formatted code with Black. Co-authored-by: aarjava <218419324+aarjava@users.noreply.github.com>
Added descriptive `help` parameters with concrete examples to `st.slider` and `st.number_input` widgets in the Streamlit sidebar to improve user understanding of scale and format. Included a corresponding UX learning in the Palette journal. Formatted code with Black. Co-authored-by: aarjava <218419324+aarjava@users.noreply.github.com>
Ran `ruff check --fix` and manual edits to resolve `I001` (sorting), `F401` (unused imports), `C408` (unnecessary dict calls), `W291` (trailing whitespace), and `F841` (unused variables) across `src/` and `tests/`. Applied `# noqa: F401` to `src/modules/__init__.py`. Ran `black` afterwards to ensure `black --check` compliance. Co-authored-by: aarjava <218419324+aarjava@users.noreply.github.com>
π‘ What: Added
helpparameters with concrete examples (e.g., "10 bps = 0.10%") to statistical and financial input widgets (st.sliderandst.number_input) in the sidebar.π― Why: Abstract tooltips or no tooltips for financial parameters make it difficult for users to gauge scale or expected format. Providing concrete examples directly in the widget significantly improves data entry accuracy and understanding.
πΈ Before/After: Screenshots were taken during verification to demonstrate the new tooltips (e.g., Portfolio Value tooltip).
βΏ Accessibility: Improved usability and comprehension for all users by providing clear context and examples for numerical inputs. Also added an entry to
.Jules/palette.mdto document this learning.PR created automatically by Jules for task 7576141868954476649 started by @aarjava