Eike Kettner
ff0b70abfe
Fix scrollbar position
2021-03-27 22:13:13 +01:00
Eike Kettner
76f5ab6c68
Allow to reprocess single and multiple items in the ui
2021-03-12 00:16:19 +01:00
Eike Kettner
a4a84abae5
Show errors from failed register request
...
Also include a `@` in the valid chars for "idents". This allows to use
an e-mail address as username.
2021-03-10 22:14:55 +01:00
Eike Kettner
b95338e744
Remove old ui code in frontend
2021-03-09 20:40:49 +01:00
Eike Kettner
c6032ff279
Check query in client
2021-03-08 00:46:31 +01:00
Eike Kettner
b4b5acde13
Enable power search for power users via ui settings
...
A different search bar is presented if enabled in ui settings that
allows to search via the new query language.
2021-03-01 22:45:17 +01:00
Eike Kettner
889e4f4fb0
SearchMenu uses query string instead of json form
2021-03-01 20:56:23 +01:00
Yumekui
017241bccb
Fix typo
2021-02-22 15:09:10 +00:00
Eike Kettner
e07d732193
Show item position in detail view
2021-02-17 22:18:22 +01:00
Eike Kettner
a79fa6f74a
Add version info back to frontend
2021-02-17 21:54:53 +01:00
Eike Kettner
33cfd6df6f
Hide Load-more button when there is no more
2021-02-17 00:14:06 +01:00
Eike Kettner
64bacb665a
Show queue counts in side menu
2021-02-15 00:27:55 +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
38ae7a9027
Make source a quick link on card and detail
2021-01-11 21:37:36 +01:00
Eike Kettner
cbca4d234f
Fix scrolling to card
...
That was broken due to the independent scroll in commit #bcb1b8.
2021-01-09 02:00:01 +01:00
Eike Kettner
0abd7dea10
Fix scrolling to top in detail view
2021-01-09 01:16:59 +01:00
Eike Kettner
9bc2084499
Allow to click on custom fields in detail view
...
Closes : #514
2021-01-09 01:16:59 +01:00
Eike Kettner
48d182667d
Harmonize login and register page
2021-01-09 01:16:59 +01:00
Eike Kettner
752c8f9be2
Show new-invite as normal page
2021-01-09 01:16:59 +01:00
Eike Kettner
2b8ef3c2f7
Allow to hide search stats in user settings
2021-01-02 10:20:18 +01:00
Eike Kettner
ae57881f2d
Sort custom fields in views
2021-01-02 10:09:05 +01:00
Eike Kettner
70983f115c
Fix custom field summary table for mobile view
2021-01-02 09:55:12 +01:00
Eike Kettner
69f57d1eb1
Replace empty hrefs with a href #
2020-12-17 21:15:33 +01:00
Eike Kettner
6346bf6a34
Add summary for fulltext searches
2020-12-17 00:11:33 +01:00
Eike Kettner
8d7b3c7d74
Show custom field summary above results
2020-12-16 22:06:34 +01:00
Eike Kettner
a995ea8729
Update tag counts in search menu
2020-12-16 00:56:12 +01:00
Eike Kettner
f55566388a
Fix endless reload of login page
2020-12-06 00:58:15 +01:00
Eike Kettner
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
Eike Kettner
c10c1fad72
Prepare remember-me authentication variant
2020-12-04 17:59:25 +01:00
Eike Kettner
346d23928d
Allow to search in source names in webui
2020-11-30 14:26:10 +01:00
Eike Kettner
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
Eike Kettner
32c9113bd4
Remove unused code
2020-11-28 00:00:10 +01:00
Eike Kettner
7cc290135a
Show currently logged in user
...
Closes : #329
2020-11-26 23:53:55 +01:00
Eike Kettner
c1c92f0932
Add language to upload page
2020-11-23 21:12:45 +01:00
Eike Kettner
7026852123
Indicate saving custom field values
2020-11-23 00:16:50 +01:00
Eike Kettner
e90f65f941
Manage custom fields in webui
2020-11-22 21:41:09 +01:00
Eike Kettner
b98edba9e5
Click on tag in item detail to switch to search
2020-11-14 13:16:35 +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
23391ef41c
Refactor link-target in a separate module
2020-11-14 11:32:19 +01:00
Eike Kettner
ee6b54006c
Fix reset search for content-only and provide it on top bar
2020-11-14 10:41:20 +01:00
Eike Kettner
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
Eike Kettner
de00b46e5d
Move searchbar to the right
2020-11-09 17:12:06 +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
ab50792879
Change icon for hiding/showing search menu
2020-10-29 23:02:08 +01:00
Eike Kettner
509823404e
Try improve search bar/menu switch
...
Adressing some parts of #395
2020-10-28 21:55:42 +01:00
Eike Kettner
183bcf5bec
Add ui-settings flag for side menus
2020-10-27 22:35:52 +01:00
Eike Kettner
0f84200118
Indicate saving when changing name for multiple items
2020-10-26 15:32:58 +01:00
Eike Kettner
0eabb7d589
Change tooltip of new select-items button
2020-10-26 14:46:04 +01:00
Eike Kettner
998aad5627
Delete multiple items
2020-10-26 14:46:04 +01:00
Eike Kettner
7ad37c8d26
Editing tags for multiple items
2020-10-26 11:54:04 +01:00
Eike Kettner
5735a47199
Replace changed item cards
2020-10-25 23:08:40 +01:00
Eike Kettner
55cfc4c908
Allow to select multiple items for deletion and edit
2020-10-25 22:19:55 +01:00
Eike Kettner
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
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
fc5035ea8d
Use anchor links instead of javascript to go to detail view
2020-10-18 14:09:52 +02:00
Eike Kettner
87d9e03f1f
Submit search when intialising overview page
...
When coming back from detail with changes to an item, it should update
the view. Otherwise it is confusing to still see a deleted or changed
item.
2020-10-03 00:32:42 +02:00
Eike Kettner
72048b9b34
Drop deferred message if user clicked away
2020-09-26 01:28:34 +02:00
Eike Kettner
ca05b3c195
Fix initialising pages; improve scroll to item
2020-09-25 22:54:50 +02:00
Eike Kettner
285db78613
Add checkbox to upload page for skipping duplicates
2020-09-23 23:37:00 +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
42a7a003a7
Save name in item detail while typing
2020-09-21 21:12:00 +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
ed1d13e712
Hide folder menu entry if folder field is not active
2020-09-21 14:10:31 +02:00
Eike Kettner
3a3be8cd1e
Remove unnecessary scrolling and fix background
2020-09-19 09:30:35 +02:00
Eike Kettner
b5f3c64058
Only copy search term when selection changes
...
This is a fixup for #261
2020-09-18 16:04:57 +02:00
Eike Kettner
aeedf58c2b
Move field contents when switching search mode in search bar
2020-09-16 22:30:24 +02:00
Eike Kettner
09785292e7
Visually indicate the last viewed item in the list
2020-09-15 23:33:28 +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
913bfb611c
Remove unused viewmode
2020-09-14 21:57:14 +02:00
Eike Kettner
06879456a6
Change job priority on queue page
2020-09-05 18:50:58 +02:00
Eike Kettner
8c4f2e702b
Add classifier settings
2020-09-02 18:28:14 +02:00
Eike Kettner
75c958281e
Redesign search/landing page
2020-08-08 16:38:52 +02:00
Eike Kettner
000d1aff2b
Toggle tags via drag-drop from list view
2020-08-08 15:50:54 +02:00
Eike Kettner
d6d16e39bd
Drag-drop items into folders in list view
2020-08-08 14:03:36 +02:00
Eike Kettner
9c50a85363
Prepare drag-drop for items into folders
2020-08-08 13:20:29 +02:00
Eike Kettner
a4796f3f7f
Return more tag details with item insights
2020-08-08 00:41:20 +02:00
Eike Kettner
cf3e051e83
Fix load more button
2020-08-06 00:49:15 +02:00
Eike Kettner
1662e1e2c8
Split ItemDetail file into multiple files due to its size
2020-08-05 17:57:45 +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
46b784cc33
Simplify search bar and menu
...
The option "contents" has been removed from the search bar. This field
is not intended to be used alone, but rather in conjunction with other
fields. Otherwise it may be really slow on large databases.
The "name" option has been removed from the search menu. This doesn't
provide anything better over the "Names" field, that search more
fields, including item names.
2020-08-01 00:26:41 +02:00
Eike Kettner
091ded50cb
Sort tag list by count
...
It was displayed in some random order. Now the most used tag is first.
2020-07-31 00:14:25 +02:00
Eike Kettner
ca5b7b999f
Update source form to specify folder
2020-07-14 23:18:39 +02:00
Eike Kettner
2ab0b5e222
Rename space -> folder
2020-07-11 11:54:23 +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
0ba1736bc8
Remove items/attachments from index on delete
2020-06-25 00:00:10 +02:00
Eike Kettner
8e0282c25f
Indicate when the search-menu is not used
2020-06-24 01:15:41 +02:00
Eike Kettner
6846f2f46e
Add new search-index route to web-ui
2020-06-24 00:03:17 +02:00
Eike Kettner
5e77ff0fc5
Start search by pressing enter and not on each stroke
...
This reduces (unecessary) requests and eases the restless list
rendering. Throttling is still in place to avoid too many requests
when e.g. holding the enter-key.
2020-06-22 00:46:11 +02:00
Eike Kettner
6c8abf4cd7
Fix searchmenu styling
2020-06-21 23:45:12 +02:00
Eike Kettner
af4522c0a7
Prepare ui to handle content search
2020-06-21 22:33:10 +02:00
Eike Kettner
522daaf57e
Introducing fts client into codebase
2020-06-17 23:20:46 +02:00
Eike Kettner
bc20e9a9bb
Execute search when loading page
2020-06-17 21:57:50 +02:00
Eike Kettner
e0c8c45061
Hide search menu by default and add search bar to top
...
Adds a search bar to the top of the listing page that is the same as
the `All Names` search field in the search menu. Search menu can be
toggled as before.
2020-06-13 22:05:16 +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
5468e24b55
Add search field for 'all-names' to search menu
2020-06-13 21:03:45 +02:00
Eike Kettner
2c13f9307c
Adopt UI to allow multiple notification tasks
2020-06-13 14:26:38 +02:00
Eike Kettner
9658b2780b
Prettify modal dialogs a bit
2020-06-12 00:17:26 +02:00