Skip to content

thet/navigationmarker/modernize Modernize, extend, simplify, document, test.#1565

Merged
petschki merged 10 commits intomasterfrom
thet/navigationmarker/modernize
Mar 23, 2026
Merged

thet/navigationmarker/modernize Modernize, extend, simplify, document, test.#1565
petschki merged 10 commits intomasterfrom
thet/navigationmarker/modernize

Conversation

@thet
Copy link
Copy Markdown
Member

@thet thet commented Mar 21, 2026

Quite a lot of stuff, but mainly improvements. Non breaking, verified via the test suite added in #1559

In this PR (see individual commits):

  • Code modernization (class based patterns, patternslib options parser)
  • More parser arguments to set in-path and current classes and the selector for the item wrapper.
  • URL cleanup to better compare URLs and take out view names (if this is a controversial change we can later always bring that back in. e.g. if someone has links pointing to views in the navigation and really wants that to be marked...)
  • URL rebasing to better support relative/absolute URLs

Closes: #1217
Ref: #1509

@thet thet mentioned this pull request Mar 21, 2026
@thet thet force-pushed the thet/navigationmarker/modernize branch 3 times, most recently from 572555d to a0b7907 Compare March 21, 2026 12:38
@thet thet force-pushed the thet/navigationmarker/modernize branch from a0b7907 to f21ded8 Compare March 21, 2026 12:51
Re-mark the navigation items when a location URL change has been happened resp. a  event was triggered.
pat-navigationmarker /w navigate event support
@petschki
Copy link
Copy Markdown
Member

/run-coredev-robottests

Copy link
Copy Markdown
Member

@petschki petschki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and coredev robottests are green. I let you do the merge 👍🏼

@petschki petschki merged commit 62a050b into master Mar 23, 2026
3 checks passed
@petschki petschki deleted the thet/navigationmarker/modernize branch March 23, 2026 08:31
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.

2 participants