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

Draft Pages #69

Open
Z3d0X opened this issue Jun 11, 2023 · 2 comments
Open

Draft Pages #69

Z3d0X opened this issue Jun 11, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Z3d0X
Copy link
Owner

Z3d0X commented Jun 11, 2023

opt-in feature for draft/publish states

@Z3d0X Z3d0X added the enhancement New feature or request label Jun 11, 2023
@alexfaus08
Copy link

@Z3d0X What are the implementation details you are thinking of? Would it be a boolean is_draft attribute on the Page Model or maybe a date published_at attribute where the page is only live if the date is not null / and it's currently past that date?

If you have implementation details in mind and are willing to let me work on this, let me know. This feature would greatly benefit my use of Fabricator!

@Z3d0X
Copy link
Owner Author

Z3d0X commented Sep 19, 2023

I am thinking of published_at way, but along with a draft_blocks.

draft_blocks will be updated if you edit an existing page. Then you have to "publish" those changes (in this process, draft_blocks will be copied to blocks). You can also "discard" draft_blocks.

This way you can make changes to a already published page, without the change immediately showing up on the frontend.

Thank you for your interest and offer for help, I would love the help, you could get started on published_at implementation.

@Z3d0X Z3d0X added help wanted Extra attention is needed good first issue Good for newcomers labels Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants