Commit graph

125 commits

Author SHA1 Message Date
Jan Böhmer
abc5c61a06 Fixed problem, that search field and search options did not close when clicking outside
This fixes issue #701. For the search field this was caused by algolia/autocomplete lib, which do not support multiple autocomplete fields on a single page. If initailly loaded on the homepage, which features a second autocomplete, this one "steals" the input listening, and the one in the navbar do not close anymore when clicking outside.
Custom code which triggers the closing of the autocomplete manually when clicking outside, was added as a workaround.
2024-10-13 23:19:03 +02:00
Jan Böhmer
f18c024daa Remove -> prefix if no element is selected yet 2024-08-24 15:35:30 +02:00
Jan Böhmer
f6577a8f33 Allow to create sub elements for existing elements, by typing "->"
This fixes issue #666 and #560
2024-08-24 15:31:44 +02:00
Jan Böhmer
cf39e1f259 Do not split up pasted input on structrual entity selectors. This caused a part of the string to get split/lost
Fixes issue #538
2024-03-04 21:51:26 +01:00
Jan Böhmer
b92553f480 Added button to create attachments by uploading multiple files
This fixes issue #481
2024-03-02 18:26:50 +01:00
Jan Böhmer
f5d53dc305 Make the checkboxes of datatables look like regular bootstrap checkboxes 2024-03-02 01:28:15 +01:00
Jan Böhmer
b7ce91e2d8 Use the new system of datatables-select 2.0 where checkboxes are true checkbox fields 2024-03-02 01:04:28 +01:00
Jan Böhmer
e0ef376cf0 Fixed various problems with the quicksearch 2024-02-29 23:00:21 +01:00
Jan Böhmer
04aeab7ea6 Renamed the quicksearch controller 2024-02-29 22:50:26 +01:00
Jan Böhmer
0dea26f67d Do not allow search if query is empty 2024-02-29 22:48:07 +01:00
Jan Böhmer
1815162907 Added a search bar to homepage 2024-02-29 22:46:19 +01:00
Jan Böhmer
e00988047c Added highlighting to search results 2024-02-29 22:20:30 +01:00
Jan Böhmer
faadd8e9a4 Improved layout for autocomplete dropdown 2024-02-29 21:53:28 +01:00
Jan Böhmer
409dcce3c7 Use correct translations for livesearch field in navbar 2024-02-29 20:39:27 +01:00
Jan Böhmer
faa3bea3ab Allow to navigate to dropdown entries by keyboard 2024-02-28 22:06:54 +01:00
Jan Böhmer
f70f6c39ce Fixed error that algolia autocomplete input appeared multiple times after a link was clicked 2024-02-28 22:00:12 +01:00
Jan Böhmer
41e45599d4 Use a modified theme for algolia/autocomplete, which plays better with bootstrap 2024-02-28 21:38:11 +01:00
Jan Böhmer
e16aa31ddf Fixed z-index of autocomplete dropdown 2024-02-27 23:05:24 +01:00
Jan Böhmer
c87f809d12 Added header to part livesearch dropdown part results 2024-02-27 23:02:05 +01:00
Jan Böhmer
a3dcd1a0a8 Added recent searches to search 2024-02-27 00:39:38 +01:00
Jan Böhmer
18eb0467ee Integrated algolia autocomplete search into navbar 2024-02-27 00:28:17 +01:00
Jan Böhmer
60942c8254 Added very basic livesearch feauture using algolia autocomplete 2024-02-27 00:08:21 +01:00
Jan Böhmer
e9d03a0c95 Fixed "Loading..." message on datatables with no content 2024-02-18 20:31:31 +01:00
Jan Böhmer
1b5eea4750 Register the unselect handler on turbo:load instead of visit, to avoid problems that the newly clicked treeview node gets unselected too. 2024-01-28 21:57:42 +01:00
Jan Böhmer
cb9e90ddc9 Load the link again when clicking a already selected treeview node, instead of just unselecting it 2024-01-28 21:48:32 +01:00
Jan Böhmer
a161e3a520 Load the link again when clicking a already selected treeview node, instead of just unselecting it
This fixes the somehow unintuitive behavior described in issue #458
2024-01-27 22:22:07 +01:00
Jan Böhmer
8018e8687b Unselect a treeview node, if the referenced page changes
Related to issue #458
2024-01-27 21:12:21 +01:00
Jan Böhmer
1da2b9eecb Fixed javascript error caused by CKEDITOR
This was not really a problem, just annoying. But now it is fixed.
Fixes issue #457
2024-01-15 20:39:27 +01:00
Jan Böhmer
f28e369c01 Added an autocomplete feature for Kicad symbols and footprints 2023-12-02 19:40:26 +01:00
Jan Böhmer
b0f5d9b55f Added an form for merging two parts together 2023-11-22 20:11:38 +01:00
Jan Böhmer
958d59a0ff Save search setting checkboxes state to localStorage to persist it
Related to issue #424
2023-11-19 21:49:16 +01:00
Jan Böhmer
5bd2d9b344 Restrict size of part images, if the part selector element is very wide
This improves UX
2023-11-13 23:05:25 +01:00
Jan Böhmer
c402ec40a5 Fixed initial rendering of default currency item in freshly initialized currency selectors 2023-10-08 01:04:04 +02:00
Jan Böhmer
198befe2bc Allow to dynamically create elements with purely numeric names in a selector type
Before this was not possible, as this was messed up with the DB ids. Now we prefix the new created values with a special prefix, to mark them as new.

