Wykres commitów

1022 Commity (main)

Autor SHA1 Wiadomość Data
Baptiste Mispelon 32ad0f6be9 Improve linked documentation for Page.move() 2025-09-10 10:13:42 +02:00
Baptiste Mispelon a31a90a310 Fix code example for construct_wagtail_userbar hook (#13394) 2025-09-04 15:16:13 +01:00
Sage Abdullah d82172f0ab Add upgrade considerations 2025-09-04 12:13:10 +01:00
Sage Abdullah 2a15c990a6 Fix cross-reference links to the TypeDoc-generated docs 2025-08-08 11:54:33 +01:00
Thibaud Colas acd535be8d
Replace myst_url_schemes links with relative external links (#13301) 2025-08-04 15:44:03 +01:00
Matthew Westcott ec86d14bf5 Documentation for client-side panels API (#13300) 2025-08-04 14:31:08 +01:00
Sage Abdullah 0337b9be6d Add docs for Fragment 2025-08-04 13:47:58 +01:00
Sage Abdullah 5df37b01ff Add docs for Dropdown 2025-08-04 13:47:58 +01:00
Sage Abdullah 68fe44e5a0 Add intro paragraphs to UI components section 2025-08-04 13:47:58 +01:00
Sage Abdullah 77d8426940 Add docs for Dialog 2025-08-04 13:47:58 +01:00
Sage Abdullah 4f5f79d9b7 Add docs for Tooltip 2025-08-04 13:47:58 +01:00
Sage Abdullah 6b09ba5ab7 Add controller: URL scheme to MyST configuration 2025-08-04 13:47:58 +01:00
Sage Abdullah e4a0373623 Rename 'UI components' index page to 'Admin UI reference' 2025-08-04 13:47:58 +01:00
Matthew Westcott 9461e43ddf Remove versionadded / versionchanged notes for 7.0 2025-07-28 21:28:29 +02:00
LB 5c52700f01 7.1 release notes clean up & cross-links
- Add cross-links to documentation where possible from the 7.1 release notes
- Remove empty sections in the 7.1 release notes (upgrade considerations)
- Format whitespace int he 7.1 release notes
- Consistently use `user bar`, not `userbar` in release notes and related documentation & changelog
- Format bullet points (where diffs are minimal) to align with Markdown Prettier formatting
2025-07-28 09:19:23 +02:00
LB 0e8ee62206 Clean up whitespace formatting in documentation 2025-07-28 09:19:23 +02:00
LB 15a0616cf9 Add changelog & docs references for #13232 2025-07-24 20:08:41 +10:00
Thibaud Colas ce36009ac7 Image settings DX tweaks 2025-07-24 19:47:55 +10:00
Stefan Hammer 958a842843 Change handling of InlinePanel's label to work with other languages
- Removed capfirst() when initializing the label from the related
  model's verbose name, so it can be used for both the add-button and
  the child panel's header. Further used capfirst in the template when
  rendering the child panel's header and removed lower filter from the
  add-button's label.
- Tests:
  - changed labels and verbose names related to the InlinePanel to
    the correct singular and lowercased form
  - removed unnecessary heading kwargs, where the default heading
    already equals that definition
- Docs: Removed unnecessary and verbose label and header definitions
  from the documentation

Fixes #13221
2025-07-24 11:07:17 +02:00
LB 8e8088b882 Add documentation for overriding `SlugInput` & using formatters/locale 2025-07-24 03:53:16 +02:00
Sage Abdullah c727c409e7 Make StructBlocks collapsible by default
When inside a StreamBlock or ListBlock, use those block's "collapsible
child" behavior instead of using StructBlock's own collapsible panel.
2025-07-23 15:42:12 +02:00
Matt Westcott 0f84deaf45
Remove idForLabel argument from Widget and BoundWidget constructors
The primary use-case for this was to point to the first item of a radio select, and Django no longer does this as of 4.0 (b9e872b593). In all other known cases, the default behaviour of returning the one input element's ID is sufficient - and if any other widget has non-standard handling of input elements to the point that this isn't the case, then it will certainly need its own Widget subclass on the JS side, and at that point it makes far more sense to provide a suitable JS implementation of idForLabel rather than doing a string replacement on whatever the Django function gives you.

This shouldn't break any documented APIs, as the base Widget class was not exposed outside of entrypoints/admin/telepath/widgets.js on previous releases, meaning that third-party widgets are expected to implement their own work-alike classes which will be unchanged by this. We update the widget API documentation to reflect the fact that an id_for_label parameter is no longer considered a good idea, though.
2025-07-23 13:02:57 +01:00
Sage Abdullah 93d09ee6fd
Add docs for previewable settings 2025-07-17 16:40:29 +01:00
Sage Abdullah 5d5f6d55ec Tweak docs for StreamField callable `preview_value`
You cannot use lambdas in migrations
2025-07-15 06:04:19 +10:00
Matt Westcott 8f92b1f4ac
Move wagtail.widget_adapters to wagtail.admin.telepath.widgets 2025-07-14 13:57:52 +01:00
Matt Westcott fb36d7e992
Move wagtail.telepath to wagtail.admin.telepath
It references wagtailadmin/js/telepath/telepath.js and wagtail.admin.staticfiles, and we don't want wagtail core to depend on code in wagtail.admin. Also, we don't want to encourage use of this registry outside of admin views, as adapters registered here are likely to depend on admin-specific JS includes.
2025-07-14 13:57:52 +01:00
megatrron 429c3527b7 Update project template docs to include testing + add test file to template
- Added Default Tests for Root and Homepage Pages in Wagtail Starter Projects
- Updated tutorial documentation for wagtail start tests
- Closes #12953
2025-07-13 20:26:43 +10:00
Sage Abdullah 515ec4620c Add form_attrs support to all StreamField blocks 2025-07-12 16:04:26 +01:00
Sage Abdullah 78433259be Add new UI components section to reference docs 2025-07-12 15:00:45 +01:00
Sage Abdullah 6ea3bbbf64 Incorporate Typedoc docs build process into main docs build 2025-07-12 15:00:45 +01:00
Sage Abdullah 6aab8fb928 Update docs for WAGTAILADMIN_BASE_URL 2025-07-12 13:48:51 +01:00
Sage Abdullah b548bf88bc Allow StructBlocks to be collapsible 2025-07-12 12:22:39 +01:00
Nick Smith 80f205d61f Handle help_text kwarg in FloatBlock (#13206)
Fixes #13205.
2025-07-04 13:10:13 +01:00
Matt Westcott 305b63dd40 Add documentation for site setting permissions 2025-06-18 14:07:27 +01:00
Matt Westcott 36f8d83fb8 Fix jinja2 docs to reference preserve-svg rather than preserve_svg
As per https://github.com/wagtail/wagtail/pull/13125#pullrequestreview-2890949298
2025-06-11 16:42:07 +01:00
smark-1 405fa76288
Document `Block.is_previewable` 2025-05-23 11:17:02 +01:00
Vishesh Garg d1fbb2e262 Add support for SVG when using jinja2 (#13016)
Fixes #12997
2025-05-16 11:51:19 +01:00
Alec Baron 05484a7784 Update RichTextBlock documentation 2025-05-15 14:41:00 +01:00
Sylvain Boissel 462673c3b0 Update customization.md
Fix field type for the example
2025-05-12 17:42:54 +01:00
Maciej Baron b9e873fd0b Cleaup docs 2025-05-12 15:22:38 +01:00
Maciek Baron 7ef898c801 Update docs/reference/signals.md
Co-authored-by: LB (Ben Johnston) <mail@lb.ee>
2025-05-12 15:22:38 +01:00
Maciek Baron 3f13bb51ab Update docs/reference/signals.md
Co-authored-by: LB (Ben Johnston) <mail@lb.ee>
2025-05-12 15:22:38 +01:00
Maciej Baron 36d611904b Add description of init_new_page signal to docs 2025-05-12 15:22:38 +01:00
Sage Abdullah 9c4630b5aa Document WorkflowMixin._workflow_states and its difference with workflow_states 2025-05-07 14:49:20 +01:00
Sage Abdullah 69940fc94a Document RevisionMixin._revisions and its difference with revisions 2025-05-07 14:47:32 +01:00
Thibaud Colas 08c0ce9f45 Further document usage of API ?limit. Fix #12604 2025-05-06 13:29:15 +01:00
Sage Abdullah 3c28330e01 Deprecate UserListingButton and SnippetListingButton in favor of Button 2025-05-01 20:49:56 +01:00
Sage Abdullah d6e6b015ab Deprecate PageListingButton in favor of ListingButton 2025-05-01 20:49:56 +01:00
Matt Westcott 3e7c2b079a Remove versionadded / versionchanged notes for 6.4 2025-04-25 14:26:59 +01:00
smark-1 1b9991cd46
Document page.move() in page reference (#12761)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2025-04-22 14:36:17 +01:00