Commit Graph

35 Commits

Author SHA1 Message Date
milan
1d5457b477 changelog is visible again
-- not perfect, we now have two scrollbars, needs further fixing
2024-11-11 16:30:55 +01:00
nathan
b287d54149 Revert "Change template to webcomponent", not ready for pushing
This reverts commit e107b48c3a.
2024-11-07 17:24:31 -07:00
nathan
e107b48c3a Change template to webcomponent 2024-11-07 16:44:46 -07:00
milan
445df7dcad tab border now dynamically changes depending on scrollbar existence. Only works in Chrome, Opera and Edge
--regarding ticket #99621
2024-10-30 14:17:57 +01:00
ralf
6d34931784 fix error / tabData was not passed 2024-09-19 16:05:45 +02:00
ralf
29b1eaeeb4 fix error in mobile template/framework 2024-09-19 14:49:43 +02:00
milan
e5058b8715 center text label of tabbox tabs 2024-09-13 21:34:16 +02:00
nathan
17afd11990 Et2Tab: Add gap between tab contents 2024-08-23 08:38:33 -06:00
nathan
f518ed266b Et2Tabs: Fix tab content being incorrectly marked as readonly 2024-08-21 09:35:19 -06:00
nathan
4a18963650 Et2Tabs: Recognise hidden & disabled in the template 2024-08-16 14:40:25 -06:00
nathan
5314a091a0 Et2Tabs: Better handling of fallback tab sizing
Now considering tab may be bigger than parent
2024-08-14 13:05:10 -06:00
nathan
1e06b9cfc5 Et2Tabs: Better handling of child nodes 2024-08-13 15:45:43 -06:00
nathan
0f305e41a8 Et2Tabs now auto-size from first tab contents when tabHeight property is not set 2024-07-26 11:42:05 -06:00
nathan
041cb3b390 Restore missing click & double click events on tab 2024-07-15 09:08:37 -06:00
ralf
2e37f9bd34 WIP allow to place custom-fields in specified tabs and automatic tab generation
- no more need to add custom-field tabs to the template, if a et2-tabs is used
- new custom-field options for et2-tabs:
  + cfTypeFilter propagated to type_filter of customfields widget
  + cfPrivateTab use an extra tab for private cfs
  + cfPrepend where to add cf tabs, default before history tab or at the end, if no history tab
2024-03-25 16:03:48 +02:00
ralf
5352972e2a WIP allowing to speard custom fields optionally to dynamic generated tabs 2024-03-21 10:28:27 +02:00
ralf
7e9b2f3687 WIP allow to specify an optional tab-name for a cf, to create additional tab(s) and show the cfs in them
currently an extra namespace prevents storing and reading these cfs
2024-03-20 21:49:09 +02:00
Nathan Gray
e323cd1d79
Feature/shoelace 2.4 upgrade (#135)
Update shoelace to 2.9.0
2023-09-13 11:55:33 -06:00
nathan
886de143d4 Fix "Uncaught (in promise) TypeError: Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element'." 2023-04-03 11:57:57 -06:00
nathan
2446c3823f Et2TabsMobile: Fix double values when submitting.
Render was making multiple copies of the sub-template
2023-03-29 11:02:28 -06:00
nathan
e532ca176b Add Et2TabsMobile that has special rendering for tabs on mobile 2023-02-21 10:31:38 -07:00
nathan
68caabe1ae Fix hidden tabs did not make children readonly
Fixes required fields on hidden tabs still got validated
2023-02-14 10:09:58 -07:00
nathan
b8c3a97138 Et2Tabs: fix keyboard navigation 2022-12-22 14:51:48 -07:00
Hadi Nategh
e1a87caf6c WIP of better UI 2022-08-30 07:50:43 +02:00
Hadi Nategh
e75621fb39 Set default placement for tabs in mobile template 2022-08-23 13:49:20 +02:00
nathan
e67c3d6e61 Et2Tabs: Implement et2_IResizable 2022-08-05 11:01:26 -06:00
ralf
b22674dbd7 change tabbox to be an input widget allowing to get and set the active tab 2022-08-05 17:37:23 +02:00
nathan
098c2ab3f0 Fix some issues from the shoelace version bump
- SlSelect.getItemLabel() not there anymore
- SlSelect.menuItems is now a real list, and fails when parent tries to write to it
- Tabs didn't hide properly when not active, giving a scrollbar
2022-08-04 13:47:16 -06:00
nathan
111e337db1 Avoid error when getting tab height from parent 2022-08-04 09:19:04 -06:00
Hadi Nategh
47825f1be3 Override default color-indicator from shoelace 2022-08-04 16:31:14 +02:00
Hadi Nategh
de699325a6 Set a smaller font-size for tab's label 2022-08-04 16:19:30 +02:00
ralf
c3673b1126 ported timestamper to a web-component
also implemented legacy methods activateTab() and setActiveTab() for new tabs widget
2022-08-03 15:48:35 +02:00
nathan
9530f693e0 Set ID for tab contentDiv 2022-08-02 16:40:27 -06:00
nathan
d438b4e355 Use webcomponent for tabs
+ handle tabs set by variable better
2022-08-02 14:53:15 -06:00
nathan
db143f047a Change tabs to use Shoelace
Includes changes to historylog, since it did some deferred loading & sizing magic based on tab
2022-08-02 10:33:04 -06:00