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

[feature request] show published research modules with draft updates in the "My Drafts" section #3580

Open
pizzaisdavid opened this issue May 22, 2024 · 1 comment

Comments

@pizzaisdavid
Copy link
Contributor

pizzaisdavid commented May 22, 2024

Is your feature request related to a problem? Please describe.
As a person living at Project Kamp, I want to continue editing my update for a research module. I didn't publish it yet, it is a draft. So I click the "My Drafts" button but to my surprise, it is not there.

image

So instead I have to remember which article I was editing and find it, which can be tricky because there are no indicators for published research modules with draft updates.

Because a research module contain updates and each has a published/draft state. I would expect the following:

  • published research module with no draft update appears only on the public list.
  • published research module with a draft update appears both on the public list and in the "My Drafts" section.
  • draft research module with no draft update appears only in the "My Drafts" section (this is already happening.)
  • draft research module with a draft update appears only in the "My Drafts" section (this is already happening.)

Additional context
How to setup for local development:

  1. yarn run start
  2. Go to http://localhost:3000
  3. Create an account
  4. In the red banner at the top, click Admin.
  5. Refresh the page.
  6. Create a research module (example: http://localhost:3000/research/research-module)
  7. Publish the research.
  8. Create an update on that research module.
  9. Save the update as a draft (you must enter a title, description, and placeholder image.)
  10. Confirm it is not there when clicking the "My Drafts" button on http://localhost:3000/research

source: https://discord.com/channels/586676777334865928/1242750509794726009/1242750509794726009

@pizzaisdavid pizzaisdavid changed the title [feature request] [feature request] Make draft updates for research module appear in the "My Drafts" section May 22, 2024
@pizzaisdavid pizzaisdavid changed the title [feature request] Make draft updates for research module appear in the "My Drafts" section [feature request] Make draft updates for a research module appear in the "My Drafts" section May 22, 2024
@pizzaisdavid pizzaisdavid changed the title [feature request] Make draft updates for a research module appear in the "My Drafts" section [feature request] Make updates for a research module that are drafts appear in the "My Drafts" section May 22, 2024
@pizzaisdavid pizzaisdavid changed the title [feature request] Make updates for a research module that are drafts appear in the "My Drafts" section [feature request] Make it eaiser to find my research modules with draft updates (add them to the "My Drafts" section) May 22, 2024
@pizzaisdavid pizzaisdavid changed the title [feature request] Make it eaiser to find my research modules with draft updates (add them to the "My Drafts" section) [feature request] Make it eaiser to find my published research modules with draft updates (add them to the "My Drafts" section) May 22, 2024
@pizzaisdavid pizzaisdavid changed the title [feature request] Make it eaiser to find my published research modules with draft updates (add them to the "My Drafts" section) [feature request] Make it eaiser to find my draft updates on published research modules (add them to the "My Drafts" section) May 22, 2024
@pizzaisdavid pizzaisdavid changed the title [feature request] Make it eaiser to find my draft updates on published research modules (add them to the "My Drafts" section) [feature request] Make it eaiser to find my draft updates on published research modules (also show them in the "My Drafts" section) May 22, 2024
@pizzaisdavid pizzaisdavid changed the title [feature request] Make it eaiser to find my draft updates on published research modules (also show them in the "My Drafts" section) [feature request] show published research modules with draft updates in the "My Drafts" section May 22, 2024
@mariojsnunes mariojsnunes self-assigned this May 24, 2024
@mariojsnunes
Copy link
Collaborator

This will be a bit tricky to do. We would need a "hasUpdateDraft" flag at the research item level so we can filter by it.

@mariojsnunes mariojsnunes removed their assignment May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New / Under Discussion
Development

No branches or pull requests

2 participants