feat(user-perf): add ui user-perf + dotfile filter

- add resource kind filter (file, folder, drive) in shared section (localStorage stored)
- add user preferences serverside store
- add client side dotfile filter (show/hide dotfiles) (user perf stored, default: dotfiles are shown)
  for security trashed dotfile are always displayed

  protection added: if a folder has only hidden items, a notification invite user to display it
  if a user rename or create a hidden item, a notification tells it to user
This commit is contained in:
Edouard Vanbelle
2026-07-13 19:26:19 +02:00
parent 06da428493
commit 5aaf49859e
43 changed files with 1676 additions and 121 deletions
+31 -3
View File
@@ -57,7 +57,17 @@
"manageAccess": "Manage access",
"notifySent": "Notification sent.",
"passwordLinks": "Password-protected links",
"publicLinks": "Public links"
"publicLinks": "Public links",
"filter": {
"button": "Kinds",
"title": "Filter by kind",
"files": "Files",
"folders": "Folders",
"drives": "Drives",
"emptyTitle": "No shares match the current filter",
"emptyHint": "Adjust the kind filter or reset it to the default (Files + Folders).",
"reset": "Reset filter"
}
},
"nav": {
"files": "Files",
@@ -77,6 +87,8 @@
"photos": {
"empty_state": "No photos yet",
"empty_hint": "Upload images or videos to see them here",
"empty_hidden": "{{n}} photo(s) hidden by your dotfile preference",
"empty_hidden_hint": "Turn off \"Hide dotfiles\" in your profile to see them.",
"items_selected": "selected",
"view_daily": "Day",
"view_monthly": "Month",
@@ -508,7 +520,15 @@
"uploading": "Uploading…",
"uploading_file": "Uploading {{name}}…",
"uploading_n": "Uploading {{done}}/{{total}} files…",
"view": "View"
"view": "View",
"empty_hidden_title": "{{n}} hidden item(s) in this folder",
"empty_hidden_hint": "Files whose name starts with '.' are hidden. Toggle the setting to see them.",
"show_hidden": "Show hidden files",
"upload_dotfile_hidden": "{{n}} file(s) uploaded but hidden by your dotfile preference.",
"rename_dotfile_hidden": "Renamed to '{{name}}' — now hidden by your preference.",
"new_folder_dotfile_hidden": "Created folder '{{name}}' — hidden by your dotfile preference.",
"dotfiles_hidden_toast": "Dotfiles hidden",
"dotfiles_shown_toast": "Dotfiles shown"
},
"dialogs": {
"rename_folder": "Rename folder",
@@ -728,6 +748,8 @@
"accessed": "Accessed",
"empty_state": "No recent files",
"empty_hint": "Files you open will appear here",
"empty_hidden_state": "{{n}} recent item(s) hidden by your dotfile preference",
"empty_hidden_hint": "Turn off \"Hide dotfiles\" in your profile to see them.",
"loadMore": "Load more",
"confirm_clear": "Clear your recent items?"
},
@@ -1164,6 +1186,7 @@
"family_name": "Last name",
"notify_on_share": "Email me when someone shares with me",
"notify_on_share_hint": "When unchecked, shares still appear in your account — you just won't get an email about them.",
"hide_dotfiles": "Hide files whose name starts with a dot (.env, .git, …)",
"save_profile": "Save changes",
"profile_saved": "Profile updated",
"profile_no_changes": "No changes to save.",
@@ -1525,6 +1548,11 @@
"view": {
"grid": "Grid view",
"label": "View options",
"list": "List view"
"list": "List view",
"hide_dotfiles": "Hide hidden files",
"show_dotfiles": "Show hidden files"
},
"preferences": {
"save_failed": "Couldn't save your preference. Please try again."
}
}