Commit Graph

51 Commits

Author SHA1 Message Date
8e5c88fd32 Add copyright header to source files 2021-07-04 10:57:53 +02:00
9ccc3ce438 Store and load client settings 2021-05-27 21:34:05 +02:00
1762e7afac Externalize strings for home page 2021-04-05 21:31:45 +02:00
dac95e81e6 Remove unused code for search dropdown 2021-04-02 23:16:38 +02:00
9a23ba9afb Refactor FixedDropdown 2021-04-02 23:11:54 +02:00
76f5ab6c68 Allow to reprocess single and multiple items in the ui 2021-03-12 00:16:19 +01:00
c6032ff279 Check query in client 2021-03-08 00:46:31 +01:00
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
889e4f4fb0 SearchMenu uses query string instead of json form 2021-03-01 20:56:23 +01:00
e07d732193 Show item position in detail view 2021-02-17 22:18:22 +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
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
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
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
7026852123 Indicate saving custom field values 2020-11-23 00:16:50 +01:00
fe8c122968 Switch to search by clicking on correspondent/concerned in detail 2020-11-14 12:57:38 +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
998aad5627 Delete multiple items 2020-10-26 14:46: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
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
72048b9b34 Drop deferred message if user clicked away 2020-09-26 01:28:34 +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
09785292e7 Visually indicate the last viewed item in the list 2020-09-15 23:33:28 +02:00
ad110b2a05 Replace js code with proper elm using elm-scroll package 2020-09-14 23:35:21 +02:00
913bfb611c Remove unused viewmode 2020-09-14 21:57:14 +02:00
d6d16e39bd Drag-drop items into folders in list view 2020-08-08 14:03:36 +02:00
9c50a85363 Prepare drag-drop for items into folders 2020-08-08 13:20:29 +02:00
cf3e051e83 Fix load more button 2020-08-06 00:49:15 +02:00
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
6846f2f46e Add new search-index route to web-ui 2020-06-24 00:03:17 +02:00
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
af4522c0a7 Prepare ui to handle content search 2020-06-21 22:33:10 +02:00
522daaf57e Introducing fts client into codebase 2020-06-17 23:20:46 +02:00
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
217fef7384 Throttle search requests
Throttle search requests when typing. Also fix handling subscriptions
in main.
2020-06-13 21:17:15 +02:00
1dd84c11bd Apply tag colors from settings 2020-06-08 00:54:47 +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
62111e5f93 Allow to hide the search menu
This is more convenient on small screens
2020-05-17 18:15:44 +02:00
f45b40342c Improve document list view
Replace the html table with something that has more vertical space,
but scales better horizontally. On most screens at least 6-8 entries
should be visible at once.
2020-05-17 18:15:22 +02:00
c504a3df42 Fix elm-analyse issues 2020-01-29 20:56:14 +01:00
7d047b13c9 Add reset search form button 2019-12-31 01:39:55 +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
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