Commit Graph

30 Commits (921bde6b6e3fdb8875fcf1fce486c4db45c947b4)

Author SHA1 Message Date
SnorlaxMonster 6a5ee79e43
Refactor Settings page (#777)
The script for the settings page included a large amount of duplicated code, so I refactored it to put that reused code in functions instead. I also refactored other code, such as massively simplifying the function that converts the user's settings to checked radio buttons.

Additionally, I refactored the "Individual wiki settings" table to actually be built using a table, instead of a structure that only appears to be a table.

I also made various other minor adjustments to the Settings page:
* Adjust the formatting of the "icon legend" box to be consistent with the other boxes on the page.
* Replaced the emoji 🍃 instead of the Tibetan character ༄ to represent BreezeWiki. The Tibetan character was rendering much smaller than the emoji in the other boxes. But regardless, it's better not to use characters non-semantically.
* Add a border around the "individual wiki settings" table, for consistency with the other boxes on the page.
2024-08-14 22:34:48 -05:00
DrWhoFan13 f3e73da8d1
Adding support for Swedish wikis + Swedish Wikisimpsons 2024-07-19 04:49:56 -05:00
Dianliang233 4d9243aab7
Allow i18n for the extension (#716) 2024-06-29 05:20:53 -05:00
Kevin Payravi 9dc13f7fa5 Updating Google re-ordering settings text 2024-06-07 00:11:25 -04:00
Kevin Payravi 5ffae25292 Moving setPower calls from common to page JS files 2024-05-30 19:27:58 +02:00
Kevin Payravi 67b77a234c Improvements to Google search results re-ordering
* Instead of moving indie results to the top of Google search results, we now move indie results above the first non-indie (Fandom / Fextra / Neoseeker) result. If no non-indie result appears, re-ordering doesn't occur. This is to avoid moving less relevant results to the top, particularly for searches for generic terms.
* Improved Google filtering to account for when Google uses their own middleman link
2024-05-29 22:24:58 +02:00
Kevin Payravi e7fe210fc4 Removing script import of deleted file 2024-04-27 22:48:09 -04:00
Kevin Payravi 3f87018ac8 Reword search moving setting 2024-04-27 17:05:00 -04:00
Kevin Payravi 07ffc5f61b Setting favicon width on settings page 2024-04-25 22:39:55 -05:00
Kevin Payravi 3a75724520
Add search engine toggling / Search engine filtering fixes / Disabling SearNGX+Whoogle
More details at https://github.com/KevinPayravi/indie-wiki-buddy/pull/648
2024-04-23 00:18:42 -05:00
Elaeagnifolia b5490d0198
Refactor CSS
* Moving CSS to dedicated files
* Refactoring common CSS and adding variables
2024-03-21 00:10:55 -05:00
Jayden 39e44da293
Re-order indie wiki results in Google 2024-03-21 00:09:18 -05:00
James McKee 052bb27887
Support custom search engine URLS, currently SearXNG and Whoogle 2024-03-18 03:03:37 -05:00
Kevin Payravi 59b6e17e69 Formatting files 2024-02-27 03:43:55 -06:00
Kevin Payravi 07a0a748b3 Responsive wiki list filters 2024-02-27 03:41:28 -06:00
Kevin Payravi 7c839fcee4 Remove functions that have been moved to common 2024-02-27 03:13:53 -06:00
Kevin Payravi a66f3c91a8 Removing Object.prototype functions
Improve compatibility across browsers + not a best practice
2024-02-27 02:55:41 -06:00
Kevin Payravi 780d227c48 In lang select dropdown, move lang code to front
Makes it more clear how the languages are ordered
2024-02-23 04:05:39 -05:00
Kevin Payravi 38235496dd Mentioning Neoseeker in docs and settings 2024-02-23 03:38:58 -05:00
Kevin Payravi d5a8c39159 Rm Fextralife from cross-lang setting label
This feature currently only works with Fandom wikis
2024-02-23 02:53:12 -05:00
Kevin Payravi 6ad9c25cb2 Fix for custom BreezeWiki host script registration
Need to use absolute paths, and run at document_idle to capture elements that are injected after initial page load
2024-02-23 02:27:53 -05:00
Kevin Payravi 562ff0ff86 Adding new Minecraft wikis + favicon optimizations
Includes addition of LZH language category (literary / classical Chinese)
2024-02-19 18:34:37 -06:00
SnorlaxMonster dfdfdfd275
Use CSS instead of NBSP for padding and spacing / Add missing languages to the README 2024-02-17 00:25:10 -06:00
Kevin Payravi 11d7a9b753 Adding non-EN wikis from wiki.gg
Includes wikis in DE, ES, FR, HU, IT, JA, KO, PL, PT, RU, TH, UK, and ZH. HU, JA, and TH are new language categories.
2024-02-12 01:23:47 -06:00
Kevin Payravi ac91d586b8 Compressing wiki settings
Browser sync storage has a 8kb limit per item, which we are quickly approaching. Compressing our wiki settings JSONs reduces storage from ~7.3kb to ~2.4kb.
2024-02-08 02:34:53 -06:00
Kevin Payravi ec520df59d Adding Finnish to settings lang filter 2024-02-01 23:09:29 -06:00
Kevin Payravi c5acfc2002 Adjust padding 2024-01-29 16:29:41 -07:00
Kevin Payravi 34079ef8bc Reword search engine hidden banner setting 2024-01-29 02:16:13 -07:00
Kevin Payravi 6b5c593f46 Rm unused constants 2024-01-11 03:01:15 -06:00
Kevin Payravi 8f54b122e7 Moving pages and scripts into subfolders 2024-01-10 22:27:23 -06:00