From 32452e05964f732607e822ac777e7276c91c65af Mon Sep 17 00:00:00 2001 From: arabcoders Date: Fri, 24 Oct 2025 18:56:10 +0300 Subject: [PATCH 1/3] [FEAT] add grid display style for files --- ui/app/pages/browser/[...slug].vue | 374 ++++++++++++++++++++--------- 1 file changed, 261 insertions(+), 113 deletions(-) diff --git a/ui/app/pages/browser/[...slug].vue b/ui/app/pages/browser/[...slug].vue index 44b68dbd..64f47c78 100644 --- a/ui/app/pages/browser/[...slug].vue +++ b/ui/app/pages/browser/[...slug].vue @@ -19,14 +19,14 @@
-
+
-
+

+

+ +

+

+ + + + Type + + + + + + + + Name + + + + + + + + Size + + + + + + + + Date + + + + + +

@@ -52,7 +104,19 @@
-
+
+
+ +
-
-
- - - - - -
- - - # - - - - - Name - - - + + + + +
+ +

+ No results found for '{{ search }}'. +

+
-
+ +
Loading file browser contents... @@ -238,6 +386,7 @@ const bg_enable = useStorage('random_bg', true) const bg_opacity = useStorage('random_bg_opacity', 0.95) const sort_by = useStorage('sort_by', 'name') const sort_order = useStorage('sort_order', 'asc') +const display_style = useStorage('browser_display_style', 'list') const selectedElms = ref([]) const masterSelectAll = ref(false) @@ -252,7 +401,6 @@ const path = ref((() => { } return '/' })()) -const table_container = ref(true) const search = ref('') const show_filter = ref(false) @@ -332,7 +480,7 @@ watch(() => socket.isConnected, async () => { }) const handleClick = (item: FileItem): void => { - if (true === ['video','audio'].includes(item.content_type)) { + if (true === ['video', 'audio'].includes(item.content_type)) { model_item.value = { "type": 'video', "filename": item.path, From 94dd37a123dc7857174c5c645d0c58dd944fd260 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Fri, 24 Oct 2025 18:56:56 +0300 Subject: [PATCH 2/3] Reverted some changes to the navbar --- ui/app/components/Dropdown.vue | 32 ++++++++-- ui/app/components/NotifyDropdown.vue | 12 ++-- ui/app/components/Simple.vue | 8 ++- ui/app/layouts/default.vue | 95 +++++++++++++++++++++------- ui/app/pages/settings.vue | 50 +++------------ 5 files changed, 119 insertions(+), 78 deletions(-) diff --git a/ui/app/components/Dropdown.vue b/ui/app/components/Dropdown.vue index b74598f0..f4f74c2b 100644 --- a/ui/app/components/Dropdown.vue +++ b/ui/app/components/Dropdown.vue @@ -4,7 +4,7 @@