Skip to content

refactor: one motion system and cleaner behaviour across the site - #273

Merged
xames3 merged 38 commits into
mainfrom
refactor/motion-system
Nov 20, 2026
Merged

xames3 merged 38 commits into
mainfrom
refactor/motion-system

Conversation

@xames3

@xames3 xames3 commented Nov 20, 2026

Copy link
Copy Markdown
Owner
  • use one set of motion tokens and one spring at speed 1 for all motion
  • move the head scripts into bundle parts and inline them at build
  • fold show more and accordions in one motion under their button
  • measure only the explainers near the screen after a fold
  • open and close header dropdowns with one press for all inputs
  • write the header dropdowns at build time with an inline arrow
  • keep the header still while icons and fonts load and on a page change
  • show history pages at once and skip the transition on back and forward
  • hand over to the next page when the old content leaves
  • end the colour sweep when it looks done and give input back sooner
  • fade the menu backdrop with the drawer for all inputs
  • fade the header search in and out with no pops and close an empty search on a second press
  • bring a reader back to his place in an open article on back and reload
  • wait a full interval after a reader's carousel step for all inputs
  • keep long tasks off the page entrance and place all carousels in one layout pass
  • read all scroll fades before marking them
  • fade the header badge and search icon in when their font arrives
  • remove the unused slow screen motion guard
  • give the carousel arrows their own class
  • run the byline waves as one long css animation so safari shows no black frame and pages stay smooth
  • draw every copy button in the theme with one copied motion and drop sphinx-copybutton
  • rename the swap role to roll and give it interval, duration and stagger options
  • roll the home page greeting with the roll role
  • add the typewrite role and type the teaching line with it
  • remove site.js and the old widgets
  • give readers without javascript their icons and menu and hide what needs a script
  • report a role preset with content instead of crashing on it
  • embed youtube from youtube.com again so safari plays on one press
  • judge the fold once after the entrance and read the title hold once
  • preload the code font so heavy pages show sooner in safari

closes: #272

Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
…reload

Signed-off-by: Akshay Mestry <xa@mes3.dev>
…it on back and forward

Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
… them

Signed-off-by: Akshay Mestry <xa@mes3.dev>
…at needs a script

Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
…ic files

Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
…once

Signed-off-by: Akshay Mestry <xa@mes3.dev>
Signed-off-by: Akshay Mestry <xa@mes3.dev>
@xames3 xames3 self-assigned this Nov 20, 2026
@xames3 xames3 added bug Something isn't working dependencies Pull requests that update a dependency file python Pull requests that update python code style Improve or make edits to the style changes new This is new?! fix Something just got fixed with this update frontend Related to HTML, Jinja, CSS, and/or JS files assets Something that is related to the media assets labels Nov 20, 2026
@xames3
xames3 merged commit a4f5413 into main Nov 20, 2026
9 checks passed
@xames3
xames3 deleted the refactor/motion-system branch November 20, 2026 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

assets Something that is related to the media assets bug Something isn't working dependencies Pull requests that update a dependency file fix Something just got fixed with this update frontend Related to HTML, Jinja, CSS, and/or JS files new This is new?! python Pull requests that update python code style Improve or make edits to the style changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: one motion system and one behaviour for each control

1 participant