Closed solarkraft closed 3 years ago
This breaks editing pages through a link in the sidebar. Disabling swup on that link would re-enable flashing. Well crap!
But - since that link is about to be removed anyway: Ignore this? Are there any other issues that are going to be caused by side-content not being directly aware of the current page? My preliminary guess is no.
The option of the full text search is not visible or accessible currently. Maybe there should be an extra option, something like “advanced search”. Probably above the new page button.
I did this to avoid having to deal with localization, but I have to anyway and may be able to re-use an existing string - the option to create a page should probably have a “create this page” text.
Integrates swup to load pages on the client side. Gets rid of the flashing on page loads (including the fairly heavy one on opening the editor), dramatically speeds up page loads and in the future even allows transition animations.
Before:
https://user-images.githubusercontent.com/1337470/133324468-7ede6942-4c27-4a1a-8731-cc9d4c07ac74.mov
After:
https://user-images.githubusercontent.com/1337470/133324544-058608d8-48be-43e2-82bf-57824f46cccc.mov