Commit Graph

63 Commits

Author SHA1 Message Date
255fe82005 Hide the language menu in login page when there are no options 2021-04-11 16:55:32 +02:00
e630786104 Move ui language into messages 2021-04-10 16:13:49 +02:00
1762e7afac Externalize strings for home page 2021-04-05 21:31:45 +02:00
594818499e Externalize strings in manage-data page 2021-04-04 22:07:37 +02:00
8f1380fcf5 Externalize strings in UiSettings page 2021-04-04 22:07:37 +02:00
b9c98c6578 Externalize strings in queue page 2021-04-02 11:28:21 +02:00
968c8e02b7 Externalize strings in upload page 2021-04-02 11:28:21 +02:00
12cad398ac Externalize strings in new-invite page 2021-04-02 11:28:21 +02:00
db6198673b Externalize strings in register page 2021-04-02 11:28:21 +02:00
ec237a2eaa Externalized strings 2021-04-02 11:28:21 +02:00
2b81c72d96 Provide translations for main menu 2021-04-02 11:28:21 +02:00
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
b95338e744 Remove old ui code in frontend 2021-03-09 20:40:49 +01:00
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