Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move automatically saved note #3415

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

JoeyStk
Copy link
Contributor

@JoeyStk JoeyStk commented Feb 10, 2025

Short description

Since adding the "Cancel" button on content forms, the info message that the page/event/poi has been automatically saved is in between two buttons, which doesn't look great. This PR moves the note so that it shows to the far left again.

Proposed changes

  • Move automatically saved note

Side effects

  • I'm not sure for which permission to check in the event form. If you have any suggestion, please let me know :)

Resolved issues

Fixes: #3327


Pull Request Review Guidelines

@JoeyStk JoeyStk added the effort: low Should be doable in <4h label Feb 10, 2025
Copy link
Member

@MizukiTemma MizukiTemma left a comment

Choose a reason for hiding this comment

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

Nice improvement 😸

There are some suggestion, assuming that the following is the condition to show the auto save note: the object has an ID (alredy exists) AND the object is not archived AND the user can change or publish the object.

@JoeyStk
Copy link
Contributor Author

JoeyStk commented Feb 13, 2025

There are some suggestion, assuming that the following is the condition to show the auto save note: the object has an ID (alredy exists) AND the object is not archived AND the user can change or publish the object.

Thank you very much! Could you please give me an example where we might run into a problem with the current implementation. I'm not doubting your suggestions, I'm just wondering :)

@JoeyStk JoeyStk force-pushed the enhancement/move-automatically-saved-note branch from c18aa1e to d299824 Compare February 17, 2025 09:37
@JoeyStk
Copy link
Contributor Author

JoeyStk commented Feb 17, 2025

@MizukiTemma thank you for your suggestions!

For the other ones: This PR is ready to be reviewed again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: low Should be doable in <4h
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move the 'Page was saved automatically' text on the pages form
2 participants