Wykres commitów

1691 Commity (449a48d7f9816fa17eda2ca258de41ed13df8e39)

Autor SHA1 Wiadomość Data
Alex Morega d0647f3288
Add a deactivate() method to ProgressController 2024-06-28 11:59:43 +01:00
Albina 03f26187b6
Add alt text validation rule in the accessibility checker (#11986)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-06-27 09:33:46 +01:00
Albina c632832edf
Language label redesign - admin listings (#12010)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-06-26 11:18:59 +01:00
dependabot[bot] 54e108744b Bump braces from 3.0.2 to 3.0.3 in /client/tests/integration
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-21 00:10:16 +01:00
dependabot[bot] 4c450e2251 Bump ws from 7.5.7 to 7.5.10 in /client/tests/integration
Bumps [ws](https://github.com/websockets/ws) from 7.5.7 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.7...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-20 23:52:48 +01:00
Kyle Bayliss ae3d315364 Add fullstops to error messages (like Django) and remove unnecessary span elements. 2024-06-18 16:23:48 +01:00
Kyle Bayliss 4d1de045e4 Join error messages with a space, similar to how Django does things. 2024-06-18 16:23:12 +01:00
Albina 4e2afc966b
Content checks results redesign (#12019) 2024-06-17 16:25:36 +01:00
Inju Michorius ac38343957
Remove opacity property from unpublished page titles (#12043) 2024-06-13 15:24:46 +02:00
Matt Westcott 30fa20c1ac
Update RadioSelect adapter to handle CheckboxMultipleSelect widgets
This matches the inheritance pattern used on the Django side: 99f23eaabd/django/forms/widgets.py (L868)
2024-05-29 19:26:57 +01:00
Matt Westcott 53b7738df0
Update BoundSelect to support multiple select widgets 2024-05-29 19:26:57 +01:00
Matt Westcott aafb3a04cb
Fix getting/setting state on BoundRadioSelect
The state as returned from `ChoiceBlock.get_form_state` is an array of values, so getState / setState needs to work with that.

Fixes #11990
2024-05-29 19:26:56 +01:00
Matt Westcott 0ae74677b2 Refactor BoundWidget to accept an iterable of elements 2024-05-21 10:21:39 +01:00
Sage Abdullah 0cc274f36a Allow multiple top-level nodes when rendering StreamField blocks
But keep passing just the first element to the BoundWidget class
2024-05-21 10:21:38 +01:00
sag​e 8ddf472e93
Partially revert listing styles changes to fix layout issues (#11936) 2024-05-17 11:44:28 +01:00
elhussein almasri 8aec935f69 save-white-space-in-comment-reply (#11908) 2024-05-03 15:42:13 +01:00
Sage Abdullah 08ee15a358 Remove --inline-actions variant of listing tables
This was added in f322e9d868, when the
snippets listing view was briefly redesigned to put the "Edit", "Delete"
etc. actions in the same line as the title instead of in a new line.

With the universal listings design, all listing actions are put inside a
three-dot dropdown menu.

This style is no longer used anywhere in Wagtail, especially now that
the HistoryView has been reimplemented using the dropdown menu for the
actions.
2024-04-30 16:13:33 +01:00
Sage Abdullah b8dd7f484f Fix icon alignment in page listings 2024-04-30 16:13:33 +01:00
LB Johnston bd40b34fb9 Add missing examples for KeyboardController
Based on PR #11853
2024-04-19 17:09:50 +10:00
LB Johnston 2d075177c4 Fix issue where allow unicode slugs was not correctly used for urlify (#11865)
When the urlify util is used, ensure that we pass in the allow unicode value correctly in the SlugController.

Note: This was passed in for slugify but the usage of slugify, not urlify.

Fixes #11828
2024-04-18 13:59:36 +01:00
Thibaud Colas d04746bf9e Adjust admin UI components based on desired interface density 2024-04-18 13:04:25 +01:00
Thibaud Colas ddb907d274 Add new global CSS variable --w-density-factor 2024-04-18 13:04:25 +01:00
Thibaud Colas bd6f314b87 Refactor CSS selectors in title panel override for readability 2024-04-18 13:04:25 +01:00
sag​e c1a23b4bd3
Tweak styles for w-header-button to better match the designs (#11863) 2024-04-18 12:29:01 +01:00
Neeraj P Yetheendran 4bf966537a Added ability to make keyboard shortcut Global
Add `w-kbd-scope-value` with support for `global` so that specific keyboard shortcuts (e.g. ctrl+s/cmd+s) can be used consistently even when focused on fields.

Fixes #11844
2024-04-17 21:00:58 +10:00
LB Johnston e6504951c8 Add deprecated backwards compatible window.URLify with release notes
- Add legacy support for window.URLify with allowUnicode as a param
- Add release notes details for both window.URLify (deprecated) & window.XRegExp (removed)
2024-04-17 19:58:08 +10:00
LB Johnston be5b69078a Move urlify (Django port) & remove xregexp vendor library
- Move vendor/urlify.js into our own codebase as a port of the Djago util
- Remove the need for xregexp polyfill library
2024-04-17 19:58:08 +10:00
LB Johnston f0cf73f0d3 Standardize on `allowUnicode` for slugify util option
- This is the name used in the urlify util
2024-04-17 19:58:08 +10:00
Matt Westcott bb3e58abd0
Split out a reusable runInlineScripts utility function and handle attributes correctly 2024-04-17 14:49:12 +07:00
Matt Westcott 57d407d0eb
Use template literals for names in selectors 2024-04-17 14:49:11 +07:00
Matt Westcott 9b74c83195
Eliminate jQuery from telepath widget classes 2024-04-17 14:49:11 +07:00
Sage Abdullah bb12877f79
Use tables component in users index view
This also allows us to reuse the "..." more button for each listing item
instead of the inline buttons.
2024-04-09 08:54:48 +07:00
Neeraj P Yetheendran 568611fe35 Remove non-Stimulus usage of Mousetrap
- No longer need page-editor.js (move the window. global to core.js instead)
2024-04-07 21:05:28 +10:00
Neeraj P Yetheendran 63f7e336db Create new Stimulus KeyboardController (w-kbd) 2024-04-07 21:05:28 +10:00
divdeploy 91cd6cffc2 chore: fix some comments
Signed-off-by: divdeploy <chenguangxue@outlook.com>
2024-04-07 15:59:37 +10:00
Sage Abdullah 0006976267 Implement universal listings UI for form submissions listing view 2024-04-05 17:36:41 +01:00
Karthik Ayangar 452d9aaa42 Remove initBlockWidget global window function 2024-04-04 08:28:17 +10:00
Karthik Ayangar d2405eefe8 Add Stimulus BlockController 2024-04-04 08:28:17 +10:00
Sage Abdullah c8686cc7e9
Apply suggestions from code review 2024-04-02 16:40:27 +07:00
LB Johnston e71e947046
Add base styling for footer actions to support simple customisations
- Fixes #11629
- Relates to clean up done as part of #11629 which removed a lot of styling for footer actions which appeared to be unused.
- Re-add some base styling to support the ability for basic customisations where buttons are added within the `extra_footer_actions` block.
2024-04-02 12:29:24 +07:00
osafalisayed cd93a9c98d Updated dynamic sidebar Wagtail logo
- Relates to #10404
- See original PR #10659
2024-03-23 19:48:31 +10:00
LB Johnston 5fd8ebf171 SwapController - Ensure untrusted data sources are logged correctly
Avoids the rare case of `requestUrl` being used to log out an object
Fixes #11212
2024-03-23 18:17:53 +10:00
LB Johnston da212ce53e Add support for groups within BulkController toggles
- Allows one controlled w-bulk element to contain groups of toggles that work together
- Useful for tables where the DOM structure means that columns will need to be toggled / selected as one
- Basic support for 'multi' groups to avoid issues with space separated items
2024-03-23 14:21:19 +10:00
LB Johnston 0f44abeef2 Minimap - Ensure that we correctly handle not found matched elements
- Currently the code appears to try to fallback to an empty id, however this will never happen as we are building a non-empty string
- Instead if we have not found any closest panel, simply return the intersection map as is
Closes #11210
2024-03-22 17:35:19 +10:00
LB Johnston 9084c196fa Fix minor typo in CountController JSDoc 2024-03-17 21:52:33 +10:00
Karthik Ayangar bb5b253ef1 Add basic keyboard shortcuts dialog
Include the ability to trigger the dialog from the sidebar
Include base styling and unit tests
Fixes ##11711
Relates to larger work for keyboard shortcuts in #3949
2024-03-16 16:59:26 +10:00
Chiemezuo aebdf82387 Ensure that dropdown content will be scrollable if content is too high
Fixes #11108
2024-03-14 07:28:27 +10:00
Sage Abdullah 88fad9a071
Show full label for non-page listings HeaderButton
In the new designs, listings other than the page listings should show
the complete label for the main header button.

The page listing only shows the icon because much of the space is taken
by the side panel toggles.

The page listing's header button hasn't been refactored to use the
HeaderButton class, hence there is no changes to the page listings code
in this commit.
2024-03-11 09:55:41 +00:00
Sage Abdullah 420723c174
Move 'sort by' select element in images listing to the slim header
This uses a custom header template that extends the slim_header.html

We could do this without the custom header template, but this would mean
the slim_header.html will accept yet another variable (extra_form_fields),
which we are trying to avoid to prevent it from accepting so many variables
like header.html.

This is especially since this "extra fields" block is only needed for the
images listing (at least for the foreseeable future).
2024-03-11 09:55:41 +00:00
Sage Abdullah 2003e14a95 Allow TeleportController to have any number of child nodes of any kind 2024-03-09 20:15:03 +10:00