Commit Graph

1369 Commits

Author SHA1 Message Date
Eli Bosley
24435613f8 feat: begin fixing dark mode in the webcomponents 2024-12-17 11:48:45 -05:00
Pujit Mehrotra
4a29fc9dda fix(web): display error message in sidebar when api is offline (#984)
* fix(web): display error message in sidebar when api is offline

* refactor(web): move offline error derivation to UnraidApiStore

* feat(web): display error in upc when api is offline
2024-12-17 10:25:05 -05:00
Michael Datelle
2ef9fbb20e refactor: permissions system rewrite (#942)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Eli Bosley <ekbosley@gmail.com>
2024-12-16 15:25:01 -05:00
Pujit Mehrotra
a09f7c935d refactor(api): delete only archived notifications in deleteAll (#983)
* refactor(api): delete only archived notifications in deleteAll

* refactor: rename deleteAllNotifications mutation to deleteArchivedNotifications

* fix: update mutation name for deleting archived notifications

* chore(web): update codegen dependencies to fix codegen issues

* chore(web): update vue-tsc to fix build typechecking
2024-12-13 14:50:33 -05:00
Pujit Mehrotra
29d9371cc3 fix(web): update unread total immediately upon archiving (#982) 2024-12-13 12:28:56 -05:00
Eli Bosley
ef82ec5af5 fix: cleanup commands 2024-12-13 12:14:23 -05:00
Eli Bosley
cf72c8b359 feat: name package with PR number 2024-12-13 12:14:23 -05:00
Zack Spear
0705764385 refactor(web): remove unused connectPluginInstalled from dropdown trigger 2024-12-13 11:40:01 -05:00
Eli Bosley
ea6ae83919 feat: hide sign in from the dropdown text 2024-12-13 11:40:01 -05:00
Pujit Mehrotra
478254e134 feat(web): rm old notification bell upon plugin installation (#979)
* feat(web): rm old notification bell upon plugin installation

* refactor: use grep flag to unescape regex operator

* fix: preserve DefaultPageLayout.php
2024-12-13 11:16:09 -05:00
Eli Bosley
8f5814589e fix: restore upgradepkg before install 2024-12-12 10:40:14 -05:00
Pujit Mehrotra
dab6985297 refactor(web): evict notification list on archival instead of manually modifying cache 2024-12-11 16:32:05 -05:00
Pujit Mehrotra
e40a9ebecd fix(web): edge case where archived notifications don't appear
if the archive has already been fetched/loaded.
2024-12-11 16:32:05 -05:00
Pujit Mehrotra
bc4708f405 feat(web): remove notification indicator pulse
the pulse was initially added to provide visual feedback when:

1. a new notification arrived
2. an alert notification was unread

because we began using the legacy notify script, we now get a toast
on new notifications. re:2, feedback on the pulse was mixed, so i'm
removing it.
2024-12-10 14:24:52 -05:00
Pujit Mehrotra
99704a9dbb feat(web): move notification indicator icons to top-right of bell icon
previously, icons were placed next to bell icon because the status indicators
were not accessible to color-blind users. this commit replaces circular
status indicators with the icons.
2024-12-10 14:24:52 -05:00
Pujit Mehrotra
23b1f1ac73 fix(web): refetch notifications for sidebar when new notifications arrive 2024-12-10 13:01:35 -05:00
Pujit Mehrotra
a5cf63fe28 refactor(web): lift notifications overview query to Sidebar from Indicator 2024-12-10 13:01:35 -05:00
Pujit Mehrotra
78ec4663cc feat(web): add count labels to notification tabs 2024-12-10 13:01:35 -05:00
Pujit Mehrotra
a3b171f58d refactor(web): add container for loading & error states 2024-12-06 12:56:58 -05:00
Pujit Mehrotra
060fb91546 feat(web): add loading and error states to notification sidebar 2024-12-06 12:56:58 -05:00
Eli Bosley
af1994cb62 feat: error when nodejs download fails 2024-12-05 16:04:16 -05:00
Eli Bosley
bad7f71fea fix: strip components from tar line 2024-12-05 16:04:16 -05:00
Eli Bosley
a355a64136 fix: install syntax error 2024-12-05 16:04:16 -05:00
Eli Bosley
cf08627725 feat: copy only needed files for nodejs 2024-12-05 16:04:16 -05:00
Eli Bosley
6962cdd214 fix: upgradepkg 2024-12-05 16:04:16 -05:00
Eli Bosley
a39da15be4 feat: validate entries correctly 2024-12-05 16:04:16 -05:00
Eli Bosley
bb555f8296 feat: remove nghttp3 and only bundle nodejs 2024-12-05 16:04:16 -05:00
Eli Bosley
9a0d63d4ee feat: extract node to usr/local/ 2024-12-05 16:04:16 -05:00
Eli Bosley
9bbab0f86c feat: separate install process 2024-12-05 16:04:16 -05:00
Eli Bosley
349145ba53 feat: array iteration for restoring files 2024-12-05 16:04:16 -05:00
Eli Bosley
c12d8dae4e feat: do not move upgradepkg 2024-12-05 16:04:16 -05:00
Eli Bosley
b1a2ba78cc feat: download nodejs and install on legacy OS versions 2024-12-05 16:04:16 -05:00
Pujit Mehrotra
2409ef2dd6 chore(api): auto-restart dev server on source file changes (#971) 2024-12-04 15:00:16 -05:00
Pujit Mehrotra
0055637602 chore: improve dx for scripting & setup (#969)
* chore: rm vs code visual customizations

* chore(api): fix vscode eslint extension

* chore(web): update env.example for local development

* chore: add justfiles to simplify workflows

* chore: stub monorepo readme

* chore: add nvmrc to monorepo root

* refactor: improve error handling in `just ignore`

* doc(web): explain TAILWIND_BASE_FONT_SIZE in .env.example

* chore: add logo to readme
2024-12-02 10:07:56 -05:00
Pujit Mehrotra
547b75a55e fix(web): notification styles & alignment (#968)
* fix(web): notification icon & indicator colors

* fix(web): notification item text size & weights

* fix(web): notification button styles

* fix(web): notification filter styles

* fix(web): Tab List styles

* fix(web): link button styles

* fix(web): vertical spacing in notifications sidebar

* fix(web): notification sidebar link styles

* refactor(web): change default button border radius to rounded instead of rounded-md

* fix(web): Notification Item alignment with other elements

* refactor(web): add tw color palettes for unraid-green & unraid-red
2024-11-25 12:12:26 -05:00
Pujit Mehrotra
c36082e82b feat(api): omit tz from sys time date format by default 2024-11-22 12:23:03 -05:00
Pujit Mehrotra
0f3bebf859 chore(api): update dynamix config types 2024-11-22 12:23:03 -05:00
Pujit Mehrotra
96f3902b57 refactor(api): pull date-time formatting into utils 2024-11-22 12:23:03 -05:00
Pujit Mehrotra
b9cd8c426d fix(api): append time to formatted date when a custom date format is selected 2024-11-22 12:23:03 -05:00
Pujit Mehrotra
7c8e8a0e53 feat(web): pull date format from display/date and time settings 2024-11-22 12:23:03 -05:00
Pujit Mehrotra
801abac06b chore(api): improve Notify config types
Pulled from `/boot/config/plugins/dynamix/dynamix.cfg` by changing
the relevant notification settings (display, date, time).
2024-11-22 12:23:03 -05:00
Pujit Mehrotra
3fe13d5235 fix(web): reset infinite scroll when notification filters change 2024-11-21 08:55:37 -05:00
Pujit Mehrotra
eeb3289ae8 fix(web): infinite scroll loop when there's only 1 page of notifications 2024-11-19 14:22:08 -05:00
Pujit Mehrotra
939d7a304d feat(web): add an 'all' option to notification filter
allows users to "reset" after selecting a filter. ideally, we'd be able to
clear the filter if it was clicked again, but I couldn't find a way to listen
to a second/repeat click on a SelectItem, so I added a new filter item instead.
2024-11-19 14:22:08 -05:00
Pujit Mehrotra
acccb3694c chore(web): add testing step to github actions 2024-11-19 13:21:41 -05:00
Pujit Mehrotra
2724485989 test(web): Markdown sanitization & extensibility
fix(web): replaces dompurify with isomorphic-dompurify to enable server-side usage with same syntax
2024-11-19 13:21:41 -05:00
Pujit Mehrotra
2f4ff21986 feat(web): use Markdown helper class to interact with markdown 2024-11-19 13:21:41 -05:00
Pujit Mehrotra
83e00c640a fix(web): sanitize changelog markup after parsing 2024-11-19 13:21:41 -05:00
Pujit Mehrotra
abcaa5aedb feat(web): support markdown in notification messages 2024-11-19 13:21:41 -05:00
Pujit Mehrotra
4c663dc69c feat(web): add confirmation before archiving or deleting all notifications 2024-11-18 14:44:20 -05:00