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:
@@ -605,7 +605,14 @@
|
||||
"forbidden": "Could not load files"
|
||||
},
|
||||
"breadcrumb": {
|
||||
"home": "Home"
|
||||
"home": "Home",
|
||||
"aria": "Breadcrumb",
|
||||
"root": {
|
||||
"personal_drive": "Personal drive: {{name}}",
|
||||
"shared_drive": "Shared drive: {{name}}",
|
||||
"direct_share": "Shared with you",
|
||||
"token": "Via shared link"
|
||||
}
|
||||
},
|
||||
"trash": {
|
||||
"empty_trash": "Empty Trash",
|
||||
|
||||
Reference in New Issue
Block a user