0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

11295 Commits

Author SHA1 Message Date
Karl Hobley
30fb7daf77 Convert change password view into a settings panel 2021-04-20 18:43:21 +01:00
Karl Hobley
72a01e1df5 Show language options in local language 2021-04-20 18:43:21 +01:00
Karl Hobley
7c08d4ccd2 Combine name and email settings into one panel 2021-04-20 18:43:21 +01:00
Karl Hobley
de1497a1fa Combine locale settings into one panel 2021-04-20 18:43:21 +01:00
Karl Hobley
e13bfb4324 Add separate tab for notification settings 2021-04-20 18:42:48 +01:00
Karl Hobley
aecc4dcefa Put 'more' menu on another tab 2021-04-20 18:42:47 +01:00
Karl Hobley
18a333cc54 Add Salmon bars 2021-04-20 18:42:47 +01:00
Karl Hobley
662bb6e2c3 Convert time zone preferences into a settings panel 2021-04-20 18:42:47 +01:00
Karl Hobley
64f0543df6 Convert language preferences into a settings panel 2021-04-20 18:42:46 +01:00
Karl Hobley
d4ec9c6bff Convert notification preferences view into a settings panel 2021-04-20 18:41:47 +01:00
Karl Hobley
e1334f9b12 Convert avatar view into a settings panel 2021-04-20 18:26:00 +01:00
Karl Hobley
7d2b58d151 Convert email view into a settings panel 2021-04-20 18:26:00 +01:00
Karl Hobley
632e4598fc Convert name view into a settings panel 2021-04-20 18:26:00 +01:00
Karl Hobley
5a9f1ba90a Add settings panels 2021-04-20 18:26:00 +01:00
Simon Evans
471856a52c Feature/commenting add icons (#7046)
* Update commenting icons

* Add draftail commenting icon

* Fix draftail icon hover state and update snapshot
2021-04-20 18:25:30 +01:00
Karl Hobley
7518f0460e Tweak whitespace in text emails 2021-04-20 18:25:30 +01:00
Simon Evans
485a248af8 Correctly show comment icons on hover 2021-04-20 18:25:30 +01:00
jacobtoppm
d72cb62a76 Prevent logout button hiding 2021-04-20 18:25:30 +01:00
jacobtoppm
7b15e025db Add block keys to contentstate tests 2021-04-20 18:25:30 +01:00
jacobtoppm
375708d60b Add comment reply notifications 2021-04-20 18:25:30 +01:00
jacobtoppm
d167b03a5d Account for individual thread subscriptions when sending comment mail 2021-04-20 18:25:30 +01:00
Simon Evans
1ac9a56279 Improve commenting layout 2021-04-20 18:25:30 +01:00
Karl Hobley
b49c2e498b Update z-index of comments so they render behind main menu 2021-04-20 18:25:30 +01:00
Karl Hobley
15d931094b Add a test for UserProfile.updated_comments_notifications 2021-04-20 18:25:30 +01:00
jacobtoppm
86f993cd1d Remove the warning icon from the save warning 2021-04-20 18:25:30 +01:00
jacobtoppm
39487b7dad Move commenting js to _editor_js.html 2021-04-20 18:25:30 +01:00
jacobtoppm
831dceaad4 Add missing footer__container class to non-editor footers, and change footer
css to use class selector instead of element
2021-04-20 18:25:30 +01:00
jacobtoppm
ca0154543a Use data-tab-nav to find tab nav everywhere 2021-04-20 18:25:30 +01:00
jacobtoppm
79baa145ac Add aria-describedby to comment textboxes 2021-04-20 18:25:30 +01:00
jacobtoppm
616f8e55b7 Remove non-tab li in tablist 2021-04-20 18:25:30 +01:00
jacobtoppm
b6b43bcba2 Add menu role 2021-04-20 18:25:30 +01:00
Karl Hobley
5a945c9e61 Send notification emails when comments are updated 2021-04-20 18:25:30 +01:00
Karl Hobley
63c536eef3 Move CommentPanel to settings_panels
Pages often completely override content_panels since there is only one
field by default.

Moving CommentPanel to settings_panels means it's less likely to be
overriden by mistake.
2021-04-20 18:25:30 +01:00
Karl Hobley
66e03c4e1d Set test email backend to Console 2021-04-20 18:25:30 +01:00
Karl Hobley
89de1f86b8 Add updated_comments_notifications field to UserProfile 2021-04-20 18:25:30 +01:00
Karl Hobley
48ec577271 Make send_notification more generic 2021-04-20 18:25:30 +01:00
jacobtoppm
a18b1fa2b8 Show comments by default only if there are pre-existing comments 2021-04-20 18:25:30 +01:00
jacobtoppm
1c04d84f38 Highlight whole field when adding Draftail comment with collapsed selection 2021-04-20 18:25:30 +01:00
jacobtoppm
7e1c68401c Combine commenting migrations 2021-04-20 18:25:30 +01:00
jacobtoppm
ef638faf76 Allow CommentableEditor to be extended with plugins, controls, decorators 2021-04-20 18:25:30 +01:00
Jacob Topp-Mugglestone
13672e702c Add initial draft of commenting update notes (#7025)
* Add initial draft of commenting update notes

* Add code example for CommentPanel upgrade consideration

* Remove unnecessary Draftail text format upgrade note
2021-04-20 18:25:30 +01:00
jacobtoppm
64f1cbdfd4 Remove completed TODO 2021-04-20 18:25:30 +01:00
Karl Hobley
9e98e680e9 Add PageSubscription model and hook up the comment notifications switch 2021-04-20 18:25:30 +01:00
jacobtoppm
25257de151 Prevent empty comment and reply submissions. 2021-04-20 18:25:30 +01:00
Jacob Topp-Mugglestone
d727b2b922 Feature/commenting a11y pass 1 (#7016)
* Add a keyboard shortcut to Draftail for adding/focusing comments

* Increase the timeout for unfocusing comments to reflect doing it on mousedown

* Update react-focus-trap and add focus trap to comments

* Remove extra focusing logic and replace with focusTrap initialFocus argument

* Add forceFocus to tests

* Remove todo

* Update Draftail to 1.4.1 to allow plugin keyBindingFns to be called

* Remove now unneeded icon hiding css due to Draftail update

* Add data-comment-add class to buttons to prevent comment unfocus

* Prevent comment button showing on streamfield root, and attach contentpath to field parent for single field

* Add keyboard shortcut for field level comments

* Consolidate comments keyboard shortcut check in case we change, and use keyCode instead of key

* Formatting and eslint fixes

* Update tests
2021-04-20 18:25:30 +01:00
jacobtoppm
dd90405aac Resolve comments when invalidating a contentpath, and delete unsaved comments 2021-04-20 18:25:30 +01:00
Karl Hobley
7cf38f8750 Put add comment button on single_field_panel.html 2021-04-20 18:25:30 +01:00
Karl Hobley
b2562e612c Add new icons 2021-04-20 18:25:30 +01:00
Karl Hobley
6e88b6c620 Fix new comments going to the top 2021-04-20 18:25:30 +01:00
Karl Hobley
0bb606a67d Hide buttons by default 2021-04-20 18:25:30 +01:00