Eike Kettner
e406718cb7
Add a way to migrate settings stored at the browser to the server
2021-05-27 21:34:05 +02:00
Eike Kettner
9ccc3ce438
Store and load client settings
2021-05-27 21:34:05 +02:00
Eike Kettner
b3c73dafc0
Only show user menu when successfully logged in
...
Closes : #814
2021-05-22 20:30:05 +02:00
Eike Kettner
255fe82005
Hide the language menu in login page when there are no options
2021-04-11 16:55:32 +02:00
Eike Kettner
e630786104
Move ui language into messages
2021-04-10 16:13:49 +02:00
Eike Kettner
1762e7afac
Externalize strings for home page
2021-04-05 21:31:45 +02:00
Eike Kettner
594818499e
Externalize strings in manage-data page
2021-04-04 22:07:37 +02:00
Eike Kettner
8f1380fcf5
Externalize strings in UiSettings page
2021-04-04 22:07:37 +02:00
Eike Kettner
b9c98c6578
Externalize strings in queue page
2021-04-02 11:28:21 +02:00
Eike Kettner
968c8e02b7
Externalize strings in upload page
2021-04-02 11:28:21 +02:00
Eike Kettner
12cad398ac
Externalize strings in new-invite page
2021-04-02 11:28:21 +02:00
Eike Kettner
db6198673b
Externalize strings in register page
2021-04-02 11:28:21 +02:00
Eike Kettner
ec237a2eaa
Externalized strings
2021-04-02 11:28:21 +02:00
Eike Kettner
2b81c72d96
Provide translations for main menu
2021-04-02 11:28:21 +02:00
Eike Kettner
322a3e837c
Prepare for selecting languages
...
UI language is stored in user settings for authenticated users;
otherwise is only stored in the current model (not persisted).
2021-04-02 11:28:21 +02:00
Eike Kettner
b95338e744
Remove old ui code in frontend
2021-03-09 20:40:49 +01:00
Eike Kettner
70fa57587b
Fix setting ui theme for anonymous
2021-02-18 22:02:56 +01:00
Eike Kettner
a79fa6f74a
Add version info back to frontend
2021-02-17 21:54:53 +01:00
Eike Kettner
31cb8284a5
Fix formatting icon in top nav bar
2021-02-14 23:22:37 +01:00
Eike Kettner
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
Eike Kettner
752c8f9be2
Show new-invite as normal page
2021-01-09 01:16:59 +01:00
Bo Jeanes
14dacaa837
Fix typo
2021-01-09 10:41:53 +11:00
Eike Kettner
69f57d1eb1
Replace empty hrefs with a href #
2020-12-17 21:15:33 +01:00
Eike Kettner
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
Eike Kettner
7e42426edc
Fix page routing with remember me
2020-12-11 01:16:57 +01:00
Eike Kettner
f55566388a
Fix endless reload of login page
2020-12-06 00:58:15 +01:00
Eike Kettner
0b6f965fcb
Fix rememberme for missing local storage
2020-12-04 22:57:21 +01:00
Eike Kettner
75055ba34b
Fix help link menu item
2020-11-28 01:48:58 +01:00
Eike Kettner
7cc290135a
Show currently logged in user
...
Closes : #329
2020-11-26 23:53:55 +01:00
Eike Kettner
fe8c122968
Switch to search by clicking on correspondent/concerned in detail
2020-11-14 12:57:38 +01:00
Eike Kettner
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
Eike Kettner
183bcf5bec
Add ui-settings flag for side menus
2020-10-27 22:35:52 +01:00
Eike Kettner
3e752487e4
Remove unused argument
2020-10-22 23:33:46 +02:00
Eike Kettner
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
Eike Kettner
160fc6627c
Reset upload page on init
...
Fixes : #294
2020-10-03 00:37:27 +02:00
Eike Kettner
ca05b3c195
Fix initialising pages; improve scroll to item
2020-09-25 22:54:50 +02:00
Eike Kettner
60b8dc2134
Navigate items using keyboard
...
- previous/next item with `.,`
- confirm with `c`
- unconfirm with `u`
2020-09-22 00:27:32 +02:00
Eike Kettner
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
Eike Kettner
ad110b2a05
Replace js code with proper elm using elm-scroll package
2020-09-14 23:35:21 +02:00
Eike Kettner
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
Eike Kettner
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
Eike Kettner
8c4f2e702b
Add classifier settings
2020-09-02 18:28:14 +02:00
Eike Kettner
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
Eike Kettner
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
Eike Kettner
ca5b7b999f
Update source form to specify folder
2020-07-14 23:18:39 +02:00
Eike Kettner
6c304b4e7a
Manage spaces in web-ui
2020-07-11 01:30:28 +02:00
Eike Kettner
0e8c9b1819
Initial outline for managing spaces
2020-07-11 01:30:28 +02:00
Eike Kettner
af4522c0a7
Prepare ui to handle content search
2020-06-21 22:33:10 +02:00
Eike Kettner
217fef7384
Throttle search requests
...
Throttle search requests when typing. Also fix handling subscriptions
in main.
2020-06-13 21:17:15 +02:00
Eike Kettner
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