From 3a8d170c3a83fc54073e8e8f59506471d8630366 Mon Sep 17 00:00:00 2001 From: Bobby Wibowo Date: Mon, 7 Oct 2019 06:51:05 +0700 Subject: [PATCH] Elaborate some todo tasks and update priorities --- todo.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/todo.md b/todo.md index 7e1180c..0e77555 100644 --- a/todo.md +++ b/todo.md @@ -5,11 +5,12 @@ Normal priority: * [x] Improve performance of album public pages, ~~and maybe paginate them~~. * [x] Use [native lazy-load tag](https://web.dev/native-lazy-loading) on nojs album pages. * [x] Use incremental version numbering instead of randomized strings. -* [ ] Use versioning in APIs, somehow. -* [ ] Better `df` handling (system disk stats). +* [ ] Use versioning in /api/check. To elaborate, make it so that when a version string reported by server is higher than expected, force user to reload the page (which should be all that is needed for users to be loading latest front-end assets). Possibly also use it in /api/tokens/verify, for dashboard page. +* [ ] Better `df` handling (system disk stats). To elaborate, either properly show disk usages of directories that have sub-directories, or only show disk usages of whitelisted directories (thumbs, chunks, etc). * [x] Use loading spinners on dashboard's sidebar menus. * [x] Disable all other sidebar menus when a menu is still loading. * [ ] Collapsible dashboard's sidebar albums menus. +* [ ] Add "View uploads" button in "Manage your albums" page. Assuming the sidebar album menus are collapsed, users can optionally use this button as a shortcut, if they already happened to be in that page. * [x] Change `title` attribute of disabled control buttons in uploads & users lists. * [x] Use Gatsby logo for link to [blog.fiery.me](https://blog.fiery.me/) on the homepage. * [ ] Automatically create missing columns in `database/db.js`. That way we will no longer need the migration script. @@ -18,17 +19,15 @@ Normal priority: * [ ] Add Select all checkbox somewhere in thumbs view. * [x] Display renders after API check. * [x] Enforce pass min/max lengths in dashboard's change password form. -* [ ] Add a copy all links to clipboard when there are more than 2 uploads in history. +* [ ] Add a copy all links to clipboard when there are more than 2 uploads in homepage's uploads history. * [x] Update fb_share.png. -* [ ] Support [fragments](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Identifying_resources_on_the_Web#Fragment) for dashboard sidebar menus. * [x] I forsaked all `Promise.all()` in favor of `await-in-for-loop` a while back. I personally think it was fine, considering a lot of them were tasks that required serial processing (continuation be dependant on previous iterations), but maybe I should review the current codes to find any sections that would do just fine, or maybe even great, with `Promise.all()`. -* [ ] Find a way to detect whether a user had disabled their browser's built-in smooth scrolling capability. We will then use that to decide whether we should use smooth scrolling when auto-scrolling during navigation (for now smooth scrolling is always enabled; and polified if applicable). -* [ ] Parallel URL uploads. * [x] Black-ish colorscheme. * [ ] When registering a new account, check for existing account(s) with the same username case-insesitively (for people who forgets how exactly they wrote their username). But still forces case-sensitivity when trying to login (cause this is a considerable security layer). Low priority: +* [ ] Parallel URL uploads. * [x] Delete user feature. * [ ] Bulk delete user feature. * [ ] Bulk disable user feature. @@ -37,6 +36,8 @@ Low priority: Lower priority: +* [ ] Find a way to detect whether a user had disabled their browser's built-in smooth scrolling capability. We will then use that to decide whether we should use smooth scrolling when auto-scrolling during navigation (for now smooth scrolling is always enabled; and polified if applicable). +* [ ] Support [fragments](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Identifying_resources_on_the_Web#Fragment) for dashboard sidebar menus. * [ ] Perhaps consider switching from [Express](https://github.com/expressjs/express) to [Fastify](https://github.com/fastify/fastify)? * [ ] Multi-level sub dirs for uploads. [#51](https://github.com/BobbyWibowo/lolisafe/issues/51) * [ ] Mime type blacklist. [#51](https://github.com/BobbyWibowo/lolisafe/issues/51)