Skip to content

Various UI improvements#221

Merged
ScriptRaccoon merged 11 commits into
mainfrom
selection-focus
May 29, 2026
Merged

Various UI improvements#221
ScriptRaccoon merged 11 commits into
mainfrom
selection-focus

Conversation

@ScriptRaccoon
Copy link
Copy Markdown
Owner

@ScriptRaccoon ScriptRaccoon commented May 29, 2026

Search Page / Comparison Page

  • When the empty search input field is focused, all allowed items are now shown. (Before, nothing was shown.)
  • Invalid or duplicate selections can no longer be submitted.*

Of course, the code already checked for this internally, but users could still bypass it. This is now prevented.

Walking structures

The notation for walking structures has been changed and is now more consistent. Instead of using "diagrams" to represent the notation, symbols such as Isom and Pair are now used (similar to the existing Idem and Split notation). Their descriptions have also been improved.

The updated notations fix layout issues on the comparison page on mobile devices when many of these walking structures are selected.

Navigation

On mobile devices, the structure selector ("categories" / "functors") has been moved from the header into the navigation component behind the hamburger menu.

Header styles have been adjusted slightly.

Long proofs

There was a visual bug: very long proofs displayed in popups were cut off at the top on mobile devices. The reason was that the maximal height was set to 100vh, whereas it actually needed to be 100dvh in order to account for the mobile browser UI. In fact, this has now been changed to 90dvh so that a bit of page context remains visible.

Another way to address the issue of very large and scrollable popups is to move proofs to dedicated content pages, which has been done in some cases. This also makes it possible to group related proofs together.

The seed script now checks for long proofs (threshold: 1200 characters) and prints a warning for each of them. Intentionally, no error is thrown, since some proofs are somewhat long but still do not justify a dedicated content page.

replacing 100vh with 100dvh is already the fix, but 90dvh is perhaps better UX
@ScriptRaccoon ScriptRaccoon merged commit 9e05615 into main May 29, 2026
1 check passed
@ScriptRaccoon ScriptRaccoon deleted the selection-focus branch May 29, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant