Hadi Nategh
e75621fb39
Set default placement for tabs in mobile template
2022-08-23 13:49:20 +02:00
Hadi Nategh
bf6f50f14e
Adopt buttons used in mobile template to new buttonIcon widget
2022-08-23 13:14:34 +02:00
ralf
3552fa13e7
only convert buttons without label to et2-button-icon
2022-08-23 12:48:48 +02:00
Hadi Nategh
151fc00641
Adopt toolbar widget to use buttonIcon
2022-08-23 12:44:50 +02:00
Hadi Nategh
83dc0a95f8
Don't let button-icons grow/shrink
2022-08-23 12:42:10 +02:00
ralf
94cec559d6
need to leave the NM header check for et2-button-icon conversation, to not convert [+ Add] in NM header
2022-08-23 11:18:21 +02:00
ralf
e08824b45b
drop manual styling of placeholder icon and no longer used multiple account switch
2022-08-23 11:14:07 +02:00
ralf
ef599cb219
drop all size attributes (except SL size: small, large, medium), as it messes up too much
...
you can always set a width manually, if you don't want flex to share the width equally between input fields
Also removed automatic conversation of image to name attribute for new et2-button-icon, so our image setter can switch between our own icons and the SL icon library
2022-08-23 11:12:10 +02:00
nathan
a73fa72764
Calendar: Fix incorrect week view header
2022-08-22 16:03:40 -06:00
nathan
c82d727b33
Setting a fixed width stops nm search from resizing with clear button
2022-08-22 15:36:03 -06:00
nathan
1b32b124c4
Calendar: Changing date using buttons in toolbar did not update sidemenu calendar to match
2022-08-22 15:04:14 -06:00
nathan
018dd11bd2
Icon improvements:
...
- Put the default resolver back, otherwise default icons can't be found
2022-08-22 14:58:55 -06:00
ralf
7876fbf710
convert buttons without background_image attribute to et2-button-icon with name="<image-spec>" library="egw"
2022-08-22 22:41:34 +02:00
ralf
95f68a4b3d
convert buttons without background_image attribute to et2-button-icon with name attribute instead of image
2022-08-22 22:31:24 +02:00
nathan
0775fd1a4e
Icon improvements:
...
- If Et2ButtonIcon image does not resolve to a egw image, treat it as a Shoelace icon name
- Add egw images as an icon library for Shoelace
eg: <sl-icon library="egw" name="5_day_view"/>
2022-08-22 14:06:23 -06:00
ralf
ffb8354728
move label stuff to Et2Button as Et2ButtonIcon does not need it
2022-08-22 22:00:18 +02:00
nathan
1d5467faab
Et2ButtonIcon: Fix icons didn't show
...
Must use SVGs here
2022-08-22 13:45:06 -06:00
ralf
263f2c867f
re-add lost label getter and setter to fix not shown labels in buttons
2022-08-22 20:24:40 +02:00
ralf
b2d9e30b8d
fixing widget set readonly="true" in template and $readolys[$id] = false is still readonly
...
we need to unset readonly attribute, after setting it and before calling transformAttributes, which would set it again
2022-08-22 18:37:11 +02:00
nathan
f0dcc1685d
Move our button code into a mixin and extend sl-button to our current et2-button and sl-icon-button to a new et2-button-icon.
2022-08-22 08:44:54 -06:00
Hadi Nategh
68f50ee89b
WIP Mobile template: get nm header fields sorted and get the searchbox to have the rest of available space
2022-08-22 16:41:33 +02:00
Hadi Nategh
082d6aa791
WIP Mobile template: Fix some of apps add buttons
2022-08-22 16:19:23 +02:00
ralf
406da0dcec
propagate label to et2-button to show it (use label="" to show just the icon)
2022-08-22 14:59:06 +02:00
ralf
6c3df5ad8b
fix not translated quick add
...
caused by _callback not waiting for promise
2022-08-22 14:24:35 +02:00
Hadi Nategh
d3d0216a39
WIP Mobile template: Make all widgets large on mobile template
2022-08-22 13:59:17 +02:00
ralf
9bc90488f7
fix not working readonly attribute (caused by space between equal sign and quote)
2022-08-22 13:53:24 +02:00
Hadi Nategh
54cd616b2c
WIP Mobile view: get the nm search boxes the right size
2022-08-22 13:33:55 +02:00
Hadi Nategh
bcf9d6b937
Do not drop the size attribute if we are setting new shoelace size format
2022-08-22 13:29:17 +02:00
ralf
55d540defd
fix not working folder search while editing Sieve rules
...
caused by new et2-select(-*) widget sending query and options as first 2 parameters
2022-08-22 12:05:51 +02:00
Hadi Nategh
d44abbd98a
Fix mail rows with flagged are misaligned
2022-08-22 11:47:31 +02:00
nathan
3c6a8c559f
Give nm columnselection more width & height
2022-08-19 14:51:32 -06:00
nathan
49e9dc660d
Kanban: Adjust styles to better match 21.1
...
- Changed AvatarGroup to use circle avatars
- Et2Avatar default for shape was overriding what was in attribute
- Fix doubled card contents
- Remove some unneeded classes
2022-08-19 14:33:59 -06:00
nathan
6e30a68121
Get automatic search when more than 20 select_options working for all cases
...
StaticOptions, change after init previously didn't work
2022-08-19 11:07:16 -06:00
ralf
da2db8ccc0
fix not working contacts in calls list
...
caused by first set empty value overwriting/removing the this.app, which is no longer available when the real value/id is set
2022-08-19 09:55:08 +02:00
nathan
bfa2477f5b
Fix description label did not handle %s
...
This is the "preferred" way of handling such things with LitElement (in render), over the way Et2Widget has to change the DOM due to extended widgets.
2022-08-18 16:22:39 -06:00
nathan
3038ebcefd
Calendar: Fix inserting event into document using context menu
2022-08-18 15:41:05 -06:00
nathan
4318d1c0a5
Put nextmatch column selection into a dialog
2022-08-18 14:47:58 -06:00
Hadi Nategh
c91e5cf218
Remove borders from mail compose header
2022-08-18 11:18:12 +02:00
Hadi Nategh
c052b2e9af
Fix toolbar actions have no tooltip set
2022-08-18 11:10:39 +02:00
Hadi Nategh
61013d28cf
Get avatar menu in the framework looking like the rest
2022-08-18 10:54:18 +02:00
nathan
24d9d3ef53
Fix search letter cannot be disabled
2022-08-17 16:26:22 -06:00
nathan
dce4ac78fc
- Fix some missing column labels in column selection
...
- Fix column sorting didn't work
2022-08-17 15:48:29 -06:00
nathan
40bbc53af8
Fix Uncaught TypeError: Cannot read properties of null (reading 'app_obj') when clicking a project title.
...
onclick for nextmatch rows was not getting re-parsed for each row, so it was trying with the original widget from the template instead of the one from the row.
Also accepting widget as argument into compiled legacy code and using it over original context so we don't need to re-compile for each row.
2022-08-17 13:23:55 -06:00
nathan
6caaba1bca
Et2AvatarGroup: Show names on hover
2022-08-17 08:53:24 -06:00
Hadi Nategh
3dd525d6d9
Fix misaligned toggled button in toolbar
2022-08-17 16:37:50 +02:00
Hadi Nategh
3844363bde
Get contextmenu and toolbar icons react on hover like shoelace does
2022-08-17 15:51:57 +02:00
Hadi Nategh
3f461d0074
Get contextmenu and toolbar menulist closer to shoelace menu styling
2022-08-17 15:32:53 +02:00
Hadi Nategh
98aac39047
WIP getting all legacy menus close to new webcomponent styling
2022-08-17 12:35:36 +02:00
nathan
8747bc2e0c
Allow et2-select-email to be focused as first input
2022-08-16 16:49:42 -06:00
nathan
d5d9dd6164
Select + search improvements
...
- Use et2-search widget with clearable for search
- Add focus(), which opens & focuses search
2022-08-16 16:46:20 -06:00