Storm B. Heg
6aa5b0aae0
Add Meghana Reddy to contributors
...
Forgot to do this in aa2b94db0b
2023-10-19 13:02:57 +02:00
Storm B. Heg
aa2b94db0b
Add changelog and release notes for #10961
...
Crediting @MeghanaNalla too for their previous work in #10759 .
2023-10-19 12:58:32 +02:00
Neeraj P Yetheendran
7239e11e0c
Avoid purging Revisions in use by third-party packages ( #10961 )
...
* Resolves #10678 Avoid purging Revisions in use by third-party packages
---------
Co-authored-by: MeghanaNalla <123588774+MeghanaNalla@users.noreply.github.com>
Co-authored-by: sage <laymonage@gmail.com>
Co-authored-by: Storm B. Heg <storm@stormbase.digital>
2023-10-19 12:52:29 +02:00
LB Johnston
8002e75775
Documentation - Add initial Stimulus docs
...
- Move extending React to new extending client-side page within advanced topics
- Add general extending JavaScript / client-side overview
- Prepare initial Stimulus usage documentation
- Resolves #10197
- Apply suggestions from code review - Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-10-19 07:28:27 +01:00
LB Johnston
1da3e5fde7
Refactor Stimulus util & module export
...
- Accessing constructor was confusing and createController is not a core requirement
- Avoid modifying the base Stimulus application class
- Expose `window.StimulusModule` as the module output
- Expose `window.wagtail.app` as the Wagtail Stimulus application instance
- Rename root element variable to `root` in initStimulus (so we do not conflict with potential action option registration that uses `element` variable names)
- Pull in the wagtail.components to the same core.js file and add JSDoc for exposed global
- Relates to #10197
2023-10-19 07:28:27 +01:00
Sage Abdullah
5c92c8cb8d
Release notes for #11082
2023-10-19 02:23:32 -04:00
Thibaud Colas
78b8b7c6c6
Switch breadcrumbs so only the last element is bold
2023-10-19 02:13:10 -04:00
Thibaud Colas
ad488a5a49
Use a smaller font size for page listing headers
2023-10-19 02:13:10 -04:00
Thibaud Colas
d1bbe44c3c
Make page listing breadcrumbs smaller
2023-10-19 02:13:10 -04:00
sage
56b14e8f97
Use dropdown buttons on listings in dashboard panels ( #11083 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-10-19 07:12:39 +01:00
Thibaud Colas
78a349bb24
Release notes for #10915
2023-10-19 06:39:35 +01:00
Sage Abdullah
85d74e42a4
Do not render minimap if there are no panel anchors
2023-10-19 06:39:35 +01:00
Sage Abdullah
7ad4263d82
Assert breadcrumbs not rendered on views that have them disabled
...
To be reverted once we reintroduce breadcrumbs to these views
2023-10-19 06:39:35 +01:00
Sage Abdullah
92c5be35e8
Disable breadcrumbs on views outside of custom ModelViewSets/SnippetViewSets
2023-10-19 06:39:35 +01:00
Thibaud Colas
67757ce29c
Add release notes for #11080 , #11081 in v5.1.3
2023-10-18 23:59:58 -04:00
Thibaud Colas
3376060ea6
Use the correct action log when creating a redirect
2023-10-18 23:43:54 -04:00
Chiemezuo
3df622f2ef
Migrate publishing schedule dialog field resets to Stimulus
...
- Remove ...admin/schedule-publishing.js
- Builds on #11043 & #11066
- Closes #11029
2023-10-19 08:00:15 +11:00
LB Johnston
868398131b
Fix issue with closing dialog in the userbar
...
- Remove `data-a11y-dialog-hide` and use Stimulus data action approach
- This ensures that our code is more agnostic to the third party library and can leverage our own DialogController behaviour
- Works around ally-dialog issue https://github.com/KittyGiraudel/a11y-dialog/issues/582
- Fixes #10924
2023-10-18 07:37:16 -04:00
Alex Tomkins
7131a85532
Use get_or_create for editor page subscriptions
...
Two processes loading the edit view of a page without a subscription could result in an integrity error.
See https://docs.djangoproject.com/en/4.2/ref/models/querysets/#get-or-create
Fixes #11016
2023-10-18 21:10:57 +11:00
Sage Abdullah
9bf7d88869
Add missing locale context value in page create and edit views
...
The value was removed in #10864 as we moved the locale code into the side panels,
but the view template still has references to the locale for the hidden input in create.html and for the ACTIVE_CONTENT_LOCALE
2023-10-18 20:41:47 +11:00
Chiemezuo
29d73a3b68
DialogController add support for notifyTargets
...
- Allowing the dispatching of events to internal targets for key modal events
- See ##11029
2023-10-18 18:52:04 +11:00
dependabot[bot]
75fb953754
Bump @babel/traverse from 7.17.3 to 7.23.2 in /client/tests/integration
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.17.3 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 08:50:47 +11:00
Matt Westcott
da90f83f94
Show parent page on search results further down the tree
2023-10-17 20:14:12 +01:00
Matt Westcott
f22bc0255e
Consistently use blocktranslate
2023-10-17 19:50:13 +01:00
Matt Westcott
96917f72a7
i18n for pagination controls
2023-10-17 19:06:24 +01:00
Matt Westcott
4426196046
Add switch between searching current section and whole site
2023-10-17 19:06:24 +01:00
Matt Westcott
53c6bf0690
Add pagination information to page title column header
2023-10-17 19:06:24 +01:00
Matt Westcott
d4eb1ec5a3
Move wrapper div for search bar into page_listing_header
...
This stops the padding from appearing on the edit/create views (where there is no search bar)
2023-10-17 18:41:27 +01:00
Matt Westcott
a7943bf83a
Support ordering on search results
2023-10-17 18:41:27 +01:00
Matt Westcott
de59c75d10
Implement search on explorer view
2023-10-17 18:41:27 +01:00
Thibaud Colas
f5af3d5d82
With spacing
2023-10-17 18:41:27 +01:00
Thibaud Colas
56a9cae791
Split slim header container styles and row styles
2023-10-17 18:41:27 +01:00
Matt Westcott
30c68652c7
Adding search bar to page listing header (not fully functional at this point)
2023-10-17 18:41:27 +01:00
Matt Westcott
58d6c137b4
Move 'add child page' to its own primary action
2023-10-17 17:28:08 +01:00
Matt Westcott
b35f902daf
Upgrade consideration note for button hook changes
2023-10-17 17:28:08 +01:00
Matt Westcott
531ea605b2
Update PageListingButton to accept a user argument instead of page_perms
2023-10-17 17:28:08 +01:00
Matt Westcott
8079cad7df
Add a view_name argument to register_page_header_buttons
2023-10-17 17:28:08 +01:00
Matt Westcott
3d8e6824a8
Change register_page_header_buttons hook to pass a user argument instead of page_perms
2023-10-17 17:28:08 +01:00
Matt Westcott
1cb180c11a
Change ButtonWithDropdownFromHook and its hooks (including register_page_listing_more_buttons) to accept a user argument instead of page_perms
2023-10-17 17:28:08 +01:00
Matt Westcott
d77e71b148
Eliminate use of fake PagePermissionTester objects in test_buttons_hooks
2023-10-17 17:28:08 +01:00
Matt Westcott
54647bda2c
Move construct_page_listing_buttons hook docs into the 'Page explorer' section
2023-10-17 17:28:08 +01:00
Matt Westcott
0ae8d5fc8c
Change construct_page_listing_buttons hook to pass a user argument instead of page_perms
2023-10-17 17:28:06 +01:00
Matt Westcott
761ccfc215
Change register_page_listing_buttons hook to pass a user argument instead of page_perms
2023-10-17 17:26:39 +01:00
Thibaud Colas
a087a4a1d8
Add release notes for picture and srcset_image template tags
2023-10-17 11:50:07 -04:00
Thibaud Colas
4bfbbae405
Add picture tag implementation and tests
2023-10-17 16:09:06 +01:00
Paarth Agarwal
41dac89e1d
Add srcset_image tag for responsive images
2023-10-17 16:09:06 +01:00
Matt Westcott
234e144f50
Also credit Hazh. M. Adam for original work on #7567
2023-10-17 16:01:34 +01:00
Matt Westcott
f233c3d0ef
Release note for #11044
2023-10-17 15:59:27 +01:00
rohitsrma
95877836dd
Update restriction message when switched to public
2023-10-17 15:41:49 +01:00
Thibaud Colas
e2e0130662
Avoid using aria-label with different content from visible text for "Forgotten password" link
2023-10-17 21:36:38 +11:00