Commit Graph

50 Commits

Author SHA1 Message Date
70fa57587b Fix setting ui theme for anonymous 2021-02-18 22:02:56 +01:00
a79fa6f74a Add version info back to frontend 2021-02-17 21:54:53 +01:00
31cb8284a5 Fix formatting icon in top nav bar 2021-02-14 23:22:37 +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
752c8f9be2 Show new-invite as normal page 2021-01-09 01:16:59 +01:00
14dacaa837 Fix typo 2021-01-09 10:41:53 +11:00
69f57d1eb1 Replace empty hrefs with a href # 2020-12-17 21:15:33 +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
75055ba34b Fix help link menu item 2020-11-28 01:48:58 +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
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
3e752487e4 Remove unused argument 2020-10-22 23:33:46 +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
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
ad110b2a05 Replace js code with proper elm using elm-scroll package 2020-09-14 23:35:21 +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
f65f5eff35 Set client base-url from browser when not given
This is necessary when generating absolute URLs in the webapp (as done
in "Sources" page).
2020-09-13 14:05:20 +02:00
8c4f2e702b Add classifier settings 2020-09-02 18:28:14 +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
08f953dd52 Display item notes in card view if configured
The user can set a maximum length of the item notes to display in each
card. If set to 0, it is hidden.
2020-08-05 00:09:44 +02:00
ca5b7b999f Update source form to specify folder 2020-07-14 23:18:39 +02:00
6c304b4e7a Manage spaces in web-ui 2020-07-11 01:30:28 +02:00
0e8c9b1819 Initial outline for managing spaces 2020-07-11 01:30:28 +02:00
af4522c0a7 Prepare ui to handle content search 2020-06-21 22:33:10 +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
f4e37b512f Add input field to provide colors for tag categories 2020-06-07 21:42:11 +02:00
79fc5a30a1 Introduce ui settings and let user set page size for item search 2020-06-07 00:51:11 +02:00
b150269528 Add a load-more button to item list 2020-06-06 11:05:15 +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
e331808ecf Update microsite 2020-03-28 21:44:14 +01:00
478797e2a4 Add a help link to the main menu 2020-02-24 15:11:58 +01: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
4562786206 Fix path to docspell assets 2019-09-21 22:14:02 +02:00
c76af5cbf4 New logo 2019-09-21 22:02:36 +02: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