Commit Graph

70 Commits

Author SHA1 Message Date
8e5c88fd32 Add copyright header to source files 2021-07-04 10:57:53 +02:00
6d8bd530cb Fix translation for direction 2021-06-07 10:11:41 +02:00
b3c3c783dc Externalize more strings 2021-04-26 10:00:01 +02:00
7b1cbe6435 Use a placeholder string for all dropdowns 2021-04-11 20:37:16 +02:00
39ed246a42 Use correct category count in search menu 2021-04-11 14:34:44 +02:00
92ae22a68d Externalize more strings missed before 2021-04-10 16:02:34 +02:00
7c43fa0874 Reorganize messages to reflect page structure 2021-04-10 00:30:42 +02:00
fa2c5750dd Externalize strings in other of components 2021-04-09 23:10:00 +02:00
1762e7afac Externalize strings for home page 2021-04-05 21:31:45 +02:00
9c1beb2240 Externalize strings in usersettings page 2021-04-04 22:07:37 +02:00
594818499e Externalize strings in manage-data page 2021-04-04 22:07:37 +02:00
8d15d97857 Refactor Dropdown 2021-04-02 22:20:55 +02:00
274e433d9d Allow to change use enum for org/equipment 2021-03-10 23:55:18 +01:00
b95338e744 Remove old ui code in frontend 2021-03-09 20:40:49 +01:00
a48504debb Specificly search for field id vs name 2021-03-02 21:09:31 +01:00
889e4f4fb0 SearchMenu uses query string instead of json form 2021-03-01 20:56:23 +01:00
d819878974 Re-add the button to create new tags in detail view 2021-02-19 11:07:42 +01:00
20ccdda609 Add a notes field to equipments 2021-02-17 22:39:07 +01:00
48eee00c0b Allow person to be correspondent, concerning or both 2021-02-16 22:49: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
33458766fe Correcty reset search menu when clicking on custom-field quick link 2021-01-11 14:03:23 +01:00
7beda302b2 Fix and improve tag search menu
Show also "empty tags", where the count is 0. Before only tags with a
count > 0 were displayed. When searching this is fine, but when using
drag&drop to attach tags to items, it is good to see all. They can be
hidden via a button.

The tags are now ordered by their count descending, but regarding to
the overall count – not the current view. Otherwise the tags are
reordered when clicking on them, which is confusing. Also it then
shows the "more important" (most used) tags first, even when the
result is a subset.

A fix was made related to updating the menu. When coming back from
the detail view where a tag with prior count=0 was associated, the
menu didn't show it, because it relied on a previous state, where this
tag were not included.
2021-01-11 13:01:38 +01:00
9bc2084499 Allow to click on custom fields in detail view
Closes: #514
2021-01-09 01:16:59 +01:00
4ec133b0b9 Remove unused imports 2020-12-17 23:06:58 +01:00
b66738b4c3 Add folder count to search menu 2020-12-16 19:20:30 +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
a6dd71af9f Set an organization to a person in webapp 2020-12-01 23:39:45 +01:00
346d23928d Allow to search in source names in webui 2020-11-30 14:26:10 +01:00
1091a4fbdc Show concerning/correspond person exclusively in dropdowns
Now a person that is not marked as "concerning only" is treated as
"correspondent only". The options of all dropdown fields are now
restricted to those subsets.

Issue: #332
2020-11-27 23:13:37 +01:00
29a5419072 Allow to search with wildcard in a number custom field 2020-11-23 13:44:49 +01:00
7026852123 Indicate saving custom field values 2020-11-23 00:16:50 +01:00
a2e0c23644 Amend search form for custom fields 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
faf97222ea Make resetting search form more efficient
Instead of reloading the whole menu, only empty the fields.
2020-11-14 01:45:10 +01:00
fde52bbbb0 Make dropdowns searchable by default and improve open/close clicks
Ref #207
2020-08-14 23:04:39 +02:00
e793b63248 Allow to hide fields in menus based on ui settings 2020-08-08 22:51:02 +02:00
5810eac899 Fix remembering selection when going to detail view 2020-08-08 17:24:27 +02:00
f86f644365 Prepare for drag-drop items into tags in list view 2020-08-08 14:34:26 +02:00
b1ef0c55af Show only visible folders in search menu 2020-08-08 14:16:13 +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
f0a5f84c8b Define how many tags to see in ui settings 2020-08-08 11:16:45 +02:00
4c57d16501 Rename ui setting field 2020-08-08 10:23:08 +02:00
7c8c2f856f Include tag categories into the new tag selection field 2020-08-08 10:20:43 +02:00
3642b95f8c Add a better tag selection field 2020-08-08 09:23:48 +02:00
873d9fafc3 Add better folder field to search menu and re-order fields 2020-08-08 00:06:21 +02:00
a6a6e334d5 Search by tag category via web ui 2020-08-06 22:23:35 +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