aboutsummaryrefslogtreecommitdiffstats
path: root/static/ui.html
Commit message (Collapse)AuthorAgeFilesLines
* Refactor: Remove jQuery dependency and use vanilla JavaScript.remove-jquerygoogle-labs-jules[bot]38 hours1-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit removes jQuery and the jQuery.tmpl plugin from the frontend, refactoring all JavaScript code in static/ui.js and relevant HTML files to use vanilla JavaScript APIs. Key changes include: - Replaced jQuery selectors ($) with document.querySelector/querySelectorAll. - Replaced jQuery DOM manipulation methods with native equivalents (classList, style, appendChild, etc.). - Replaced jQuery event handling (ready, on, keydown) with addEventListener. - Replaced $.getJSON with the fetch API. - Replaced $.each with Array.prototype.forEach. - Implemented a custom vanilla JS templating function (`renderTemplate`) to replace jquery.tmpl.js functionality, including support for variable interpolation, conditionals (if/else), and raw HTML rendering. - Updated Backbone.js views to handle their own DOM interactions and event delegation using vanilla JS, removing the `events` hash and using manual event listener attachment in `render` or `attachEvents` methods. - Removed script tags for jquery and jquery.tmpl from HTML files. - Replaced inline jQuery calls in HTML onclick attributes with vanilla JS. - Added a minimal Backbone.$ shim to static/ui.js to address an `instanceof` TypeError in Backbone's _setElement method when jQuery is not present. This ensures Backbone's internal DOM handling and type checks can function correctly.
* Refactor: Remove jQuery dependency and use vanilla JavaScript.google-labs-jules[bot]9 days1-6/+4
| | | | | | | | | | | | | | | | | | | | | | | This commit removes jQuery and the jQuery.tmpl plugin from the frontend, refactoring all JavaScript code in static/ui.js and relevant HTML files to use vanilla JavaScript APIs. Key changes include: - Replaced jQuery selectors ($) with document.querySelector/querySelectorAll. - Replaced jQuery DOM manipulation methods with native equivalents (classList, style, appendChild, etc.). - Replaced jQuery event handling (ready, on, keydown) with addEventListener. - Replaced $.getJSON with the fetch API. - Replaced $.each with Array.prototype.forEach. - Implemented a custom vanilla JS templating function (`renderTemplate`) to replace jquery.tmpl.js functionality, including support for variable interpolation, conditionals (if/else), and raw HTML rendering. - Updated Backbone.js views to handle their own DOM interactions and event delegation using vanilla JS, removing the `events` hash and using manual event listener attachment in `render` or `attachEvents` methods. - Removed script tags for jquery and jquery.tmpl from HTML files. - Replaced inline jQuery calls in HTML onclick attributes with vanilla JS.
* update dependenciesAdam Mathes2021-09-281-1/+1
|
* light/dark/black themesAdam Mathes2018-09-291-3/+4
|
* click targets on unread/all/star to li element instead of a for bigger tap ↵Adam Mathes2018-09-191-6/+6
| | | | targets
* enable feed export from web interfaceAdam Mathes2018-07-041-1/+9
|
* control style changesAdam Mathes2018-06-161-1/+1
|
* add back in search support, requires sqliteAdam Mathes2018-06-161-0/+3
|
* force all links to open in new window, not just titlesAdam Mathes2018-05-061-1/+2
|
* ui fixesAdam Mathes2018-04-291-5/+2
|
* nekoburger menuAdam Mathes2018-04-281-1/+1
|
* separator for scrapeAdam Mathes2018-04-271-2/+3
|
* wip filter uiAdam Mathes2018-04-271-1/+1
|
* wip filter uiAdam Mathes2018-04-271-3/+3
|
* proper bolding when selected for feeds and tagsAdam Mathes2018-04-221-3/+4
|
* wip category stuffAdam Mathes2018-04-221-3/+7
|
* wip single category on feedAdam Mathes2018-04-221-3/+8
|
* update and version js libsAdam Mathes2018-03-021-3/+3
|
* change domain / url styleAdam Mathes2018-02-131-1/+1
|
* tidier buttonsAdam Mathes2018-01-291-3/+3
|
* ui tweaksAdam Mathes2017-11-221-3/+1
|
* adjust full item renderingAdam Mathes2017-11-211-7/+11
|
* wip imgAdam Mathes2017-11-201-5/+9
|
* enable full_text and header_imageAdam Mathes2017-11-191-1/+6
|
* slightly better handling of datesAdam Mathes2017-02-021-1/+1
|
* neko v2 initial commitAdam Mathes2017-01-231-0/+87