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

Confusing status after publishing collection by language #9015

Open
italodr opened this issue Nov 4, 2024 · 0 comments
Open

Confusing status after publishing collection by language #9015

italodr opened this issue Nov 4, 2024 · 0 comments
Labels
area: ui Related to the admin panel. needs-design status: needs-triage Possible bug which hasn't been reproduced yet v3

Comments

@italodr
Copy link

italodr commented Nov 4, 2024

Describe the Bug

I have noticed some issues related to the feature that allows publishing collections by language.

Expected behavior:

The status bar should show "Published" for the selected language after publishing.
The editor should clearly understand which language versions are published versus in draft status.
These changes would enhance the user experience by reducing confusion and providing more flexibility in managing multilingual content.

Actual behavior:

After publishing a language, the status bar shows "Changed - Revert to published" instead of "Published," which confuses content editors and may lead to errors.

Image

Additional suggestion: It would be helpful to add an option to unpublish individual languages. This would improve content management by allowing editors to control the publication status of each language version independently.

Link to the code that reproduces this issue

https://github.com/italodr/payload-test/tree/issue-publishing-by-language

Reproduction Steps

  1. Clone the above repository
  2. Update the config file to add your postgres URL. Currently as "postgresql://postgres:password123@127.0.0.1:5430/postgres_db"
  3. Run pnpm install to install dependencies
  4. Run pnpm dev _community to start the admin panel
  5. Access the admin panel
  6. Add new post in all languages and save it as "Draft"
  7. Change language to "Deutsch"
  8. Click on "Publish in Deutsch"

Which area(s) are affected? (Select all that apply)

area: ui

Environment Info

Payload: 3.0.0-beta.123
Node.js: v20.12.2
Next.js: 15.0.0

@italodr italodr added status: needs-triage Possible bug which hasn't been reproduced yet v3 validate-reproduction labels Nov 4, 2024
@paulpopus paulpopus added needs-design area: ui Related to the admin panel. labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ui Related to the admin panel. needs-design status: needs-triage Possible bug which hasn't been reproduced yet v3
Projects
None yet
Development

No branches or pull requests

2 participants