Skip to content

added fuzzy matching logic for menu search - #34

Merged
Philipinho merged 1 commit into
docmost:mainfrom
SurajJadhav7:feat/fuzzy-match-menu
Jul 3, 2024
Merged

Philipinho merged 1 commit into
docmost:mainfrom
SurajJadhav7:feat/fuzzy-match-menu

Conversation

@SurajJadhav7

Copy link
Copy Markdown
Contributor

Before
Screenshot 2024-07-01 at 4 59 05 PM

After
Screenshot 2024-07-01 at 4 59 23 PM

@CLAassistant

CLAassistant commented Jul 1, 2024 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Philipinho
Philipinho merged commit 0563308 into docmost:main Jul 3, 2024
@Philipinho

Copy link
Copy Markdown
Member

Thank you for your contribution.

vvzvlad pushed a commit to vvzvlad/gitmost that referenced this pull request Jun 21, 2026
…ost#34)

The 'used in N pages' reverse-navigation method had zero callers in the merged
PR docmost#17 — unreachable, untested code. Remove it. The reverse-navigation feature
can be (re)added with the method if/when it's actually built.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
PMQ9 referenced this pull request in cccvu/docmost Aug 30, 2026
)

Frontend/UX + architecture review fixes:
- CRITICAL: dark-mode primary was near-white fill + white text (1.18:1, invisible)
  — autoContrast ignores --mantine-primary-color-contrast. Fixed with a
  variantColorResolver that flips background AND text together via scheme-aware
  --brand-* vars, scoped to the primary filled variant. Verified: dark primary
  now 17.16:1 (near-white bg + near-black text); light 17.72:1; gold CTA 13.4:1.
  We no longer override --mantine-primary-color-filled, so Checkbox/Switch keep a
  legible near-black fill + white icon in dark.
- gold text (--mantine-color-gold-light-color): #b08900 was 3.27:1 (FAILS AA) →
  #7a5c00 (~6.2:1); corrected the comment.
- links underline always (near-black anchor ≈ body text; color alone isn't a
  sufficient cue, WCAG 1.4.1).
- re-added the info `blue` tuple so components hard-coding color="blue" stay
  brand-controlled instead of falling back to stock Mantine blue.
- brand <img> gets aspect-ratio (720/109 lockup, 178/128 icon) to prevent CLS.
- authed header: full lockup+wordmark only ≥md; compact V icon below (avoids the
  ~sm crowding).
- share affix Paper opts into the app focus ring (mantine-focus-auto).
- brand-logo uses the existing clsx dep instead of a local cx helper.
- sync-note header in theme.ts (mirror of admin-ui theme).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
PMQ9 referenced this pull request in cccvu/docmost Aug 30, 2026
Round-1 fixed primary buttons carrying an explicit variant/color (e.g. the
public "Sign up") but missed BARE <Button> (no variant/color) — the auth submit
buttons ("Sign In", etc.). Mantine v9.3.2 only emits `--button-bg` when
`color || variant` is truthy; a bare button's bg falls back to
`--mantine-primary-color-filled` (which we intentionally stopped overriding for
Checkbox/Switch), so in dark it was near-black text on near-black fill (1.04:1).

Fix: default the Button variant to "filled" so `--button-bg` is emitted and bare
primary buttons pick up the inverted `--brand-primary-bg`. Verified on a bare
<Button> ("Sign in") in forced dark: 1.04:1 → 17.16:1 (light 17.72:1); explicit
variant/color buttons and Checkbox/Switch unaffected.

Also corrected the `blue` tuple comment (it's the original Docmost blue, retained
— not "Zinc-neutral").

Co-Authored-By: Claude Opus 4.8 <[email protected]>
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.

3 participants