feat(breadcrumb): build breadcrumb in 1 API call

add /api/folders/{id}/ancestors

    this API to iterate parent up to the drive root or the shared folder
    this will help UI to build the breadcrumb in 1 API call
    and to identify the root element (is it a drive users has access to or
    a shared folder ?)

    ui: now only 1 API call is now required to build the breadcrumb
This commit is contained in:
Edouard Vanbelle
2026-07-26 21:31:04 +02:00
parent 0efbf0ff85
commit 3b31b8911b
33 changed files with 1342 additions and 221 deletions
+8 -1
View File
@@ -459,7 +459,14 @@
"group_name_taken": "گروهی با این نام پیش‌از این وجود دارد."
},
"breadcrumb": {
"home": "صفحه اصلی"
"home": "صفحه اصلی",
"aria": "مسیر ناوبری",
"root": {
"personal_drive": "درایو شخصی: {{name}}",
"shared_drive": "درایو اشتراکی: {{name}}",
"direct_share": "با شما به اشتراک گذاشته شده",
"token": "از طریق پیوند اشتراکی"
}
},
"trash": {
"empty_trash": "خالی کردن سطل زباله",