Commit Graph

47 Commits

Author SHA1 Message Date
f5e375614f Fix tailwind setup
- Adopted postcss and tailwind config to new version
- renamed colors bluegray->slate etc to not have custom
  definitions (hope to reduce migration next time)
- tailwind now doesn't build the complete css anymore, so the
  `dev-ui-build` script must compile both
2021-12-20 23:40:32 +01:00
435036505a List view styling tweaks 2021-12-17 00:36:23 +01:00
1eb1db730c Select list/tile view and store to ui settings
Issue: #526
2021-12-15 22:30:41 +01:00
f216c472ee Detect how to display pdf files
Closes: #1099
2021-10-23 14:33:24 +02:00
b6187bb88d Outline share detail page 2021-10-23 14:33:24 +02:00
c62b8526be View attachments from a share 2021-10-23 14:33:24 +02:00
7b0f378558 Refactor to allow internal card links into search menu
Also allows to exchange the preview-url in the item card
2021-10-23 14:33:24 +02:00
9785db0683 Change license header of all files 2021-09-21 22:35:38 +02:00
09b224b07a Left align item separator and make it more prominent
Refs: #950
2021-07-27 18:10:46 +02:00
782ca0fa4f Remove a deleted item from search results
When an item is deleted in detail view, the results must be updated to
reflect the new state. The results are now changed by removing the
corresponding item.

Fixes: #920
2021-07-25 17:35:01 +02:00
21eb7dad94 Change headers of all elm files 2021-07-25 14:00:11 +02:00
8e5c88fd32 Add copyright header to source files 2021-07-04 10:57:53 +02:00
7c43fa0874 Reorganize messages to reflect page structure 2021-04-10 00:30:42 +02:00
1762e7afac Externalize strings for home page 2021-04-05 21:31:45 +02:00
b95338e744 Remove old ui code in frontend 2021-03-09 20:40:49 +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
23391ef41c Refactor link-target in a separate module 2020-11-14 11:32:19 +01:00
4b700fb249 Indicate on a card that multi-select mode is active 2020-11-14 11:03:22 +01:00
b1d0ae0cc8 Expose clicks on item cards 2020-11-14 01:45:10 +01:00
7a14b05ea7 Enhance item card displaying current file and number of pages 2020-11-09 17:04:56 +01:00
848c245db6 Change the card link to only use the main content
The card is no longer a link itself. The main target is moved to be
the content (the area containing the title and tags). This is in
preparation of upcoming changes: if the whole card is a link, it
cannot contain other links, due to a restriction by html. Later a card
may have more links to provide.
2020-11-09 14:36:58 +01:00
67e8994aec Use attachment preview urls
This changes the preview urls to use the concrete attachment ids. This
way browsers have it easier to switch the preview image when the
attachment position is changed.
2020-11-09 14:29:52 +01:00
5906c705c9 Allow the user to choose between 3 preview sizes 2020-11-09 09:40:21 +01:00
2c96590aad First ui view of preview images for items
Users can choose to not show them via ui settings
2020-11-08 15:12:56 +01:00
7ade7dd70b Display direction icon when editing multiple items 2020-10-26 12:49:30 +01:00
55cfc4c908 Allow to select multiple items for deletion and edit 2020-10-25 22:19:55 +01:00
fc5035ea8d Use anchor links instead of javascript to go to detail view 2020-10-18 14:09:52 +02:00
9958d228bd Remove hidden fields from list view 2020-09-21 14:08:13 +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
75c958281e Redesign search/landing page 2020-08-08 16:38:52 +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
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
0df541f30a Allow to search by folders 2020-07-11 16:52:13 +02:00
43b18db76a Don't scroll when loading more items 2020-06-24 00:03:58 +02:00
a3e16e57de Display search highlighting in webapp 2020-06-23 00:17:29 +02:00
6e4aeb512d Reorganize search menu items 2020-06-13 16:19:35 +02:00
9658b2780b Prettify modal dialogs a bit 2020-06-12 00:17:26 +02:00
1dd84c11bd Apply tag colors from settings 2020-06-08 00:54:47 +02:00
5b2b2eceb3 Show tags in item list view
Also set default page size down to 60.
2020-06-07 15:43:46 +02:00
b150269528 Add a load-more button to item list 2020-06-06 11:05:15 +02:00
743aa9d754 Hide correct list element in item card 2020-05-21 01:02:46 +02:00
ee4d4e7ae5 Improve responsiveness of detail view 2020-05-17 21:58:19 +02:00
72a88f21cb Use cards for viewing items 2020-05-17 21:42:16 +02:00
98f202b797 More ui tweaks to item list 2020-05-17 18:16:04 +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