aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/detailsview.js
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11905 from nextcloud/design/noid/tab-iconsRoeland Jago Douma2018-10-191-1/+2
|\ | | | | Add icon to file sidebar tabs
| * Add icon to file sidebar tabsJulius Härtl2018-10-181-1/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add missing semicolonsStefan Weil2018-10-191-1/+1
|/ | | | | | | | | This fixes some recommendations from LGTM: Avoid automated semicolon insertion (90% of all statements in the enclosing function have an explicit semicolon). Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Move detailsview to compiled handlebarsRoeland Jago Douma2018-10-041-22/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Always call render to replace the app-sidebar if the detail view is updatedJulius Härtl2018-08-031-2/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Jsunit fixes 1John Molakvoæ (skjnldsv)2018-07-201-2/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Sidebar fixJohn Molakvoæ (skjnldsv)2018-07-201-0/+4
| | | | | | | Fix sidebar and scrollbar on content Sidebar fixes, and sidebar-width + header-height variables Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add focus indicator for file details view tabsKevin Ndung'u2018-06-251-4/+10
| | | | Signed-off-by: Kevin Ndung'u <kevgathuku@gmail.com>
* Remove unused variablesMorris Jobke2017-11-061-18/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add proper labels to various form elements and buttonsJan-Christoph Borchardt2017-09-291-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Make possible to know the registered detail views in a details viewDaniel Calviño Sánchez2017-06-091-0/+10
| | | | | | | | In some cases, an app may need to act on a detail view registered by another app or the core, for example, to add extra elements to the element of the detail view. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Hide sidebar tab headers conditionallyVincent Petry2015-09-281-10/+43
| | | | | Added canDisplay() in DetailsTabView that should return false if the tab header of this tab must be hidden
* Fix tabs order in files sidebarVincent Petry2015-09-281-0/+8
|
* Properly show sidebar for trash and sharing sectionsVincent Petry2015-09-221-1/+1
|
* Add versions tab to files sidebarVincent Petry2015-09-031-1/+1
| | | | | | | - move versions to a tab in the files sidebar - added mechanism to auto-update the row in the FileList whenever values are set to the FileInfoModel given to the sidebar - updated tags/favorite action to make use of that new mechanism
* Removes unecessary divs and adds max width to longer names.Raghu Nayyar2015-08-301-11/+6
|
* Improve right sidebar tabs behaviorVincent Petry2015-08-141-64/+112
| | | | | | | | | | | Tab heads are not rendered if only one tab. The tab contents is updated on-demand. This means that if a tab is not visible it is not rendered at first. If the tab was already rendered through switching, its model will not get updated until the next time it becomes visible. This will prevent needless rerendering of invisible tab contents, especially considering that some tabs might need extra ajax requests.
* Make file actions work from sidebarVincent Petry2015-08-121-54/+26
| | | | | | | | | | | | | The favorite icon in the sidebar now triggers the file action and also updates itself according to the model's state when triggered from the file row. The thumbnail triggers the default action. Currently only one FileInfoModel is used for the selection and state synchronization between views. FileList reload now auto-closes the sidebar.
* Use own tabs impl in files sidebarVincent Petry2015-08-071-13/+51
| | | | Also change style.
* rename sidebar element and use css and js utility functions to coreArthur Schiwon2015-08-071-4/+2
|
* sidebar shall not overlap but shrink the contnetArthur Schiwon2015-08-071-1/+3
|
* Main view does not commands detail and tab views to render. Fixes JS tests.Arthur Schiwon2015-08-071-5/+2
| | | | | | | | | | For a predictive behaviour we need to determine who is allowed to call render methods on the views. Either, the main view is solely allowed to call render and views do not do anything about output until then. Or, the main view relies on the concrete views to be ready when things are about to be shown. The latter approach has the advantage that concrete views know when they have to update themselves (e.g. new data arrives or information change), but the main view has now idea of the inner workings.
* Added unit tests for right sidebarVincent Petry2015-08-071-1/+1
|
* Improve layout, fix mime iconVincent Petry2015-08-071-0/+1
|
* Right sidebar now has its own scrollbarVincent Petry2015-08-071-0/+17
|
* Styling fixes + hightlight in files sidebarVincent Petry2015-08-071-0/+1
| | | | | Sidebar scrolls with contents Highlight currently show file
* More fixes to the right sidebarVincent Petry2015-08-071-1/+12
| | | | | Sidebar now works in all file list views. Moved owner to share tab.
* Improved right sidebarVincent Petry2015-08-071-18/+27
| | | | | | | | Added owner info. Added animation, but causes scrollbal. Default file action now when clicking on name directly. Fixed icon. Added empty share tab.
* Basic work for right sidebarVincent Petry2015-08-071-0/+177
Adds right sidebar with registrable panels (still WIP)