Commit Graph

24 Commits

Author SHA1 Message Date
dd743cf273 Reformatted changed source files with elm-format 2021-04-18 22:27:50 +02:00
decae84aec Using SelectViewModel, bulk deletion of item attachments 2021-04-18 18:38:38 +02:00
1db5eaf5ee Attachments selectable 2021-04-17 16:43:24 +02:00
a9c02e9e88 Prepared multiselect view mode for attachment list 2021-04-17 13:04:30 +02:00
8d15d97857 Refactor Dropdown 2021-04-02 22:20:55 +02:00
76f5ab6c68 Allow to reprocess single and multiple items in the ui 2021-03-12 00:16:19 +01:00
dd935454c9 First version of new ui based on tailwind
This drops fomantic-ui as css toolkit and introduces tailwindcss. With
tailwind there are no predefined components, but it's very easy to
create those. So customizing the look&feel is much simpler, most of
the time no additional css is needed.

This requires a complete rewrite of the markup + styles. Luckily all
logic can be kept as is. The now old ui is not removed, it is still
available by using a request header `Docspell-Ui` with a value of `1`
for the old ui and `2` for the new ui.

Another addition is "dev mode", where docspell serves assets with a
no-cache header, to disable browser caching. This makes developing a
lot easier.
2021-02-14 01:46:13 +01:00
66bd4f53cb Fix person-org relation info 2020-12-05 22:44:19 +01:00
d4470ab5fd Restrict person dropdown options to the associated organization 2020-12-01 23:39:45 +01:00
1091a4fbdc Show concerning/correspond person exclusively in dropdowns
Now a person that is not marked as "concerning only" is treated as
"correspondent only". The options of all dropdown fields are now
restricted to those subsets.

Issue: #332
2020-11-27 23:13:37 +01:00
c87163052b Allow to choose from existing tag categories
Also fixes a ui problem with a too long dropdown menu in the small
modal popup when adding tags or custom fields in item detail view.

Issue: #331
2020-11-26 23:53:50 +01:00
cdcc8210fe Throttle customfield update requests 2020-11-23 09:27:05 +01:00
7026852123 Indicate saving custom field values 2020-11-23 00:16:50 +01:00
4059ef31c1 Allow providing values for custom fields in item detail 2020-11-22 21:41:09 +01:00
fe8c122968 Switch to search by clicking on correspondent/concerned in detail 2020-11-14 12:57:38 +01:00
cf578a88d3 Make item detail header a link list 2020-11-14 12:11:04 +01:00
59dfae6a49 Introduce fomantic-ui, replacing semantic-ui
Replaced semantic-ui with the drop-in replacement fomantic-ui [0]
which is a maintained fork. The fomantic-ui used here is a custom
build [1] of the less-version _without_ google-fonts (css-only). The
javascript part of fomantic-ui is not used, and also jquery could be
dropped now.

[0] https://fomantic-ui.com
[1] https://github.com/eikek/fomantic-slim-default

Issue: #349
2020-11-05 22:44:10 +01:00
183bcf5bec Add ui-settings flag for side menus 2020-10-27 22:35:52 +01:00
e831d7bdd7 Move attachment tabs into a menu
If multiple attachments are present, the tab menu doesn't show all. So
if there is more than one attachment they can be selected from a menu.
2020-09-26 01:14:56 +02:00
5b56ea881c Use Ctrl modifier when navigating in item detail
Otherwise it clashes with input fields
2020-09-22 22:07:27 +02:00
60b8dc2134 Navigate items using keyboard
- previous/next item with `.,`
- confirm with `c`
- unconfirm with `u`
2020-09-22 00:27:32 +02:00
42a7a003a7 Save name in item detail while typing 2020-09-21 21:12:00 +02:00
0453494cc6 Make notes below the files view and always visible
It looks similiar to github's readme. If there are no notes, the form
is displayed.
2020-08-05 22:41:08 +02:00
1662e1e2c8 Split ItemDetail file into multiple files due to its size 2020-08-05 17:57:45 +02:00