v3.0.0
After waaaay too much time, it's finally here: The third version of "Enhanced Toolbar Link Dialog" 🥳
Create links to internal pages and external sites from almost everywhere. It comes with support for Kirby’s Visual Editor Blocks and improved configurability.
Don't worry, it works for non Blocks fields as well.
One of my goals for this release was to simplify the user interface and to optimize the overall user experience. I figured removing the tabbed interface and streamlining the page selection process might be a good start. Let me know what you think! 🤤
Here is how it looks
link-dialog.mp4
What is new?
Autosuggestion
Just enter a search term (or a wildcard *
) and you will get a paginated result list of your pages. If you start your search with /
or http
it is assumed that you want to link elsewhere. No suggestions are provided in such cases.
Anchored Links
It is possible to have anchor only links. If you want to jump to a specific part of the same page you're currently editing - just leave the link empty and fill only the anchor field. Otherwise the anchor will be appended to the URL.
Improved configurability
I'ld like to emphasize these options, from which I think are the most useful for you:
- With the page
title
option you can create a title that fits your need by using Kirby Query Language. - Use the
sort
andfilter
option to control which pages are shown. - Setting
qualified
totrue
will prefix every link with your current site url.
You can learn more about all configuration options, if you have look into the Readme.
Automated Tests
We all have not enough time to manually test all features and edge-case with different versions of Kirby. Thats why I wrote a couple of integration tests using Cypress. To ensure compatibility, all Tests are performed against 3.6.*
and 3.7.*
Whats next?
One thing that comes into my mind is to enhance the integration test coverage. It's never enough ^^
🐞+💡= ♥️
If you find any issues or have a feature request, please don't hesitate and let me know!
Release notes
3.0.0 (2022-08-14)
Bug Fixes
- dialog: reset form after dialog closed and optimize input order (8a86da7)
- handle anchor only links correctly (70da1c9)
Features
- add support for blocks and compatibility to Kirby 3.7 (16e26e3), closes #59
- test: add basic integration tests (b3bd126)
- test: run tests for Kirby 3.6 and 3.7 (0816299)
BREAKING CHANGES
- While adding support for Kirby blocks the user interface and the user experience got a revision that itself led to a major rework of the code base.
I simplified the process of selecting pages and optimised the configurability. It is now possible not only to customize the page title, but also to sort and filter the list of results.