Philipp Daun
Philipp Daun
This would be super useful. Some prior art: in Latte templates these are called `continueIf` and `breakIf`: ```latte {foreach $rows as $row} {continueIf $row->date < $now} {breakIf $row->parent === null}...
I agree this would be really helpful for in-context help messages. Currently we're using custom markup fieldtypes but that's rather brittle and unintuitive. An officially sanctioned way of doing this...
Given the implementation details kindly explained by @bglw, I'd opt for manual ranking here. Intuitively, for most sites, ranking pages the highest that have an exact match between search term...
Can confirm this PR + the suggested fix by @bgurung03 works great to improve performance.
@michalkrynski You'll need to add both the fix you're quoting as well as the fix suggested by @bgurung03, otherwise it won't update on mouse move.
Notes from today's call between @daun and @hirasso - Move `location.origin` check and `data-no-swup` check into default `ignoreLink` function - Set `linkSelector` to `a`, deprecate it and stop mentioning it...
Ready for review and some additional manual testing.
I've taken the liberty and reformatted some of the options.
Merged recent updates to the test suite, still passing.
@hirasso What node version are you on?