Commit Graph

3091 Commits

Author SHA1 Message Date
nathan
eb105dfad4 Fix Et2Tree dragging of tree items 2024-10-18 13:28:57 -06:00
nathan
0d401c2e6d Calendar: Use Et2SwitchIcon for weekend toggle for mobile 2024-10-17 15:23:24 -06:00
nathan
ce06aa5038 Let toolbar use Et2SwitchIcon if icons are provided, style / sizing improvements 2024-10-17 14:46:08 -06:00
nathan
65caab5c06 Et2LinkTo: Fix several bugs
- Linked entries had no thumbnail
- Linking to VFS before initial save lost links
- Missing icon in VFS clipboard paste
2024-10-16 16:31:07 -06:00
nathan
3f08f38913 Fix tree drag & drop hover kept items highlighted, marked as selected 2024-10-16 11:36:23 -06:00
nathan
74fa7e6912 Fix single vfs select link customfield did not show files, used wrong filename 2024-10-16 09:19:41 -06:00
nathan
14bc21de98 Fix new account does not update but stays at "loading" 2024-10-15 14:57:19 -06:00
nathan
e239f092e4 Et2SwitchIcon & Et2ButtonToggle fixes
- use font-size for sizing
- expose control as part for styling
- let server-side treat as checkbox
2024-10-15 10:42:32 -06:00
nathan
42c869c70f Fix link-string in nextmatch did not show values 2024-10-15 09:06:08 -06:00
ralf
f58e2a0ace * All apps: fix private custom-fields were shown independent of entry type-filter, if user was allowed to see the field 2024-10-14 17:07:11 +02:00
nathan
4fc96ee8b7 Add Et2ButtonToggle & Et2SwitchIcon widgets 2024-10-11 15:16:34 -06:00
nathan
3376ed3fc4 Et2TreeDropdown: Open option list on space 2024-10-10 10:35:50 -06:00
nathan
f654b4ee00 Mail: Fix issues adding email account
- Et2Tree.refreshItem() wrong return type
2024-10-09 09:43:39 -06:00
nathan
64ce874f62 Avoid breaking error if validation error is for a widget that can't be found 2024-10-09 09:38:48 -06:00
nathan
0b29d723a4 et2_widget_grid: Avoid exception if getDOMNode called as part of constructor 2024-10-09 09:37:29 -06:00
nathan
0add086707 Et2Tree: Add "unselectable" attribute to TreeItemData
unselectable=true is like disabled, in that the item cannot be selected, but if it has children it can still be expanded so children can be selected.
disabled=true cannot be expanded.

Also some restructuring due to method size
2024-10-08 15:13:23 -06:00
nathan
9f90aaf085 Et2TreeDropdown: Don't need to blur all the time 2024-10-08 08:21:24 -06:00
nathan
1c06e6864d More changes related to getting tree to handle actions on its leaves
- Fix action system selection vs tree
2024-10-07 13:31:28 -06:00
nathan
b7215be0f1 Limit links in infolog list 2024-10-04 09:42:44 -06:00
nathan
1379855543 Further fixes on tree actions
- Fix expand on hover
- Fix trouble with dragging over item children
2024-10-03 10:58:36 -06:00
nathan
557e5bd236 Further fixes on actions
- fixed some duplicate binding causing long delay on tree context menu & general weirdness
- remove some unneeded stuff
2024-10-02 15:31:52 -06:00
nathan
2c196d3419 Fix drag & drop onto tree items loaded via ajax did not hightlight on drag enter 2024-09-30 13:58:31 -06:00
nathan
686f56488c ET2Textbox: Fix textbox & searchbox did not update after value was changed programmatically 2024-09-27 09:44:53 -06:00
milan
b04d4b28b7 remove drag-drop hover effect on drop regarding #97141 2024-09-27 15:17:13 +02:00
nathan
e239125fc4 Fix et2-selectbox was not properly firing clear events 2024-09-26 14:14:08 -06:00
nathan
a594f77601 Et2Image: Fix a few more cases where class went wrong 2024-09-26 11:35:41 -06:00
milan
378ea11c6c fix click on new mail account does not display unseen badges --ticket #99041 2024-09-26 16:09:28 +02:00
ralf
f88fa76866 fix class on et2-image was lost 2024-09-26 15:21:31 +02:00
nathan
e15c8a24f1 Et2LinkList: Fix screwed up merge & contextmenu 2024-09-24 16:57:47 -06:00
nathan
41e7e29dab Missing Et2LinkList changes 2024-09-24 16:15:52 -06:00
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
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
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
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
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
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
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
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