Commit Graph

71 Commits

Author SHA1 Message Date
Basti 2017da2af0 Render audio and video file preview
Audio and video files are not downloaded, but the element src is
fetching the content directly from storage. Unfortunately, one cannot
skip forward, when the RS server doesn't support content ranges.
2018-11-17 15:33:28 +00:00
Basti 96ddacae14 Style content buttons 2018-11-17 15:33:28 +00:00
Basti 3dbf1e1228 Formatting 2018-06-19 18:13:20 +02:00
Basti 2abd47712d For now only edit JSON
Plain text editing is not implemented yet.
2018-04-02 00:19:12 +02:00
Basti 4d8e25eaf7 Ensure previews are not opened in edit mode
Apparently component state can survive route changes there. o_O
2018-04-02 00:18:35 +02:00
Basti e3f1010d59 Make buttons fit with all possible buttons visible 2018-04-02 00:09:15 +02:00
Basti 6a63d63634 Fix button spacing for all possible combos 2018-04-02 00:04:58 +02:00
Basti 74e442ce8b Give delete button a warning color 2018-04-01 16:03:03 +02:00
Basti c7a4faf5b2 Disabled editor buttons while uploading changes 2018-04-01 15:55:57 +02:00
Basti f2fe1f5530 Reset JSON treeviews when editing is cancelled
And don't add all the event handlers by default.
2018-04-01 15:40:17 +02:00
Basti 103ccbdfdd Minimal styling for native content buttons 2018-04-01 15:39:55 +02:00
Basti 5748f83971 Use proper button groups
Improve styling of button groups, so they're more intuitive. Remove
button-group containers for single buttons.
2018-04-01 15:25:25 +02:00
Basti c979b13df5 Edit files via the JSON tree view editor 2018-04-01 13:59:34 +02:00
Basti ddecda8220 Add edit-content buttons and states 2018-03-31 19:35:46 +02:00
Basti 8db259d147 Add button for opening public docs in a new tab 2018-01-25 16:52:56 +00:00
Basti 8725b3ffa8 Use icons for all buttons 2018-01-19 11:54:53 +00:00
Basti a5a77ac668 Basic button styles 2018-01-19 10:41:39 +00:00
Basti ebbe52c81d Use same grid for header as for inspect body 2018-01-06 15:53:18 +00:00
Basti 0ab2e9e732 Add button for hiding/showing metadata 2018-01-06 15:51:03 +00:00
Basti 3deca81c1d Give sidebar some bottom space 2018-01-06 15:23:06 +00:00
Basti 39789d365b Add some bottom margin to the inspect details 2018-01-06 15:21:05 +00:00
Basti c46f363316 Make file content scrollable 2018-01-06 15:15:52 +00:00
Basti 411613088a Add JSON tree view in addition to source preview 2018-01-06 14:56:19 +00:00
Basti cd8d32d812 Inject service in file-preview component 2018-01-06 13:03:04 +00:00
Basti a832f5614c Add buttons for switching JSON preview style 2018-01-06 12:53:14 +00:00
Basti afa1552ebf Fix race condition with documents filtering 2018-01-03 19:48:55 +00:00
Basti 9f5d8bfb93 Delete all documents in current directory
Adds a new button to the top right for deleting all documents in a
directory.
2018-01-03 13:34:04 +00:00
Basti 14c39d292f Prevent error alert for discovery errors
They're handled by the widget
2017-12-31 18:40:08 +00:00
Basti ab9ad2f354 Handle invalid RS auth tokens 2017-12-31 13:35:25 +01:00
Basti ab637deb33 Add delete button 2017-12-30 20:24:40 +01:00
Basti 220888a7c5 Move header to route templates, remove obsolete code 2017-12-30 20:05:41 +01:00
Basti e4520d86c3 Fix file preview content not breaking 2017-12-26 14:55:37 +01:00
Basti 89b846c511 Show disconnect link on hover 2017-12-26 14:01:43 +01:00
Basti b8604bacb5 Add basic disconnect link 2017-12-26 13:53:21 +01:00
Basti 36901b8006 Use new skipInitial widget option 2017-12-26 13:53:03 +01:00
Basti 2e4b5a0337 Add disconnect route 2017-12-26 12:16:18 +01:00
Basti f7142fa125 Fix widget style on connect page 2017-12-26 12:16:03 +01:00
Basti e38e873dd2 Style user address (with username seperate from host) 2017-12-26 12:03:40 +01:00
Basti 5d533d2c08 More connect improvements
* Use extra route for disconnected/initial state
* Style connect screen properly
* Hide widget when connected in favor of custom UI
* Show account info in sidebar header
2017-12-25 10:50:03 +01:00
Basti 0ee09d99ce Wait for connection state before fetching anything
This ensures that no data is fetched prematurely.
2017-12-24 10:53:27 +01:00
Basti 456e1f15fb More connection handling 2017-12-24 10:52:41 +01:00
Basti e865ffe073 Improve connection handling
* Clear directory data on disconnect
* Clear path URL param on disconnect
* Don't try to fetch dir listing when starting app disconnected
2017-12-22 12:54:29 +01:00
Basti 9625e9cbb2 Show folders first in dir lists 2017-11-27 22:15:01 +01:00
Basti 0d2d356e93 Show a message when no preview rendered 2017-11-27 22:02:35 +01:00
Basti 59de8a4151 Show images in file view 2017-11-27 21:55:28 +01:00
Basti 7263f092d0 Show file content for non-binary files 2017-11-27 21:55:28 +01:00
Basti f190b6aabb Add inspect/details view 2017-11-27 21:55:24 +01:00
Basti 674aff63cf Show file sizes in listings 2017-11-13 00:11:23 +01:00
Basti 9399849e0c Add breadcrumb navigation 2017-11-12 22:33:41 +01:00
Basti 6d4ef48991 Improve styles a bit 2017-11-12 21:10:58 +01:00