Skip to content

Keep View settings honest and readable - #26

Merged
galjos merged 1 commit into
mainfrom
fix/viewer-honesty-and-inspector
Aug 24, 2026
Merged

Keep View settings honest and readable#26
galjos merged 1 commit into
mainfrom
fix/viewer-honesty-and-inspector

Conversation

@galjos

@galjos galjos commented Aug 24, 2026

Copy link
Copy Markdown
Member

Summary

  • Reset leaked display state when opening a new file, and only show View controls that apply to the current structure and representation.
  • Put representation, atoms, and layers first; move periodic cell and appearance last, with larger Inter type in the inspector.

Test plan

  • Open a crystal, then a MOF, and confirm the display does not leak
  • Confirm pair analysis is available on a single fully periodic frame
  • Confirm Bonds reads off for ribbon/spacefill, and on for ball-and-stick/lines
  • Confirm inspector type is 11–12 px and View order is Representation → Atoms → Layers → Periodic → Appearance
  • Targeted Playwright: canonical viewer, command search, display controls PNG, 1CRN ribbon, 320 px layout

Made with Cursor

Reset leaked display state, hide controls that do not apply, and put
scientific settings before appearance with larger Inter type.

Co-authored-by: Cursor <cursoragent@cursor.com>
@galjos
galjos merged commit fef189f into main Aug 24, 2026
3 of 4 checks passed
@galjos
galjos deleted the fix/viewer-honesty-and-inspector branch August 24, 2026 19:02
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