Commit Graph

180 Commits

Author SHA1 Message Date
889e4f4fb0 SearchMenu uses query string instead of json form 2021-03-01 20:56:23 +01:00
017241bccb Fix typo 2021-02-22 15:09:10 +00:00
e07d732193 Show item position in detail view 2021-02-17 22:18:22 +01:00
a79fa6f74a Add version info back to frontend 2021-02-17 21:54:53 +01:00
33cfd6df6f Hide Load-more button when there is no more 2021-02-17 00:14:06 +01:00
64bacb665a Show queue counts in side menu 2021-02-15 00:27:55 +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
38ae7a9027 Make source a quick link on card and detail 2021-01-11 21:37:36 +01:00
cbca4d234f Fix scrolling to card
That was broken due to the independent scroll in commit #bcb1b8.
2021-01-09 02:00:01 +01:00
0abd7dea10 Fix scrolling to top in detail view 2021-01-09 01:16:59 +01:00
9bc2084499 Allow to click on custom fields in detail view
Closes: #514
2021-01-09 01:16:59 +01:00
48d182667d Harmonize login and register page 2021-01-09 01:16:59 +01:00
752c8f9be2 Show new-invite as normal page 2021-01-09 01:16:59 +01:00
2b8ef3c2f7 Allow to hide search stats in user settings 2021-01-02 10:20:18 +01:00
ae57881f2d Sort custom fields in views 2021-01-02 10:09:05 +01:00
70983f115c Fix custom field summary table for mobile view 2021-01-02 09:55:12 +01:00
69f57d1eb1 Replace empty hrefs with a href # 2020-12-17 21:15:33 +01:00
6346bf6a34 Add summary for fulltext searches 2020-12-17 00:11:33 +01:00
8d7b3c7d74 Show custom field summary above results 2020-12-16 22:06:34 +01:00
a995ea8729 Update tag counts in search menu 2020-12-16 00:56:12 +01:00
f55566388a Fix endless reload of login page 2020-12-06 00:58:15 +01:00
2aed7ba142 Simplify search bar and search menu
The functionality of the search bar is now in the search menu, too.
The search menu shows one input field for "textual search", which is
either the fulltext search (if enabled) or a basic search in various
names.
2020-12-05 22:38:27 +01:00
c10c1fad72 Prepare remember-me authentication variant 2020-12-04 17:59:25 +01:00
346d23928d Allow to search in source names in webui 2020-11-30 14:26:10 +01:00
d62c4a5a72 Fix updating search view
For example, when content-search was activated the view was not
correctly updated after deleting or drag-and-drop.
2020-11-28 00:51:16 +01:00
32c9113bd4 Remove unused code 2020-11-28 00:00:10 +01:00
7cc290135a Show currently logged in user
Closes: #329
2020-11-26 23:53:55 +01:00
c1c92f0932 Add language to upload page 2020-11-23 21:12:45 +01:00
7026852123 Indicate saving custom field values 2020-11-23 00:16:50 +01:00
e90f65f941 Manage custom fields in webui 2020-11-22 21:41:09 +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
23391ef41c Refactor link-target in a separate module 2020-11-14 11:32:19 +01:00
ee6b54006c Fix reset search for content-only and provide it on top bar 2020-11-14 10:41:20 +01:00
795cd8bc80 Set search when clicking on parts of the item card
When user clicks on correspondent etc. on an item card, the search is
set to this value.
2020-11-14 01:45:10 +01:00
de00b46e5d Move searchbar to the right 2020-11-09 17:12:06 +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
ab50792879 Change icon for hiding/showing search menu 2020-10-29 23:02:08 +01:00
509823404e Try improve search bar/menu switch
Adressing some parts of #395
2020-10-28 21:55:42 +01:00
183bcf5bec Add ui-settings flag for side menus 2020-10-27 22:35:52 +01:00
0f84200118 Indicate saving when changing name for multiple items 2020-10-26 15:32:58 +01:00
0eabb7d589 Change tooltip of new select-items button 2020-10-26 14:46:04 +01:00
998aad5627 Delete multiple items 2020-10-26 14:46:04 +01:00
7ad37c8d26 Editing tags for multiple items 2020-10-26 11:54:04 +01:00
5735a47199 Replace changed item cards 2020-10-25 23:08:40 +01:00
55cfc4c908 Allow to select multiple items for deletion and edit 2020-10-25 22:19:55 +01:00
6ea9193b5e Only scroll to the last visited item when initializing the page
When searching again on that page, scrolling/highlighting should not
happen. It now happens whenever coming to this page (not only when
going back from detail view).

Fixes: #373
2020-10-22 23:33:57 +02: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
fc5035ea8d Use anchor links instead of javascript to go to detail view 2020-10-18 14:09:52 +02:00