aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/mainfileinfodetailview.js
Commit message (Collapse)AuthorAgeFilesLines
* Replace custom tooltips with native ones in filesjulia.kirschenheuter2022-12-221-12/+1
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* adding action.filename to FileActionsMaxence Lange2021-10-081-1/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Migrate deprecated toolip methodsMichaIng2021-09-261-2/+2
| | | | | | | With Bootstrap v4, the tooltip methods "fixTitle" and "destroy" have been removed. Only core/src/Polyfill/tooltip.js keeps them methods valid by translating them. Signed-off-by: MichaIng <micha@dietpi.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fallback to directory icon based on the mount typeJulius Härtl2019-09-151-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove OC.scaleFixForIE8Christoph Wurst2018-10-081-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move mainfileinfodetailsview to commpiled handlebarsRoeland Jago Douma2018-10-041-27/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Hide favourite icon in details view if favourite action is not availableDaniel Calviño Sánchez2018-01-051-0/+9
| | | | | | | | | | | | When the favourite icon in the details view is clicked the "Favorite" action is triggered. However, if the action name given to "triggerAction" is not found then the "Download" action is triggered instead. As the "Favorite" action is not available in some file lists (like "Recents") the "Download" action was executed instead in those cases, which was a strange behaviour. Now the favourite icon is hidden if its action is not available. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Trigger pre and post render events in MainFileInfoDetailsViewDaniel Calviño Sánchez2017-06-091-0/+4
| | | | | | | | | | | | The post-render event makes possible to modify the MainFileInfoDetailsView element once it has been rendered, which is needed by OCA.SystemTags.FilesPlugin to add the "Tags" label to the file details, while the pre-render event makes possible to detach added elements if needed before the MainFileInfoDetailsView is rendered again, as that removes the events from the child DOM elements even if they belong to other views. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Copy permalink directly on clickRoeland Jago Douma2017-05-231-9/+30
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Explain local linkJos Poortvliet2017-04-131-1/+1
| | | | | | | | | | The local link is a clever thing and the clients should support this imho but it might not be clear to all users. For one, the term 'local link' is a bit odd. Local with respect to what? It links directly to the file or folder, so direct link seems to make more sense to me. And we should explain the difference with a public link. So this PR: * renames local link to direct link * adds a short explanation, noting it only works for users who have access to this file/folder. As other links are called public link you could also consider calling this 'private link', I suppose. But the links we sent by mail to ppl could also be called 'private link' (they are for one user, who git it by email) so I think it might be confusing. What do @nextcloud/designers think? Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fixed size issues on main detail view and disappearing of share recipients ↵Michael Jobst2016-12-231-0/+13
| | | | | | | | | | | | | | | | | | (#26603) * fixed size issues on main detail view and disappearing of share recipients * Changes due to code comments * Moved reloadProperties() to FileInfoModel * Solved Scrutinizer issues * Bugfix: undefined value used on error * check if options are set for FileInfoModel.initialize() Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Style modifications of favorite star on main detail view (#26658)Michael Jobst2016-12-191-4/+3
| | | | | | | | | | | | * Style modifications of favorite star on main detail view * Removed unused opacity change on mouse over * favorite star title fixed * favorite star opacity should always be .7 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* use copy icon for local link rather than link icon to prevent confusion with ↵Jan-Christoph Borchardt2016-11-171-2/+2
| | | | | | sharing Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Use live timestamp in the sidebar detailsJoas Schilling2016-09-011-1/+2
|
* Factor out handling sidebar previewsRobin Appelman2016-07-041-81/+7
|
* Add anchor icon in sidebar to copy permalinkVincent Petry2016-05-061-3/+35
|
* apps/files: Fix typos in comments (found and fixed by codespell)Stefan Weil2016-03-091-1/+1
| | | | | | This contribution is AGPL and MIT licensed. Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Fix icon update to be more consistentVincent Petry2015-10-291-2/+2
| | | | Makes the details bar show the same icon as in the list.
* Do not register sidebar panels when no sidebarVincent Petry2015-10-151-2/+2
|
* Move alt text for favorite action to imageVincent Petry2015-10-071-2/+1
|
* Merge pull request #19454 from owncloud/ie8-madness-returnsThomas Müller2015-09-301-0/+2
|\ | | | | [IE8] Fix file type sizes and popover menus in file list
| * [IE8] Fix filetype icon sizesVincent Petry2015-09-291-0/+2
| | | | | | | | | | | | Added hack that uses a "filter" CSS with explicit URL to fix the "New" menu by scaling down icons and also fix the folder/filetype icon in the sidebar by scaling it up.
* | adjust aspect ratio of preview size when for aspect ratios > 16/9Robin Appelman2015-09-291-1/+15
| |
* | improve handling of small imagesRobin Appelman2015-09-291-2/+7
| |
* | Scale portrait images correctlyRobin Appelman2015-09-291-1/+1
| |
* | Cover both width and height for the sidebar previewRobin Appelman2015-09-291-2/+4
|/
* adjust the height of the sidebar preview image when resizing the browserRobin Appelman2015-09-231-4/+2
|
* fix small mimetype iconsRobin Appelman2015-09-151-3/+3
|
* Various thumbnail fixesRobin Appelman2015-09-151-44/+62
| | | | | | - Show square images as portrait - Set max height based on sidebar width - cleanup
* enforce loading icon in sidebar to be 32x32Georg Ehrke2015-09-111-3/+3
|
* larger preview for images in the sidebarRobin Appelman2015-09-021-6/+39
|
* allow handling thumbnail errorsRobin Appelman2015-09-021-1/+4
|
* Removes unecessary divs and adds max width to longer names.Raghu Nayyar2015-08-301-8/+11
|
* Fix trashbin sidebarVincent Petry2015-08-251-4/+4
| | | | | Do not display size as it is not available. Use display name instead of name to remove the ".d123456" suffix.
* bigger file thumbnail in app sidebarJan-Christoph Borchardt2015-08-241-2/+2
|
* Make file actions work from sidebarVincent Petry2015-08-121-29/+78
| | | | | | | | | | | | | 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.
* replace tipsy with tooltipHendrik Leppelsack2015-08-071-1/+1
|
* fix tipsy gravity after rebaseArthur Schiwon2015-08-071-1/+1
|
* fix position of elements in right sidebarJan-Christoph Borchardt2015-08-071-2/+1
|
* Added unit tests for right sidebarVincent Petry2015-08-071-3/+2
|
* Improve layout, fix mime iconVincent Petry2015-08-071-12/+13
|
* More fixes to the right sidebarVincent Petry2015-08-071-5/+15
| | | | | Sidebar now works in all file list views. Moved owner to share tab.
* Improved right sidebarVincent Petry2015-08-071-17/+31
| | | | | | | | 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/+75
Adds right sidebar with registrable panels (still WIP)