Commit Graph

3731 Commits

Author SHA1 Message Date
nathan
58763707fd Et2LinkString & Et2LinkList performance enhancements
- Limit server fetch to a certain amount of links (default 20)
- Load more button for Et2LinkList, More... for Et2LinkString
- Defer server fetch during initial loading for faster initial load
- Use repeat() so LitElement can do node caching magic
2024-09-24 11:50:38 -06:00
ralf
3fbf2e99fd * All apps: limit number of loaded links to 20 and showing a load more button, if more are available 2024-09-24 11:32:17 +02:00
nathan
2fb7bbc760 Et2Searchbox: Fix clearing searchbox does not display the value as cleared 2024-09-23 08:41:09 -06:00
nathan
279952d6f6 Make sure Et2TreeDropdown always closes when a tree-item is clicked, even if tree value does not change 2024-09-20 09:19:34 -06:00
nathan
308f371b95 Make select & tree dropdown have same border radius 2024-09-19 16:25:28 -06:00
nathan
c45246eac2 Et2TreeDropdown: search input has "search" as placeholder when it has focus 2024-09-19 16:07:12 -06:00
milan
26673f87fb fix type error if widget does not have div or body 2024-09-19 17:36:27 +02:00
milan
160f0e9aa7 align toolbar icons in the center 2024-09-19 17:34:52 +02:00
ralf
6d34931784 fix error / tabData was not passed 2024-09-19 16:05:45 +02:00
ralf
6dbe75400e fix some sizing issues: width/height wont scale down an image using now max-width/height instead 2024-09-19 14:57:08 +02:00
ralf
5496ce92cb fix error of not defined egw_globalObjectManager 2024-09-19 14:55:50 +02:00
ralf
84eab2f898 align favorite icon * for mobile/desktop and different font-sizes 2024-09-19 14:55:07 +02:00
ralf
29b1eaeeb4 fix error in mobile template/framework 2024-09-19 14:49:43 +02:00
ralf
5b797f9cf4 set title on et2-image for both bootstrap-image via css-class and embedded img tag 2024-09-19 10:47:42 +02:00
nathan
62f876de12 Et2TreeDropdown: hide popup on escape 2024-09-18 14:05:58 -06:00
nathan
cfbcaf3bab Et2TreeDropdown: close search results & tree on tab 2024-09-18 11:32:12 -06:00
nathan
1294220e7e Et2TreeDropdown style fixes
- multiple display of placeholder
- vertical alignment of tags when there's only 1 row of them
2024-09-18 10:42:16 -06:00
nathan
a3c7237907 Et2TreeDropdown / Et2SelectCategory: Icons & category colors 2024-09-18 10:08:36 -06:00
nathan
2da2ac81fa Et2TreeDropdown improvements
- multiple=false rendering
- fix some display search vs tree weirdness
- fix some keyboard actions
- translate placeholder
- blur widget after option selected when multiple=false
- implement clearable attribute
2024-09-18 08:11:25 -06:00
nathan
2e0010d138 SearchResult: Use the method to toggle selection instead of setting it directly 2024-09-17 15:30:35 -06:00
nathan
a2724d329c Et2Select: Pass option tooltip to the tag 2024-09-17 15:26:47 -06:00
nathan
6e7a01dde9 Et2LinkList: Do not create context menu until needed 2024-09-17 08:50:05 -06:00
nathan
5efbf26267 Et2VfsSelectDialog: Only start search when first loaded if dialog is open
Previously it always started search, even if created closed.
2024-09-17 08:37:14 -06:00
ralf
eb14eef3df fix icon in et2-vfs-path and also get it to display "/" for the root 2024-09-17 10:49:03 +02:00
ralf
cc72c6ff60 allow to use et2-vfs-mime to display mime-icon by giving the string mime-type as value
(not exposable, as no download_url)
2024-09-16 15:47:37 +02:00
milan
e5058b8715 center text label of tabbox tabs 2024-09-13 21:34:16 +02:00
ralf
d1dc372e8d fix not shown/found custom images 2024-09-13 12:05:27 +02:00
milan
9d8224453e Et2DropdownButton make position adjustable by passing placement attribute on to sl-dropdown 2024-09-12 23:58:37 +02:00
nathan
2cfab31d19 Et2DateDuration: Fix disabled was not disabling inputs, reflect change event 2024-09-12 14:13:47 -06:00
nathan
b7160e6eaf Et2TreeDropdown: stop constantly listening for document clicks, only listen when open 2024-09-12 08:32:28 -06:00
ralf
ac389d8aab remove all existing images and adding a couple redesigned ones to match Bootstrap icons 2024-09-12 15:00:17 +02:00
milan
b770389011 fix styling of et2-tabbox textarea to not cut off its box shadow when selected 2024-09-12 14:34:21 +02:00
nathan
e36743c203 Et2DateRange: Fix unwanted wrapping, add From & to placeholders 2024-09-11 11:21:21 -06:00
nathan
66093ae038 Fix setting Et2DateDuration.value programmatically did not update UI 2024-09-11 10:59:59 -06:00
nathan
e156ea8f64 Et2Widget: Stub some egw object methods that widgets use to avoid errors when egw object is not loaded 2024-09-11 10:59:59 -06:00
nathan
0f99d2e794 smallpart still needs hbox 2024-09-10 08:49:14 -06:00
nathan
cc8f060cdd CSS changes to make Et2TreeDropdown multiple=false look more like regular selectbox 2024-09-10 08:49:14 -06:00
nathan
d26b620f8d Fix currentResult got set to invalid node if results were re-rendered 2024-09-10 08:49:14 -06:00
ralf
9f02f15221 remove unnecessary import breaking loading of EGroupware itself 2024-09-10 08:37:17 +02:00
nathan
c43681b57b Import bootstrap CSS for docs 2024-09-09 10:20:46 -06:00
nathan
26b1431c31 Et2TreeDropdown: Ellipsis on tags 2024-09-09 09:46:43 -06:00
nathan
e30fb0cbb8 Stop redeclaration warnings from some old widgets 2024-09-09 08:12:22 -06:00
nathan
b9b8a40bf4 Et2DateRange replaces old et2_date_range widget 2024-09-09 08:12:22 -06:00
ralf
da57a26c5a automatic close sidebox/-bar in mobile framework when tree or favorite is clicked 2024-09-09 10:29:30 +02:00
nathan
c59be309d6 Get emptyLabel property translated 2024-09-06 14:20:20 -06:00
nathan
df20d58abf Etemplate: Add a timeout to waiting for widgets to load so we can more easily know what happened & track it down. 2024-09-06 11:04:32 -06:00
milan
f4438ac59d fix bug in tree where lazy loading without a result would never stop 2024-09-06 16:49:49 +02:00
ralf
a99a595258 fix double statustext/tooltip 2024-09-06 13:05:37 +02:00
ralf
94d6b365ea fix some JS errors displayed in mail 2024-09-06 12:36:56 +02:00
nathan
dcece87c9c Et2TreeDropdown: Better sizing & styling to more closely match select & other widgets 2024-09-05 14:56:54 -06:00
ralf
51e7269d88 using bootstrap icons as stock icons for categories (former api/images) and allow to search arbitrary bootstrap icons when adding/editing categories
also fixed error editing categories in the root ('0' is not allowed validation message)
2024-09-05 18:00:18 +02:00
ralf
0a1ee38b40 fix close button top-right corner is outside of rounded dialog corner in fancy theme 2024-09-04 18:05:12 +02:00
nathan
3e121cc953 Fix numbers got wrecked on blur
Numbers with , as decimal separator were being re-parsed incorrectly on blur, ruining what the user just input
2024-09-03 15:22:53 -06:00
ralf
29e1f53366 need to flatten hierarchical categories (with children) for use in Et2SelectReadonly 2024-09-03 13:35:36 +02:00
nathan
5264e2e197 Fix disconnected et2-vfs-mime could stall template load 2024-08-30 11:06:04 -06:00
nathan
6a3a8654fc Add some extra info for debug during loading 2024-08-30 09:57:03 -06:00
nathan
b34fec2363 Et2TreeDropdown: Fix dropdown trigger got hidden if placeholder was larger than available space 2024-08-29 13:54:47 -06:00
nathan
b070a5992c Better sizing for groupbox / details 2024-08-29 11:19:14 -06:00
nathan
69c87ffb94 Darker panel border, applies to details & groupbox 2024-08-29 10:25:30 -06:00
ralf
1789b6be6f fix customfield with specified tab was also displayed in the default CF tab and therefore not storing its value 2024-08-29 16:16:00 +02:00
ralf
9e946d5c7c fixing horizontal miss-aligned icons in calendar toolbar and vertical miss-alignment in favorites 2024-08-29 08:19:58 +02:00
nathan
135eea076a Try to fix some icon alignment issues 2024-08-28 17:48:17 -06:00
nathan
f35945eac9 Try to fix some image size issues 2024-08-28 17:20:58 -06:00
nathan
57136fb272 Fix misplaced mime icons in vfs upload file list 2024-08-28 15:21:00 -06:00
nathan
13b5d1af6b Et2DateDuration: Fix border radius between numbers 2024-08-28 14:49:08 -06:00
nathan
57f8bc0a99 Get Details / Groupbox to take all allowed vertical space and scroll internally if contents are too large 2024-08-28 13:20:01 -06:00
milan
986e83750c bind overall tooltip only on the combobox and not on the whole popup.
The tree can now show its own tooltips without interference
2024-08-28 18:23:37 +02:00
nathan
aa17533ff0 Use theme variables 2024-08-28 09:29:57 -06:00
ralf
0eec0297e6 allow arbitrary subdirectories in image-name 2024-08-28 14:51:54 +02:00
nathan
0465465fb2 Et2Tree: Fix unneeded ellipsis in item label 2024-08-27 13:46:45 -06:00
ralf
d1726937f7 more work on fancy theme and mime-icons from bootstrap, thought PHP GD unfortunately does NOT support SVG, so we can not include a type-icon into thumbnails 2024-08-27 19:15:25 +02:00
ralf
039acf1569 fix left padding of image in buttons, specially for fancy theme 2024-08-27 14:25:49 +02:00
ralf
c49618be51 just using width: 100%, unless a height is eplizitly specified 2024-08-27 13:43:00 +02:00
ralf
3f80021c8e fix wired icon-sized in tree (by defaulting img in et2-image to width: 16px and not max-width: 100%) 2024-08-27 12:25:36 +02:00
ralf
e4b073dfa3 new save and save-new icons based on Bootstrap icons floppy composed with either x-square-filled or plus-circle-filled 2024-08-27 11:03:47 +02:00
nathan
e6593a101b Et2TreeDropdown: Make minimum height the same as other inputs
Fixes Et2Dropdown was a little too tall
2024-08-26 14:12:36 -06:00
nathan
0f5a1a2b5a Et2SelectCatagory: Fix missing category icons & colors 2024-08-26 11:37:59 -06:00
ralf
9495dd48b9 fix hacked printing to wait for dialog.hide() instead of using a timeout and also reduce waiting for the browser to render all rows from 10 to 3ms/row 2024-08-26 19:14:08 +02:00
ralf
8cd98ecd18 fix / hack print dialogs (Column-selection and Please wait...) to close before printing 2024-08-25 15:09:00 +02:00
ralf
62fbeda480 fix a couple of problems with new images: infinite recursion and order they are found (navbar) 2024-08-25 12:15:35 +02:00
ralf
3e0cce403e using now Birgit's substitution list for images before looking at the usual places 2024-08-25 11:48:19 +02:00
ralf
dacd2e0c94 display emptyLabel as placeholder, until non-multiple UI is more selectbox like 2024-08-25 11:02:12 +02:00
nathan
17afd11990 Et2Tab: Add gap between tab contents 2024-08-23 08:38:33 -06:00
milan
f683947836 changed tree-dropdown popup strategy to fixed to avoid auto resizing issues 2024-08-22 16:48:27 +02:00
ralf
38ae6e4408 fix some warnings 2024-08-22 14:35:36 +02:00
ralf
c18be4cf4d do not return folders, if leafOnly is set and some more docu 2024-08-22 14:18:54 +02:00
milan
3e577c738f changed Et2SelectCategory to be the Et2TreeDropdownCategory and and removed theold one 2024-08-22 14:18:29 +02:00
milan
0605f6c2f5 LeafOnly selection of et2-tree now possible
et2-tree-dropdown can now also be leafOnly used e.g. in timezone preferences
2024-08-22 12:54:38 +02:00
milan
4ba8866d9c Dropdown tree now has leafOnly property to pass on to et2-tree 2024-08-22 10:52:41 +02:00
ralf
42f8124242 use et2-tree-dropdown for TZ selection in general preferences 2024-08-22 10:52:16 +02:00
milan
8de6bd0c25 possibility to replace et2-select-cat with et2-tree-cat 2024-08-21 20:50:17 +02:00
milan
888f859097 cleanup tree and make Leaf Selection possible 2024-08-21 20:50:17 +02:00
nathan
f518ed266b Et2Tabs: Fix tab content being incorrectly marked as readonly 2024-08-21 09:35:19 -06:00
nathan
92946f5d40 Fix vfsUpload's mime icons wound up in the wrong place 2024-08-21 08:53:56 -06:00
milan
bca9931fba cat tree for selection of categories fix if value is not a string 2024-08-21 13:06:59 +02:00
nathan
3f789cfdce Fix Et2Number had lost its spinner buttons
Also fix some failed tests and adjust widget sizing
2024-08-20 16:09:22 -06:00
nathan
01d3eeac77 Fix some missing bootstrap icons 2024-08-19 14:40:47 -06:00
nathan
2208ba1b99 Et2ButtonIcon: Keep set image property so we can check it 2024-08-19 13:14:24 -06:00
nathan
4a18963650 Et2Tabs: Recognise hidden & disabled in the template 2024-08-16 14:40:25 -06:00
nathan
7465da8908 Et2DateDuration: Give some right padding to the number 2024-08-16 14:31:05 -06:00