0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

12625 Commits

Author SHA1 Message Date
LB Johnston
6439b1e8a5 refine documentation guidelines for links
- add clarity that page links can also get auto-generated labels
- add example of a reference link using a custom label
- format with prettier
2022-03-16 20:51:58 +10:00
LB Johnston
7c3ddb3bfc documentation - adopt MyST syntax for form builder section
- the original conversion to markdown happened around the same time as the MyST conversion
- this meant that the syntax was not in sync
- also run prettier over markdown for consistent formatting & whitespace
- see #8007
2022-03-16 20:51:43 +10:00
p0lygun
fda36c7343 Documentation - convert advanced topics docs to markdown 2022-03-16 20:48:03 +10:00
Thibaud Colas
a50ebe9f83
Tailwind setup follow-up: RTL support and Windows High Contrast mode (#8117)
Co-authored-by: LB (Ben Johnston) <mail@lb.ee>
2022-03-15 15:05:18 +00:00
LB (Ben Johnston)
042d077fc1
Minor accessibility fixes to new slim sidebar menu items (#8015)
* Consistently set `aria-haspopup="menu"` for all sidebar menu items that have sub-menus (LB (Ben Johnston))
 * Make sure `aria-expanded` is always explicitly set as a string in sidebar (LB (Ben Johnston))
 * Use a button element instead of a link for page explorer menu item, for the correct semantics and behavior (LB (Ben Johnston))
2022-03-15 14:53:40 +00:00
Thibaud Colas
14280ad7ea
Convert all UI code to CSS logical properties (#8051)
- Rewrite all styles to use logical properties
- Update Stylelint configuration to include logical properties checks
2022-03-15 13:21:06 +00:00
Nicolas Ferrari
11e7936562
Add alwaysdata among Cloud providers in documentation (#8070)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-15 12:29:59 +00:00
PaarthAgarwal
4b07e4214a
Remove most uppercased text styles from admin UI. Fix #7624 (#8111)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-15 12:07:07 +00:00
PaarthAgarwal
6a84cf4583
Switch focus outlines implementation to :focus-visible for cross-browser consistency. Fix #7994 (#8113)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-15 11:33:12 +00:00
LB Johnston
7067c81604 update release notes for #8101
- As this is only a dev/testing dependency, and declaring the dependencies that you use directly is likely standard knowledge
- if anyone does overlook it, it'll presumably fail in an obvious and easily fixed way
- see 8ac683ef5c (r68486362)
2022-03-15 08:12:17 +10:00
LB Johnston
8ac683ef5c add changelog entry for #8101 2022-03-11 15:21:47 +00:00
Thibaud Colas
fc0f76ea9d Switch from jinjalint to curlylint 2022-03-11 15:21:47 +00:00
Thibaud Colas
855486157b Make sure CircleCI build installs all dependencies 2022-03-11 15:21:47 +00:00
Thibaud Colas
4c2f160736 Remove docutils pin 2022-03-11 15:21:47 +00:00
Thibaud Colas
c5aa326565 Switch to Markdown tables for documentation 2022-03-11 15:21:47 +00:00
Thibaud Colas
a21490bb37 Improve spacing in new Sphinx output 2022-03-11 15:21:47 +00:00
Matt Westcott
06eb4c2afd Use released django-modelcluster when testing against Django main
django-modelcluster 5.3 now ships with the provisional Django 4.1 compatibility fix.
2022-03-11 14:30:29 +00:00
LB Johnston
4db71de5a2 add release notes for #8084 2022-03-10 19:21:34 +10:00
LB (Ben Johnston)
e3b6e79a8e
Documentation - migrate form builder docs to markdown (#8007)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-10 08:43:49 +00:00
LB (Ben Johnston)
6ed65f14c6
Move Markdown docs to MyST parser. Fix #8074 (#8084) 2022-03-09 11:48:19 +00:00
LB (Ben Johnston)
58a8a31dd6
docs - add third party tutorials Jan/Feb 2022 (#8067) 2022-03-09 09:19:43 +00:00
LB (Ben Johnston)
f342e073ce Revert "Readme - add badges"
This reverts commit 3d15d2db05.
2022-03-09 06:50:16 +10:00
Steve Stein
5996c5dd29
Switch icons implementation to SVG, with checkbox improvements (#8054) 2022-03-07 17:06:19 +00:00
LB (Ben Johnston)
3d15d2db05 Readme - add badges
Add badges to the readme for Python package info, licence and code tests passing.
2022-03-06 13:10:56 +10:00
Steve Stein
07ee733bbe
Page Editor Improvements: TypeScale configuration (#8064). Fix #7982
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-04 22:55:24 +00:00
Andrii Oriekhov
56a79091b3
Add GitHub URLs for PyPI (#8071) 2022-03-04 16:12:54 +00:00
Matt Westcott
177bc53aa0 test Django main against django-modelcluster and django-taggit main branches, now that fixes have been merged 2022-03-04 16:07:22 +00:00
LB (Ben Johnston)
70aabb5d34
Refine documentation for show_in_menus (#8072)
- this appears to be a point of confusion, where developers are unsure what this field does
- this update makes it more explicit that this field does not do anything, except the queryset usage, by default
2022-03-04 14:34:21 +00:00
Matt Westcott
ef2fa2e394 Release note for #7684 2022-03-02 15:56:06 +00:00
Matt Westcott
92cc026694 Rename docs page to 'Using forms in admin views' 2022-03-02 15:55:25 +00:00
Matt Westcott
bd8d48be96 Use ObjectTypeRegistry for log entry model registry 2022-03-02 15:55:25 +00:00
Matt Westcott
37fe7ae035 Use ObjectTypeRegistry for AdminURLFinder 2022-03-02 15:55:25 +00:00
Matt Westcott
983402d1ad Extract a get_by_type method 2022-03-02 15:55:25 +00:00
Matt Westcott
79a5072a02 Refactor out a general ObjectTypeRegistry from ModelFieldRegistry 2022-03-02 15:55:25 +00:00
Matt Westcott
f619316003 Add upgrade consideration note for third-party packages implementing their own panels 2022-03-02 15:55:25 +00:00
Matt Westcott
31139e8b24 Remove references to StreamFieldPanel and ChooserPanels from docs 2022-03-02 15:55:25 +00:00
Matt Westcott
b8fd95ee86 Remove uses of StreamFieldPanel, including the check that you're using it 2022-03-02 15:55:25 +00:00
Matt Westcott
5fe7aef030 Move special case for StreamField not having a comments button from StreamFieldPanel to FieldPanel 2022-03-02 15:55:25 +00:00
Matt Westcott
6169422ba0 Implement id_for_label on BlockWidget so that StreamFieldPanel doesn't have to override it 2022-03-02 15:55:25 +00:00
Matt Westcott
52ca4ebaab Remove stream-field CSS class; use block_field instead 2022-03-02 15:55:25 +00:00
Matt Westcott
f6889cd88e Check render_with_errors method before adding 'error' classname, instead of hard-coding an exception in StreamFieldPanel 2022-03-02 15:55:25 +00:00
Matt Westcott
7884b13a6e Remove ChooserPanel references from tests 2022-03-02 15:55:25 +00:00
Matt Westcott
eeb354ac5b Eliminate references to RichTextFieldPanel, now that it's functionally identical to FieldPanel 2022-03-02 15:55:25 +00:00
Matt Westcott
179a867669 Register comparison classes at the field level instead of overriding get_comparison_class on panels 2022-03-02 15:55:25 +00:00
Matt Westcott
6e34b2fdcc Use an extensible registry for comparison classes 2022-03-02 15:55:25 +00:00
Matt Westcott
3a561aa934 Pull out ModelFieldRegistry as a reusable pattern 2022-03-02 15:55:25 +00:00
Matt Westcott
5960905662 Remove logic for normalising page_type from PageChooserPanel, now it's handled by the widget 2022-03-02 15:55:25 +00:00
Matt Westcott
e5775fdfc0 Allow AdminPageChooser to accept target_models in the same formats allowed by PageChooserPanel's page_type argument 2022-03-02 15:55:25 +00:00
Matt Westcott
45de375a88 Pass the correct target_models argument to AdminPageChooser when FK is to a page subclass 2022-03-02 15:55:25 +00:00
Matt Westcott
786a4a3384 Provide a documented register_form_field_override method for apps to register their own form fields with WagtailAdminModelForm 2022-03-02 15:55:25 +00:00