Thibaud Colas
78eb3d5844
Always set Sass output to expanded so CSS process is identical in dev and prod builds ( #10347 )
2023-04-18 15:32:05 +01:00
LB Johnston
dd2a21bad1
Allow blocking redirect in Stimulus Action controller #10035
...
- If values were false/empty string, it would fall back to the event value
- Instead, ensure that the custom event details OR the param can be used to override this and stop redirection
2023-04-18 15:38:41 +10:00
Karl Hobley
7f297cd019
Update comment list positioning so that they slide in/out with the sidebar ( #8345 )
2023-04-18 00:58:14 +01:00
Aadi jindal
ed58c692ca
Allow Action controller to trigger a redirect
...
- Migrate site switcher to use Stimulus approach via w-action
- Closes #10035
2023-04-18 08:30:22 +10:00
Suyash Srivastava
39fa706ff2
Update ActionController with a click method
...
- Partial change towards #10167
2023-04-18 08:04:01 +10:00
Suyash Srivastava
e72e454ba5
Migrate autosize jQuery to stimulus controller w-autosize
...
- Closes #10170
2023-04-18 05:41:00 +10:00
Lovelyfin00
cc23aa6be7
Migrated initDismissibles to a Stimulus controller w-dismissible
...
- Closes #10166
2023-04-17 23:27:24 +10:00
LB Johnston
39dfa020fe
Rename initDismissible to DismissibleController
2023-04-17 23:27:24 +10:00
Albina
935d29e2f5
Accessibility checker outlines feature ( #10176 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-04-17 09:59:55 +01:00
Thibaud Colas
a13af28aac
Fix spacing of TableBlock fields
2023-04-17 09:28:16 +01:00
Thibaud Colas
aa7ce61cef
Revise alignment, position, size of StreamField/InlinePanel/RichTextField "Add" buttons
2023-04-17 09:28:16 +01:00
Thibaud Colas
9f47052150
Add target StreamField / InlinePanel nesting highlighting effect with :has
2023-04-17 09:28:16 +01:00
Thibaud Colas
f0a5a16bf6
Implement correct indentation of StreamField and InlinePanel with nesting
2023-04-17 09:28:16 +01:00
Thibaud Colas
859d59b765
Implement vertical alignment of field inputs and panels
2023-04-17 09:28:16 +01:00
Thibaud Colas
9f23b19b17
Rework type scale according to latest designs
2023-04-17 09:28:16 +01:00
Thibaud Colas
e0f9014c91
Add missing w-field__help class to other field markup implementations
2023-04-17 09:28:16 +01:00
Thibaud Colas
b307549e3c
Use an SVG icon for rich text horizontal line
2023-04-14 08:38:01 +01:00
Thibaud Colas
6866293d4e
Styling tweaks for new icons
2023-04-14 08:38:01 +01:00
Thibaud Colas
93732690a3
Update icon visuals to FontAwesome 6, with deprecation warnings for removed icons
2023-04-14 08:38:01 +01:00
Hanoon
70a6230a65
Migrate submit translation bulk toggle to Stimulus Controller (w-bulk)
...
- Closes #10247
- adding BulkController files and removing {% block extra_js %} from submit_translation.html
- add unit tests for new controller
- partial work on CSP compliance #7053
2023-04-13 22:28:17 +10:00
Thibaud Colas
5ffb48a015
Convert workflow and page listing icons to SVG
2023-04-12 11:51:00 +01:00
Thibaud Colas
b3ecfabf64
Earmark icon font setup scheduled for deletion in Wagtail 6.0
2023-04-12 11:51:00 +01:00
LB Johnston
1532eedf20
Ensure datetimepicker widget overlay shows over modals
...
- Update to the exact same z-index as the modal
- Fixes #3604
2023-04-01 01:00:22 +01:00
Thibaud Colas
f82ff1e22c
Move help text above all form fields ( #10302 )
...
* Move all help text above fields
* Adjust vertical spacing of form fields and panels
* Move the page title’s help text below the field
* Release notes
2023-03-31 17:05:20 +01:00
Thibaud Colas
e1861978eb
Always display StreamField "Add" buttons
2023-03-30 00:14:03 +01:00
Thibaud Colas
6b32591c85
Always show StreamField and InlinePanel nesting guide lines
2023-03-30 00:14:03 +01:00
Thibaud Colas
9855382a62
Always show StreamField and InlinePanel block actions
2023-03-30 00:14:03 +01:00
Thibaud Colas
978d62122c
Convert form submissions listings to use the same ordering icons as other listings
2023-03-29 13:20:23 +01:00
Thibaud Colas
e8ead77b7a
Remove dead styles from legacy dropdown
2023-03-29 13:20:23 +01:00
Thibaud Colas
620f4ee11f
Convert add multiple thumbnail icon to SVG
2023-03-29 13:20:23 +01:00
Thibaud Colas
de0f876744
Convert "after" ordering icons to SVG
2023-03-29 13:20:23 +01:00
Thibaud Colas
531f71a924
Convert jQuery Datetimepicker to SVG icons
2023-03-29 13:20:23 +01:00
Thibaud Colas
6adc13abf2
Convert error messages to SVG icons
2023-03-29 13:20:23 +01:00
Thibaud Colas
c2dc689fc9
Convert privacy switch to SVG icons
2023-03-29 13:20:23 +01:00
Thibaud Colas
1d3d04972f
Remove unused help-inverse icon
2023-03-29 13:20:23 +01:00
Thibaud Colas
593e21ca4f
Remove unneeded icon-help definitions
2023-03-29 13:20:23 +01:00
mansi0829
433d70d3bf
Adopt w-status instead of status for classes
...
- Fixes #10244
2023-03-29 08:07:47 +10:00
LB Johnston
c7ad413e1f
userbar tests - fix small eslint warning
...
- variable length warning
2023-03-29 07:34:07 +10:00
Babitha Kumari
eef0b2701d
Avoid showing scrollbars in the block picker unless necessary. Fix #10253 ( #10268 )
2023-03-28 17:15:38 +01:00
Thibaud Colas
c89da173e0
Switch styleguide navigation to use panel components and minimap
2023-03-28 16:13:35 +01:00
Lovelyfin00
a81242ca86
Migrate initAutoPopulate to Stimulus
...
- Removed initAutoPopultae function from editor.js
- Added the compare and urlify methos to SlugController
- Wrote tests for SyncController, added more test cases to slugController
- Closes #10088
2023-03-27 21:55:56 +10:00
LB Johnston
d6d8b99f3e
BaseSequenceBlock - remove extra space in HTML
2023-03-25 22:13:47 +10:00
Thibaud Colas
ca83e5a34f
Re-label "StreamField blocks" option in block picker to "Blocks"
2023-03-24 15:46:51 +00:00
zerolab
d51ec00ce1
Fix TableBlock initialisation
...
- move Handsontable render after load & resize width after load
- stops firing a resize event
- adjusts targets to account for the changed markup
- fixes #9107
2023-03-21 07:02:00 +10:00
Sage Abdullah
adaaf973e6
Prevent checkbox and radio button from shrinking
2023-03-20 09:51:51 +00:00
Sage Abdullah
58555abfb0
Prevent select inputs from overflowing the parent container
2023-03-20 09:51:51 +00:00
AceHunterr
ff7494bf79
Replace ButtonSelect widgets with radio buttons
...
- Instead of a complex and non-accessible JS solution for filter selects, replace with simple radio select fields
- Fixes #9838
2023-03-11 17:21:00 +10:00
George Sakkis
38e39271ee
ChooserWidget: Trigger manually change event when input.value is set
...
- Ensure that the change events bubble as this is the default browser behaviour
- By default, changes to hidden values will not fire a `change` event, nor those that are a result of programatic changes to `value, so instead this needs to be added manually so that other code can listen to changes to chosen fields with DOM event listeners.
- https://stackoverflow.com/questions/6533087/jquery-detect-value-change-on-hidden-input-field/8965804#8965804
- Closes #10187
2023-03-11 15:57:33 +10:00
Albina
5e23eedcd8
Axe accessibility checker: sorting violations based on their place in DOM ( #10013 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-03-10 12:05:12 +00:00
Deepam Priyadarshi
de3a0b3495
Fixing duplicate addition of StreamField blocks with the new block picker. Fix #10057 ( #10149 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-03-10 09:52:17 +00:00