Skip to content

fix: upstream corrections, empty space under 3D pictures, Arabic units and labels - #69

Merged
ru44 merged 6 commits into
mainfrom
fix/visualization-bugs
Nov 25, 2026
Merged

ru44 merged 6 commits into
mainfrom
fix/visualization-bugs

Conversation

@ru44

@ru44 ru44 commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Follow-up to #68, which was merged before these commits were pushed.

  • Upstream sync: visualize-it/visualize-it.github.io 398ebf5 ("First round of corrections") is applied to public/legacy/. The Arabic text keys are updated for the eight corrected sentences (Bloch sphere, two-way bubble sort, average quick-sort time, Latin secare, cosecant at 90°, GPS clock drift, Hopfield capacity 0.14 N). A broken </li> tag in the upstream special relativity page, which showed /li> as text, is closed.
  • Empty space under the picture: on a wide screen the picture card stretched to the height of the slider panel, leaving a large empty area under 3D scenes (reported on what-is-a-dimension). The picture and chart cards now keep their own height.
  • Slider units in Arabic: word units (yr, mo, $, $bn, USD, EGP, …) now read سنة، شهر، دولار، جنيه…, with the number first. Symbols such as m/s or Hz are unchanged.
  • Lorentz force and atomic structure: all labels are translated, and the mass number sits before the element symbol instead of on top of it.
  • Joins and GDP: overlapping labels moved apart.

Checked in a headless browser: the changed pictures in English and Arabic, five 3D views, dark theme, phone width (390 px), and the upstream-changed classic pages in Arabic. pnpm check (390 lessons, 0 problems), vue-tsc, pnpm lint and pnpm build pass.

Still open: periodic-table element names are English in Arabic; at phone width the 2D pictures are small and their labels hard to read (all lessons, not new).

ru44 added 6 commits November 25, 2026 23:02
…ions

Keys for the eight corrected sentences now match the new English, and the
Arabic says the same thing (Bloch sphere, two-way bubble sort, average
quick-sort time, Latin secare, cosecant at 90 degrees, GPS clock drift,
Hopfield capacity 0.14 N). Also closes a broken </li> tag in the upstream
special relativity page that showed '/li>' as text.
… panel

On a wide screen the 3D scene (and any short picture) sat at the top of a card
stretched to the panel beside it, leaving a large empty area under it, as on
what-is-a-dimension. The picture and chart cards now keep their own height.
ParamSlider looks up unit.<unit>; symbols such as m/s or Hz have no entry and
stay as written. A translated unit is laid out right to left after the number.
…rabic

Also puts the mass number before the element symbol instead of over it.
@ru44
ru44 merged commit f0a6790 into main Nov 25, 2026
2 checks passed
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