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

Allow article to be set to private #75

Open
ctmbl opened this issue Mar 24, 2023 · 2 comments
Open

Allow article to be set to private #75

ctmbl opened this issue Mar 24, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@ctmbl
Copy link
Contributor

ctmbl commented Mar 24, 2023

Context

Right now, when creating an article it is directly published and there isn't any step between.

Problem

In multiple situations this could upset the user:

  • I start writing a blog and don't have time to finish it --> I'd need a "Draft" state
  • I'd like to "hide" temporarily my blog post because I need to edit it --> I'd need a "Draft" or "Paused" or "Private" state
  • I no longer want to publicly own this article but I'd like to keep it for my own use for a moment (or indefinitely this could be debated) --> I'd need a "Private" state

Solution I'd like

We should change the article storage scheme to add at list one of the state I introduced above.
We should filter the list of article shown on the main page to show only:

  • "Public" articles
  • "<other state>" and owned by the logged user

The state of such articles should be clearly displayed with a colored tag near its name for example, maybe with the mention "only you can see this".
The user should find (ofc) these articles on its future profile page introduced by #12

Last point

I'd like to add this issue to the 0.2.0 milestone!

@atxr
Copy link
Contributor

atxr commented Mar 27, 2023

This is a really good point.

Regarding your use cases, the Draft mode looks mandatory.
However, I don't really see the point of using a Private mode, neither for modifying a blog post (you can edit it and add a WORK IN PROGRESS at the top if you need time to work on it), nor for keeping a post for yourself (what's the point of posting it on the blog then? Do you mean one could post a private blog post and control which user can access it?).

@ctmbl
Copy link
Contributor Author

ctmbl commented Mar 27, 2023

@atxr
Glad that you like it!

However, I don't really see the point of using a Private mode

If a post can be switched from Public to Draft at any time we can avoid it I think! I was just thinking that a post "private" or "paused" because it needs refactoring, an update or so and a post Draft becuase it is not yet finished aren't the exact same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants