Skip to content

Wagtail 6.x - #51

Open
katdom13 wants to merge 0 commit into
elton2048:masterfrom
torchbox-forks:master
Open

Wagtail 6.x#51
katdom13 wants to merge 0 commit into
elton2048:masterfrom
torchbox-forks:master

Conversation

@katdom13

Copy link
Copy Markdown
  • Replace deprecated svg icon font with new icon.
  • Make compatible with Wagtail 6.x
  • Drop support for Wagtail versions < 5.2
  • Drop support for Django 3.2

@katdom13

Copy link
Copy Markdown
Author

@elton2048 ,
Could you please check this one?
Thanks!

@elton2048 elton2048 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏 Thanks for the commit! Since I am not active in using the library so I will just review to see if the code looks good.

Please helps to update the code for better doc and style, and then I will approve the PR.

success: function(data, textStatus, xhr) {
addMessage('success', '"' + movedObjectTitle + '" has been moved successfully.');
const text = '"' + movedObjectTitle + '" has been moved successfully.';
const event = new CustomEvent('w-messages:add', { detail: { clear: true, text, type: 'success' } });

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: Extra space before type

error: function(data, textStatus, xhr) {
addMessage('error', '"' + movedObjectTitle + '" could not be moved.');
const text = '"' + movedObjectTitle + '" could not be moved.';
const event = new CustomEvent('w-messages:add', { detail: { clear: true, text, type: 'error' } });

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: Extra space before type

Comment thread README.md Outdated
Install the package
```
pip install wagtail-orderable
pip install wagtail-modeladmin

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: I would say to install this before the package (i.e. put this statement before) as this is a dependency for this package, though it might be not so important as they will be installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants