507 Commits

Author SHA1 Message Date
Ayumi
8ceccb07a4
Add an unique identifier to all the filter container popup boxes (#4846)
Fixes #4845.
2020-03-31 01:07:07 -06:00
Larry Barker
09b7e1b2fd
Add adaptive size options (#4992)
Popups can be "adaptive" meaning they fill the width and/or height of the screen. This PR adds this information to the docs to make it better known.
2020-03-19 09:55:18 -06:00
Luke Towers
7048e2c567 Improve escaping of option values provided to the dropdown field type. 2020-02-16 23:49:01 -06:00
Samuell
a593ceffda
Use middle mouse click to open list row in new window (#4917) 2020-01-29 13:31:19 -06:00
Aurélien Roy
5e7ae1bb72 Add disabled state for unchecked checkbox (#4916) 2020-01-28 11:02:20 -06:00
Ayumi
a647b48715 Set a consistent focus ring style on all browsers (#4895)
Fixes #4892. Related: #4819
2020-01-21 12:09:04 -06:00
Flynsarmy
0bbc12af45 Remove excess spaces from tab title hovers (#4876) 2020-01-14 19:58:54 +08:00
Samuel Georges
d46accfc4f Don't force highlight nothing element
Causes "Uncaught TypeError: Cannot read property 'element' of undefined at DecoratedClass.SelectOnClose._handleSelectOnClose"

Refs #4867
2020-01-07 07:04:25 +11:00
Samuel Georges
8ce9525b44 Take 2
Refs #4867
2020-01-06 22:12:14 +11:00
Samuel Georges
ec0918e284 Fixes removal of first item from taglist
Tested #4867 but it broke the use of pressing TAB after entering a tag to lock it in. This seems to retain that functionality and yet still fix the issue

Replaces #4867
2020-01-06 21:19:12 +11:00
Samuel Georges
4a1295162c List support for tr.nolink class
The `nolink` CSS class can now be applied to table rows elements (TR) in addition to table data elements (TD) to disable the click event
2020-01-06 19:44:06 +11:00
Samuel Georges
06da92e06d Fixes multi click issue
When the popup is hidden during its loading sequence, the invisible buttons are still clickable and prone to misclicks

Fixes #4729
2020-01-06 18:56:28 +11:00
Ayumi
0436165a90 Improve UX for checkboxlists on mobile (#4841)
Credit to @ayumi-cloud.
2019-12-22 13:39:22 -06:00
Samuel Georges
21f8c5f272 Fixes styling issue when quick select is forced
Replaces #4827
2019-12-21 13:46:06 +11:00
Samuel Georges
ee4078ac44 Tweak chart markup to not depend on an external class
This fixes the rendering of the example markup. The line chart has no styles but just needs to know the display height
2019-12-04 08:25:44 +11:00
Ben Thomson
1283121069
Trigger "change" event when time picker is changed
This allows dependent fields (ie. dependsOn) to trigger correctly when a time field, or the time part of a datetime field, is changed.

Fixes #4268
2019-11-30 00:09:49 +08:00
Ben Thomson
9b72c2d181
Number range filter improvements (#4789)
- Allow minimum or maximum to be unspecified, meaning you want everything up to maximum, or everything above minimum.
- Allow for zero values to work
- Tweak display of infinite values

Fixes #3982.
2019-11-28 22:23:28 +08:00
Samuel Georges
566f138eab Fixes touch events in sortable plugin
Refs #4791
Refs #4777
Refs #3755
2019-11-28 21:03:32 +11:00
Samuel Georges
18398a8318 Add touch events back to modernizer 2019-11-25 16:59:20 +11:00
Luke Towers
106756d656 Fixed conflict between JS input trigger plugin & JS filter plugin.
Related: https://github.com/octobercms/october/issues/3202#issuecomment-556042766
2019-11-22 18:39:25 -06:00
Jim Cottrell
b5ed0b313a Restore support for Select2 data format in custom select control (#4712)
Credit to @jimcottrell. Refs: #4413
2019-11-19 15:13:08 +08:00
Luke Towers
19ce51ba4a Implemented client side refresh of dependent options & server side checking of valid filter values before applying them to the query 2019-11-13 13:55:06 -06:00
Luke Towers
70107c6376 Initial WIP on implementing dependsOn support for filter scopes.
Still need to resolve an issue where if the slave filter has values set when the master filter updates, thus triggering a change of the available options to the slave, the original values are still set on the slave but not actually visible in the popup as options because they're no longer valid options. To fix this we'll need the ability to get the browser to refresh the slave filter's selected values (count icon basically since it already forces the options popup to refresh) when its masters update; while at the same rechecking the slave's scope values set on the server to ensure that they're all valid and there aren't values left over from the previous request that are no longer valid but are still being applied to the query.
2019-11-12 17:02:25 -06:00
Luke Towers
c9df45a87d Fixed typo 2019-11-06 16:55:16 -06:00
Ben Thomson
df65861aff Add clear classes for fields (#4706)
Credit to @bennothommo. Added `clear-full`, `clear-left`, and `clear-right` CSS classes that can be used to apply clearfixes to form fields by adding them to the field's `cssClass` property
2019-10-20 15:47:37 -06:00
Luke Towers
ad35d83323 Fix styling for switch fields that are required 2019-10-06 12:24:32 -06:00
Luke Towers
3b74a8f248 Add support for inline-options to radio field 2019-10-06 08:15:36 -06:00
Tobias Kündig
4f34ac5f4a Prevent flash of unstyled tabs on page load (#4666)
Credit to @tobias-kuendig.
2019-10-06 14:42:40 +08:00
Ayumi Hamasaki
c627e8a0dd Update mustache.js to 2.3.2 (#4644)
Credit to @ayumihamasaki2019
2019-09-27 13:04:46 -06:00
Samuel Georges
f1eab843f8 Apply hand grab icon to "scroll before" cases - Refs #4629 2019-09-21 13:45:38 +10:00
ayumihamasaki2019
c4cdd4d44d Show table scrolling a bit clearer - ux fix (#4629)
* Show scrolling a bit cleaer - ux fix
2019-09-21 13:42:20 +10:00
Samuel Georges
8d511e0ce5 Fixes broken hotkey implementation - Refs #4489 2019-09-21 13:16:45 +10:00
Samuel Georges
6daea258b9 Tidy up checkbox list - refs #4599
Also had to revert the 100vw improvement on tabs because it causes unnecessary scroll/drag activation. Also reverted change in form.base.less that had no reasoning.
2019-09-21 12:36:31 +10:00
Samuel Georges
202d1f6b04
Update the checkbox list widget (#4599) 2019-09-21 11:57:53 +10:00
Samuel Georges
db20bb3359
Fix the Primary tabs overflow error (#4587)
* Fix the overflow on the primary tabs
2019-09-21 10:39:46 +10:00
Samuel Georges
99db7132e6
Add a working checkbox list doc code example to october website (#4600) 2019-09-21 10:07:01 +10:00
Dan Harrin
7b8fecaa51 Replace use of parseJSON with JSON.parse (#4517)
Credit to @DanHarrin
2019-09-14 06:25:18 -06:00
Samuel Georges
2962f75221 Include the JSON parser natively in framework.js
We've also included it as a separate framework.parser.js file in case its needed by some external lib, such as Storm UI
2019-09-14 17:56:18 +10:00
Samuel Georges
68f0cd640d Recompile assets 2019-09-14 17:41:13 +10:00
Samuel Georges
2e6347718a
Update jQuery mousewheel from v3.1.9 to v 3.2.0 (#4574)
* Update jQuery mousewheel
2019-09-14 17:38:52 +10:00
Samuel Georges
ebcb7ee6fd
Add a small JSON Parser to October framework lib (#4527)
* Add a small JSON Parser to October framework lib
2019-09-14 17:29:31 +10:00
Samuel Georges
35a6fb99b8 Add keyboard support to list items 2019-09-14 16:33:21 +10:00
Samuel Georges
8471c73054 Fixes keyboard support on checkboxes
The keydown/keyup/input events were not working correctly. Also the $cb selector was not specific enough and was picking up on the hidden input used to define the default state.
2019-09-14 16:11:16 +10:00
Ben Thomson
5f0da7e6f6
Revert c5d0a467 (#3834)
Reported issues with tables with constrained widths breaking content too much.

Refs: https://github.com/octobercms/october/issues/4618
2019-09-12 22:34:54 +08:00
Samuel Georges
52e2a838eb Fixes typo, recompile assets 2019-09-11 21:42:02 +10:00
Samuel Georges
3291e07191
Update Deprecated code in October into (event.key) (#4489)
Update Deprecated code in October into (event.key)
2019-09-11 21:35:18 +10:00
Samuel Georges
72123943de
Merge pull request #4352 from ghost/modernizr3.7.1
Update Modernizr V3.6.0 to V3.7.1
2019-09-11 21:30:39 +10:00
Samuel Georges
96537033c8 Recompile assets 2019-09-11 20:02:43 +10:00
Ayumi Hamasaki
6942e38615 Remove the IE5 - IE7 Holly Hack support (#4594)
Credit to @ayumihamsaki
2019-09-04 09:32:29 -06:00
Ben Thomson
199407f1a0
Revert #4401 for build 458.
Reverts commit 22847e7892a2054da91bd85ec183ba6e7bc52094. Will be redeployed in build 459.
2019-08-09 16:07:32 +08:00