This fixes issue #381
2023-09-24 15:28:35 +02:00
Jan Böhmer
80bae4167f Added button to inverse part selection in tables
Fix issue #346
2023-08-21 22:49:02 +02:00
Jan Böhmer
e66ff40733 Use the column order stored in localStorage during the initial datatables ajax call.
This way we still have the right ordering when changing pages. This fixes issue #345
2023-08-20 00:41:44 +02:00
Jan Böhmer
0cb46039dd Allow to retrieve price and shopping informations from info providers 2023-07-14 00:09:22 +02:00
Jan Böhmer
c4439cc9db Mark newly created entities better in structural entity selector 2023-07-12 23:58:40 +02:00
Jan Böhmer
2362835275 Merge branch 'user_impersonator' 2023-07-08 23:07:12 +02:00
Jan Böhmer
cc1595e048 Added button to user admin to impersonate a certain user 2023-07-08 22:43:41 +02:00
Jan Böhmer
b6dd5bb881 Fixed ordering columns of tables when columns were reordered 2023-07-08 20:16:52 +02:00
Jan Böhmer
f8e299ec56 Added new env option to show all parts on a page by default
Related to discussion #312
2023-07-08 19:33:23 +02:00
Jan Böhmer
7b87b00b44 Properly reset the page length when reloading a datatable
Fixes issue #309
2023-07-02 19:44:26 +02:00
Jan Böhmer
720859197c Removed unused controller, which was used for U2F registration before 2023-06-28 16:10:18 +02:00
Jan Böhmer
ce064a0b37 Use symfony/ux-translator to translate password_strength_estimator badges 2023-06-28 16:00:11 +02:00
Jan Böhmer
bfd82fb415 Use zxcvbn-core for password strength estimator and lazy load the controller
As we can now configure the used wordbooks, we can reduce the size of the file extremly
2023-06-28 14:44:29 +02:00
Jan Böhmer
ecded8af93 Added password meter based on zxcvbn
Maybe we will use a different package later, as this one is very big...
2023-06-27 01:07:26 +02:00
Jan Böhmer
6081fe3295 Fixed darkmode for some elements 2023-06-20 01:01:40 +02:00
Jan Böhmer
e68827bf3b Show a validation error message, when try to submit a form where a input is still set to a disabled value.
Normally this would just send a null to the server, which often cause excptions. We now catch that earlier, and say the user that he have to select another option, when he tries to submit
2023-06-06 23:05:44 +02:00
Jan Böhmer
272684e7eb Visualize generic object/JSON data of element history data as pretty tree structure on log detail page 2023-05-15 23:55:36 +02:00