]> source.dussan.org Git - nextcloud-server.git/commit
Extract toggle visibility of a SystemTagsInfoView to its own view 5379/head
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Fri, 9 Jun 2017 07:09:41 +0000 (09:09 +0200)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Tue, 13 Jun 2017 14:41:21 +0000 (16:41 +0200)
commitc9bc52153251863776e8b506533b29520ac12cee
tree42a068317f61d18e15f3be704f74d5672f909b60
parent5985ecb66dca8fac0f0ed87ef4791cc6f8b9e469
Extract toggle visibility of a SystemTagsInfoView to its own view

The SystemTagsInfoViewToggleView is a basic view that renders a label
that, when clicked, toggles the visibility of an associated
SystemTagsInfoView.

In order to keep the view parent agnostic its attachment and detachment
to/from the MainfFileInfoView is done in the FilesPlugin.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
apps/systemtags/js/filesplugin.js
apps/systemtags/js/merged.json
apps/systemtags/js/systemtagsinfoview.js
apps/systemtags/js/systemtagsinfoviewtoggleview.js [new file with mode: 0644]
apps/systemtags/tests/js/systemtagsinfoviewtoggleviewSpec.js [new file with mode: 0644]
tests/karma.config.js