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

Feat: Ability to switch between draft and published data #3394

Open
4 of 5 tasks
iJungleboy opened this issue May 28, 2024 · 0 comments
Open
4 of 5 tasks

Feat: Ability to switch between draft and published data #3394

iJungleboy opened this issue May 28, 2024 · 0 comments
Assignees

Comments

@iJungleboy
Copy link
Contributor

iJungleboy commented May 28, 2024

I'm submitting a

[x] feature request

...about

[x] edit experience / UI
[x] admin experience UI

Current Behavior / Expected Behavior

ATM public users see published data, editors/admins see drafts.

It would be great if editors/admins could switch to seeing public data to better see what normal users see, without the need to log off or use another browsers.

Steps ca.

  • Refactor code to better separate responsibility of showing drafts
  • define a cookie to switch
  • Create code to - if user is in can-draft-mode - detect if the cookie is set
  • Make sure it's used in data sources and anywhere else where this decision is used
  • create some kind of UI to switch

Your environment

  • 2sxc version(s): 17.09
@iJungleboy iJungleboy self-assigned this May 28, 2024
iJungleboy added a commit to 2sic/eav-server that referenced this issue May 28, 2024
iJungleboy added a commit to 2sic/eav-server that referenced this issue Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant