summaryrefslogtreecommitdiffstats
path: root/apps/files/js/detailtabview.js
Commit message (Collapse)AuthorAgeFilesLines
* Hide sidebar tab headers conditionallyVincent Petry2015-09-281-0/+11
| | | | | 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-1/+5
|
* Add versions tab to files sidebarVincent Petry2015-09-031-0/+7
| | | | | | | - 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
* Add namespace in case the file is loaded individuallyVincent Petry2015-08-201-0/+2
| | | | | Some apps might load this file in JS unit tests and need the OCA.Files namespace to exist.
* Improve right sidebar tabs behaviorVincent Petry2015-08-141-2/+4
| | | | | | | | | | | 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-60/+15
| | | | | | | | | | | | | 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-2/+2
| | | | Also change style.
* Main view does not commands detail and tab views to render. Fixes JS tests.Arthur Schiwon2015-08-071-0/+9
| | | | | | | | | | 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.
* Improved right sidebarVincent Petry2015-08-071-3/+22
| | | | | | | | 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/+108
Adds right sidebar with registrable panels (still WIP)