Commit Graph

416 Commits

Author SHA1 Message Date
e90f65f941 Manage custom fields in webui 2020-11-22 21:41:09 +01:00
f8634a5098 Use js pdf renderer for file view when settings tell so 2020-11-15 01:13:13 +01:00
063c9895dd Fix table layout and notification form
The styling is broken if th elements are outside a tr. The
notification form had the same problem as the scan-mailbox form
reported in #382
2020-11-15 00:09:29 +01:00
b98edba9e5 Click on tag in item detail to switch to search 2020-11-14 13:16:35 +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
e2545de347 Make item-detail and item-light consistent in field naming
This changes the public structure for an "item-light" as returned in
search results. It makes unifying things easier if both names are the
same.
2020-11-14 11:37:50 +01:00
23391ef41c Refactor link-target in a separate module 2020-11-14 11:32:19 +01:00
4b700fb249 Indicate on a card that multi-select mode is active 2020-11-14 11:03:22 +01:00
faf97222ea Make resetting search form more efficient
Instead of reloading the whole menu, only empty the fields.
2020-11-14 01:45:10 +01:00
b1d0ae0cc8 Expose clicks on item cards 2020-11-14 01:45:10 +01:00
ec5b822e09 Add subject-filter to scan-mailbox-form 2020-11-13 23:15:20 +01:00
2f9e0a8214 Use more prominent indication when an item is selected
Downside to this approach is that the item card is not accessible when
selected.
2020-11-13 01:54:19 +01:00
8950cc4dc9 Improve item card 2020-11-13 01:18:45 +01:00
e5ce1fd45f Merge pull request #437 from eikek/upload-improvements
Upload improvements
2020-11-12 22:58:08 +00:00
75c1c5b7f4 Add tags and file-filter settings to scan-mailbox form 2020-11-12 22:37:37 +01:00
04ba14f802 Amend source form with tags and file-filter
Allow to define tags and a file filter per source.
2020-11-12 22:37:28 +01:00
ed26fe226b Split item card it several functions 2020-11-10 22:25:25 +01:00
976aa75710 Move card size definition in css and fix height bug
For very tall images (sometimes shopping receipts), the height must be
restricted, too.
2020-11-09 21:36:17 +01:00
89646ef3f6 Hide number of pages, if item is only one file with one page 2020-11-09 17:06:44 +01:00
7a14b05ea7 Enhance item card displaying current file and number of pages 2020-11-09 17:04:56 +01:00
848c245db6 Change the card link to only use the main content
The card is no longer a link itself. The main target is moved to be
the content (the area containing the title and tags). This is in
preparation of upcoming changes: if the whole card is a link, it
cannot contain other links, due to a restriction by html. Later a card
may have more links to provide.
2020-11-09 14:36:58 +01:00
67e8994aec Use attachment preview urls
This changes the preview urls to use the concrete attachment ids. This
way browsers have it easier to switch the preview image when the
attachment position is changed.
2020-11-09 14:29:52 +01:00
5906c705c9 Allow the user to choose between 3 preview sizes 2020-11-09 09:40:21 +01:00
2c96590aad First ui view of preview images for items
Users can choose to not show them via ui settings
2020-11-08 15:12:56 +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
a965605a9e Improve tag multi-edit 2020-10-31 14:42:17 +01:00
6a16d8afc7 Allow to confirm/unconfirm multiple items 2020-10-29 23:15:38 +01:00
183bcf5bec Add ui-settings flag for side menus 2020-10-27 22:35:52 +01:00
9193d7ca51 Send multiple items to reprocessing 2020-10-26 14:03:56 +01:00
26e89bf84e Edit org/person/equipment of multiple items 2020-10-26 13:35:47 +01:00
2e6026b817 Edit dates of multiple items 2020-10-26 13:16:03 +01:00
7ade7dd70b Display direction icon when editing multiple items 2020-10-26 12:49:30 +01:00
d4043634ac Edit direction of multiple items 2020-10-26 12:48:15 +01:00
42c989a6cd Edit folder of multiple items 2020-10-26 12:39:44 +01:00
17472fa4ca Edit name of multiple items 2020-10-26 12:17:55 +01:00
7ad37c8d26 Editing tags for multiple items 2020-10-26 11:54:04 +01:00
55cfc4c908 Allow to select multiple items for deletion and edit 2020-10-25 22:19:55 +01:00
fc5f7c7dca Use previously updated ui settings
Fixes: #368
2020-10-22 00:08:03 +02:00
d66ae4fdc2 Display error message properly on modal edit 2020-10-19 00:30:55 +02:00
5e0eaf419e Fix browser back button to restore scroll state
Removes the url parameter that was used to identify the card to scroll
to and instead use the id from the internal model.
2020-10-18 21:35:42 +02:00
fc5035ea8d Use anchor links instead of javascript to go to detail view 2020-10-18 14:09:52 +02:00
284c42aec6 Remove attachment tab menu 2020-09-26 01:15:16 +02: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
02a0343e55 Allow to enable/disable keyboard navigation in user settings 2020-09-22 22:33:21 +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
dc0e05bc20 Navigate in ugly dropdown with keybord
- iterate through options with n,p,j,k
- select with enter
- remove item with esc
- fixes dropdown bug when removing an item, where the menu opens
2020-09-21 23:52:50 +02:00
22d70b4997 Allow keyboard navigation in FixedDropdown 2020-09-21 23:27:09 +02:00
42a7a003a7 Save name in item detail while typing 2020-09-21 21:12:00 +02:00