ui-fixes #7

Merged
niat8586 merged 3 commits from ui-fixes into develop 2025-02-03 08:40:26 +01:00

3 Commits

Author SHA1 Message Date
d390552dc3 Better user experience, user no longer needs to manually refresh page.
Utilizing htmx to load and trigger relevant parts of the page.
`PENDING` and `PROCESSING` uploaded files now have a spinner to show that something
is happening behind the scenes.

Once a file is completed a trigger will be sent so the `Your Transcribed Files` section
will be updated with the new file.

Note: A side effect that needs addressing later is that the checkbox to select all transcribed files
stops working as intended. The side effect dispersal after a refresh of the page and the select all checkbox works.
User can still select multiple files with the checkboxes and download selected as intended.
2025-02-03 08:35:09 +01:00
9bd90341ee Removed webjars
I experienced some weird behavior when using webjars to get the dependencies of
bootstrap, bootstrap-icons, htmx. Opted to manually download and include the
files in the project instead.

All the files can be found under a folder called 3p with their respective subfolder.
2025-01-31 09:37:28 +01:00
f9b60b8fd0 Removed CDNs replaced with webjars
Since we are going to production we should not make use of CDNs
For more information you can read https://blog.wesleyac.com/posts/why-not-javascript-cdn

Now uses webjars to take down the needed dependencies.

Also moved the javascript to its own file.
2025-01-27 08:51:33 +01:00