Repository navigation
Release 0.15.0: pane viewers for Trajectory/Geometries/PES, UX backlog - #183
Merged
Merged
Conversation
Each disabled menu item gets a muted second line with its reason, visible without hovering. The line uses the text_subtle token (>= 4.5:1 on the menu's bg_panel in every palette, tested) and is not faded with the item. The a11y page script makes the line the item's aria-describedby and hides the line itself from the menu's item list. Tooltips are kept. Contributions: - Claude (Opus 5.5): code edits, review, and conceptual discussion - Jonathan Schultz: overall vision, planning, review, and orchestration Co-authored-by: Jonathan Schultz <nccu-schultz-lab@users.noreply.github.com>
Colour emoji (❌ 💡 ✅⚠️ ℹ️ 🚀 ⚡ ⏳ ⛔ 🐢) used as status icons are gone from student-facing strings. HTML contexts get Font Awesome icons through new utils.fa_icon / status_icon helpers (XYZ errors, Slurm error panel, StepProgress, help notes, the RI badge, the MP2 size warning, the 3D viewer fallback); plain-text contexts get words (molecule.py XYZ and charge/multiplicity errors, pubchem.py and structure_providers.py messages, session/optimizer summaries, GPU log lines). Compare's Converged column reads Yes / No. The emoji guard in tests/test_uxrev_polish.py now scans every module in the package and matches all Emoji_Presentation characters plus VS16. Tests that asserted the old emoji now assert the icons or words. Contributions: - Claude (Opus 5.5): code edits, review, and conceptual discussion - Jonathan Schultz: overall vision, planning, review, and orchestration Co-authored-by: Jonathan Schultz <nccu-schultz-lab@users.noreply.github.com>
- New surface_error_bg token (all palettes) and theme.alert_box_style(); the failed / cancelled / not-saved / dependency boxes, the MP2 size warning, the pre-optimization warning, the Slurm error panel and the cluster banner use it instead of light-only #fef2f2 / #fffbeb boxes. - Run log line colours map to theme tokens; Bright's accent_teal darkens to #0f766e so teal log text clears 4.5:1 on bg_panel. - theme.PLOT_DATA_COLORS: mid-tone trace colours with >= 3:1 against bg_panel, page_bg and the 3D scene colour of every palette, used by the IR / Raman / UV-Vis / ECD / NMR / Mulliken / Compare / PES / trajectory energy plots and the energy-level diagram (HOMO blue, LUMO orange, virtual grey). theme.plot_chrome() gives the plot modules their grid and axis colours. The PES star keeps its outlined gold. - Remaining light-only text colours in calibration and spin-helper messages use tokens. Tests: contrast of box text on each box surface, of every log colour on bg_panel and of every data colour on every plot background, per palette; plot modules carry no literal trace colours. Contributions: - Claude (Opus 5.5): code edits, review, and conceptual discussion - Jonathan Schultz: overall vision, planning, review, and orchestration Co-authored-by: Jonathan Schultz <nccu-schultz-lab@users.noreply.github.com>
- theme.scrollbar_css(): scrollbar-color plus ::-webkit-scrollbar rules, thumb border_strong on a bg_panel track (>= 3:1 in every palette). - theme.selection_css(): ::selection in accent_info with page_bg text (the accent-button pair, >= 4.5:1). - theme.nested_box_css(): a tab panel inside another tab's panel drops its frame and background and keeps one line under its tab bar (Calculate → Molecule Input → Library was three borders deep, review §4). - All three are part of the theme block, so they follow palette switches. - The performance-reset confirm box border uses accent_error instead of a light-only pink. Contributions: - Claude (Opus 5.5): code edits, review, and conceptual discussion - Jonathan Schultz: overall vision, planning, review, and orchestration Co-authored-by: Jonathan Schultz <nccu-schultz-lab@users.noreply.github.com>
on_run_clicked now marks the run as starting before any validation,
clearing or worker start: the Run button becomes a disabled spinner
("Starting…", class quantui-run-busy, solid border instead of the dashed
"unavailable" look), run_status reads "Starting…", job_state() gains a
"starting" key so the header chip and footer say "Starting…", and the
polite live region announces "Starting the calculation…".
The worker's _do_run hands over with mark_run_running (button "Running…",
chip/footer "Running <type>…"). A run that does not start (pre-run
guards, PES / NMR checks, a refused Slurm submit, an exception) restores
the button via cancel_run_starting; an observer on run_btn.disabled
restores the idle label and icon however a run ends. The 0.18 s
"Computing…" pulse on click is gone.
Contributions:
- Claude (Opus 5.5): code edits, review, and conceptual discussion
- Jonathan Schultz: overall vision, planning, review, and orchestration
Co-authored-by: Jonathan Schultz <nccu-schultz-lab@users.noreply.github.com>
- The a11y page script gives every button whose text is empty or only a
glyph ("?", arrows, trash / refresh icons, the viewer steppers) its
tooltip as aria-label, and removes the label again if the button gets
real text. Hidden JS-bridge textareas (class *-inbox) get tabindex -1
and aria-hidden.
- Tooltips (ipywidgets 8 puts them in a description-less field's title,
i.e. its accessible name) on fields that had no name: quantum engine,
execution backend, the atom table's symbol and x/y/z boxes, Levels
shown, the orbital gallery span, the Compare export format, the Files
list and the XYZ cleanup preview.
- app_a11y.unnamed_controls() finds icon-only buttons, ToggleButtons
options and fields that a screen reader could not name; a test runs it
over every widget of a freshly built app (and after a molecule loads).
Contributions:
- Claude (Opus 5.5): code edits, review, and conceptual discussion
- Jonathan Schultz: overall vision, planning, review, and orchestration
Co-authored-by: Jonathan Schultz <nccu-schultz-lab@users.noreply.github.com>
No behaviour change: black line wrapping and ruff's import sorting for the files touched by the 0.15 UX polish commits. Contributions: - Claude (Opus 5.5): code edits, review, and conceptual discussion - Jonathan Schultz: overall vision, planning, review, and orchestration Co-authored-by: Jonathan Schultz <nccu-schultz-lab@users.noreply.github.com>
Found in a headless Voilà check: with a reason line under each
unavailable analysis panel, the Results menu is taller than its 70vh cap,
and the list spilled past its frame because the bar's
".quantui-menubar .widget-box { overflow: visible }" rule outranked the
list's own overflow. A more specific rule keeps the list scrollable; the
reason line no longer has its own max-width.
Contributions:
- Claude (Opus 5.5): code edits, review, and conceptual discussion
- Jonathan Schultz: overall vision, planning, review, and orchestration
Co-authored-by: Jonathan Schultz <nccu-schultz-lab@users.noreply.github.com>
DEC-036 (pane viewer, controls in panel), following DEC-035 item 6. - With the workspace on, the Trajectory viewer (optimization, frequency pre-optimization, IRC path, scan points) and the reorganization-energy Geometries viewer move into the pane like the Populations, Vibrational and Isosurface views: "Showing ... from the X panel" banner, Back to structure, a one-line note in the panel where the viewer was (DEC-009). Same lifecycle: collapse, a new result or a Calculate pick mode gives the pane back to the structure; claiming one view replaces another. - Controls stay in the panel. The stepper builders now also return their viewer and controls halves (ViewerParts): the pane gets the viewer, the panel keeps prev/play/next, slider, frame label and the energy plots. The halves share page globals keyed by the viewer id, so playing needs no kernel round trip, and the pane viewer re-applies the stepper's frame whenever it is re-created by a move. Controls show while their viewer is in the pane. One viewer Output per panel; nothing is copied. - PES Scan (1-D profile and 2-D map): a click on a point posts the index to a hidden inbox, which shows that point's geometry in the pane with the Trajectory viewer, building it on the clicked frame if the Trajectory panel was never opened. The PES panel's hint becomes a note with "Show in viewer"; opening the PES panel alone keeps the structure. - Switching the Geometries view (step / overlay / pair / arrows) claims the pane; a control change on the view already shown updates the banner (also fixes a stale vibrational mode name in the banner). - Workspace off: unchanged one-fragment viewers in each panel; toggling the workspace rebuilds the halves from the cached HTML. - The stepper no longer reports "3D viewer failed to load" for a viewer that is simply not on the page (parked while the pane shows the structure). Tests: new tests/test_app_pane_views_steppers.py; the parametrized placement tests in test_app_pane_views.py render a trajectory first (that panel draws its viewer per result); test_viz_low_audit patches the new parts builder; test_theme_contrast also guards the new viewer host. Checked in Voila with headless Chromium (software WebGL); real-GPU rendering and play smoothness need a human look. Contributions: - Claude (Opus 5.5): code edits, review, and conceptual discussion - Jonathan Schultz: overall vision, planning, review, and orchestration Co-authored-by: Jonathan Schultz <nccu-schultz-lab@users.noreply.github.com>
Measured on this tree with pytest -m "not network and not weekly" (cloud, Python 3.11, 2026-12): 6181 passed, 11 skipped. Contributions: - Claude (Opus 5.5): code edits, review, and conceptual discussion - Jonathan Schultz: overall vision, planning, review, and orchestration Co-authored-by: Jonathan Schultz <nccu-schultz-lab@users.noreply.github.com>
The range-slider rules listed ::-webkit-* and ::-moz-* pseudo-elements in one selector list. A browser treats such a list as invalid and drops the whole rule, so Chromium drew the in-viewer scrubbers (Trajectory, Geometries, vibration steppers) without a track. The pseudo-element was also appended only to the last selector of the list. Each engine now gets its own rules, applied to every base selector; a test guards against mixing them again. Contributions: - Claude (Opus 5.5): code edits, review, and conceptual discussion - Jonathan Schultz: overall vision, planning, review, and orchestration Co-authored-by: Jonathan Schultz <nccu-schultz-lab@users.noreply.github.com>
…n feedback) Joins the polish pass with the pane-viewer move and the slider fix. Conflict: the Unreleased CHANGELOG section (both entry sets kept). The CLAUDE.md test baseline is updated to the merged tree's count. Contributions: - Claude (Opus 5.5): code edits, review, and conceptual discussion - Jonathan Schultz: overall vision, planning, review, and orchestration Co-authored-by: Jonathan Schultz <nccu-schultz-lab@users.noreply.github.com>
Version 0.15.0; CHANGELOG [0.15.0] - 2026-12-06 (Trajectory, Geometries and PES Scan in the workspace viewer; menu reasons; icons instead of emoji; theme colours for run boxes, log and plots; themed scrollbars and selection; flatter nested panels; instant run feedback; accessible names; slider track fix) and compare links. Contributions: - Claude (Opus 5.5): code edits, review, and conceptual discussion - Jonathan Schultz: overall vision, planning, review, and orchestration Co-authored-by: Jonathan Schultz <nccu-schultz-lab@users.noreply.github.com>
On the 1-D PES profile the star marker had no point index, so a click fell back to Plotly's pointIndex (0 within the one-point star trace) and opened the first scan point. Failed-point markers had the same fallback and opened an unrelated geometry. The star now carries its scan-point index and the click handler ignores markers without one. The 2-D map already did this. Contributions: - Claude (Opus 5.5): code edits, review, and conceptual discussion - Jonathan Schultz: overall vision, planning, review, and orchestration Co-authored-by: Jonathan Schultz <nccu-schultz-lab@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cleanup, the last per-panel viewers and the remaining UX backlog before the next milestone. Merging releases 0.15.0.
Workspace viewer
Menus and accessibility
app_a11y.unnamed_controls()plus a test over a freshly built app.Theme and polish
surface_error_bg); plot data colours fromtheme.PLOT_DATA_COLORS, each ≥3:1 on every palette's backgrounds (tested).::-webkit-*and::-moz-*pseudo-elements in one selector list, which browsers drop as a whole. One rule per engine now, with a guard test.Testing
pytest -m "not network and not weekly": 6219 passed, 11 skipped (CLAUDE.md baseline updated). pre-commit clean; mypy (CI invocation) clean, 134 files.tests/test_app_pane_views_steppers.py(37),tests/test_ux_backlog_polish.py, slider guard intests/test_theme_contrast.py. Existing tests changed only for the approved behaviour (new message strings, trajectory panel drawing its viewer after a result).Authorship
Generated by Claude Code