You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
macOS/Safari 15.0 shows the following console log:
[Error] QuotaExceededError: The quota has been exceeded.
setItem (search.js:1:119221)
(anonymous function) (search.js:1:119221)
i (search.js:1:28112)
fireWith (search.js:1:28876)
l (search.js:1:79576)
(anonymous function) (search.js:1:82019)
Likely fixable with #162 but if we can bodge something in the meantime, that would be super.
Yeah, I can't fix this without the Jekyll site being self-hosted. Basically, Lunr.js tries to build the search using LocalStorage but because the site is quite large it's exceeding Safari's default local storage limit.
If the site were self-hosted, we could use a proper Ruby plugin to achieve search.
TBH Jekyll seems fair dead nowadays. I guess we could look at Eleventy or just bring the docs into a Textpattern installation itself - don't know how we could maintain user editable pages on GitHub along with Textpattern database though?
There's an issue somewhere (don't ask where) that I have to track viability of docs hosting on a docs-centric, non-GitHub service…I need to find it, and I'll link it, and we'll make it happen…it's been a while, so I'll go searching.
Getting Textpattern docs into Textpattern in a non-kludgy, maintainable way is a whole heap of work, and I'm inclined to use a reputable service with good search, being mindful of the huge amount of work @wion & @Bloke put into docs (and not undoing that).
Textpattern isn't the right platform for our docs, at least not in the sense that it can plug into GitHub and maintain syncing, we're not there yet. There's no shame in using other tools, we're progressive enough to avoid NIH syndrome, and if it lets us divert energies into core then that's a heavy tick in the box from me.
Activity
philwareham commentedon Oct 21, 2021
Works in Chrome and Firefox, broken in Safari 15. Will see if upstream project that provides the search JS has any reported issues.
philwareham commentedon Oct 21, 2021
No issues at upstream project, but to be honest that project has been abandoned for a number of years.
Worth consideration: https://github.com/christian-fei/Simple-Jekyll-Search
I don't have time to implement until at least w/c 1st November. If someone else wants to try a fix, then by all means have at it.
Also, would be nice to get the self-hosted site up in the near future and end our reliance on GitHub Pages.
[-]Search is broken[/-][+]Search is broken on macOS/Safari 15[/+]petecooper commentedon Oct 21, 2021
Agreed. On my roadmap when I have time, hopefully sooner rather than later.
jools-r commentedon Nov 13, 2021
I wanted to mention this too. Likewise
QuotaExceededError: The quota has been exceededin Safari 15 and still working on Brave (i.e. Chrome).philwareham commentedon Nov 13, 2021
Will try to fix on Monday, can spare an hour that day.
jools-r commentedon Apr 28, 2022
May I nudge on this one too?
philwareham commentedon Apr 28, 2022
Yeah, I can't fix this without the Jekyll site being self-hosted. Basically, Lunr.js tries to build the search using
LocalStoragebut because the site is quite large it's exceeding Safari's default local storage limit.If the site were self-hosted, we could use a proper Ruby plugin to achieve search.
petecooper commentedon Apr 28, 2022
I have issues with getting it to rebuild non-interactively, I am working on it.
petecooper commentedon May 16, 2022
Docs site is now self-hosted.
Initial files for search update/fix
jools-r commentedon Sep 22, 2023
Could I nudge this one once more? It looks like you've added the packages and that the site is now self-hosted. I guess a puzzle piece is missing?
philwareham commentedon Sep 22, 2023
@petecooper Hi Pete, I assume we use the
self-hostedbranch for development now (for the self hosted docs on our own server)?philwareham commentedon Sep 23, 2023
For investigation: https://www.algolia.com/developers/code-exchange/integrate-jekyll-with-algolia/
philwareham commentedon Sep 23, 2023
TBH Jekyll seems fair dead nowadays. I guess we could look at Eleventy or just bring the docs into a Textpattern installation itself - don't know how we could maintain user editable pages on GitHub along with Textpattern database though?
petecooper commentedon Sep 23, 2023
There's an issue somewhere (don't ask where) that I have to track viability of docs hosting on a docs-centric, non-GitHub service…I need to find it, and I'll link it, and we'll make it happen…it's been a while, so I'll go searching.
Getting Textpattern docs into Textpattern in a non-kludgy, maintainable way is a whole heap of work, and I'm inclined to use a reputable service with good search, being mindful of the huge amount of work @wion & @Bloke put into docs (and not undoing that).
Textpattern isn't the right platform for our docs, at least not in the sense that it can plug into GitHub and maintain syncing, we're not there yet. There's no shame in using other tools, we're progressive enough to avoid NIH syndrome, and if it lets us divert energies into core then that's a heavy tick in the box from me.
petecooper commentedon May 10, 2024
Tagging #212