Commit Graph

26 Commits

Author SHA1 Message Date
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
a987ede7c9 Avoid server roundtrip when switching pages
When changing pages in webui a server request should not happen. This
makes the webapp snappy again.

Issue: #508
2020-12-15 20:22:12 +01:00
7e42426edc Fix page routing with remember me 2020-12-11 01:16:57 +01:00
f55566388a Fix endless reload of login page 2020-12-06 00:58:15 +01:00
0b6f965fcb Fix rememberme for missing local storage 2020-12-04 22:57:21 +01:00
7cc290135a Show currently logged in user
Closes: #329
2020-11-26 23:53:55 +01:00
fe8c122968 Switch to search by clicking on correspondent/concerned in detail 2020-11-14 12:57:38 +01:00
183bcf5bec Add ui-settings flag for side menus 2020-10-27 22:35:52 +01: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
160fc6627c Reset upload page on init
Fixes: #294
2020-10-03 00:37:27 +02:00
ca05b3c195 Fix initialising pages; improve scroll to item 2020-09-25 22:54:50 +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
a5bc6b53a9 Reset hidden fields on confirm
On confirm hidden fields are cleared, so that no "confirmed"
information is attached that the user has never seen.
2020-09-21 14:38:40 +02:00
3852c69da1 Scroll to the current item when going back from detail
The list view now supports an item id that will be scrolled to and is
highlighted with a shadow. When going back from detail view this is
now used to scroll to the currently viewed item.
2020-09-14 21:57:14 +02:00
217fef7384 Throttle search requests
Throttle search requests when typing. Also fix handling subscriptions
in main.
2020-06-13 21:17:15 +02:00
4c832dba35 Fix search on initial page load
It must now wait until ui-settings have been provided.
2020-06-08 01:17:19 +02:00
1dd84c11bd Apply tag colors from settings 2020-06-08 00:54:47 +02:00
79fc5a30a1 Introduce ui settings and let user set page size for item search 2020-06-07 00:51:11 +02:00
973847807f Update add item view with upload progress info 2020-05-24 11:48:49 +02:00
2042824ab4 Fix initial loading notify form 2020-04-22 21:08:45 +02:00
9b30542974 Copy/paste form together 2020-04-22 21:08:45 +02:00
c504a3df42 Fix elm-analyse issues 2020-01-29 20:56:14 +01:00
c73cdd82ab Improve item detail view
- Separate page (permalink) for item details

- Use available space and hide search menu

- Disable item navigation links if there is nothing to go to

- Show notes more prominently and allow to hide them
2019-12-31 01:22:40 +01:00
2001cca88b Using elm-format for all files 2019-12-29 21:55:12 +01:00
831cd8b655 Initial version.
Features:

- Upload PDF files let them analyze

- Manage meta data and items

- See processing in webapp
2019-09-21 22:02:36 +02:00
6154e6a387 Initial application stub 2019-09-21 14:54:03 +02:00