decap-cms icon indicating copy to clipboard operation
decap-cms copied to clipboard

Add a "notes pane" to the edit screen

Open phae opened this issue 9 years ago • 19 comments

User needs:

  • a convenient place to see what's happened with a post over time, in context

As an MVP of basic discussion on PRs, add a panel to the side of the edit screen to house information.

For now, just list the major actions. See: https://phae.github.io/netlify-sketch/review.html (the coloured boxes in particular showing status changes) Commenting etc. can go in a seperate issue.

Acceptance criteria:

  • [ ] User can click a link marked "Notes" from a tab menu above the preview pane.
  • [ ] In most-recent-first order, a user can see who created the post first, who reviewed it and who published it.

phae avatar Aug 10 '16 21:08 phae

We should re-open this discussion based on the current CMS interface.

A few thoughts:

  • Tracking history, notes, and status changes would be awesome!
  • This can become valuable data for any serious organization - how can we make it redundant (able to be regenerated)
  • How can we integrate this into the editor UI without being intrusive?
  • We can probably roll #53 into this.

erquhart avatar Jan 03 '18 22:01 erquhart

What's the plan here: Will there be new notes for a new change or the note will be same for each item in the collections.

What I think, instead of adding some kind of option for note taking. There should be an option to write custom commit messages.

Reference: Commit Message Template

mittalyashu avatar Sep 13 '18 11:09 mittalyashu

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 29 '19 13:10 stale[bot]

Not stale. Thank you!!

rdebeasi avatar Oct 31 '19 15:10 rdebeasi

Clarifying: this is basically a request for pull request comments to be readable/writable through the CMS for unpublished changes, with some additional info that's also available in pull request metadata from any Git host (Eg., who created it and when).

erquhart avatar Jan 08 '20 01:01 erquhart

Hi @erquhart, I just wanted to know what is the priority of this issue and whether the team is planning to pick this up anytime soon?

sidag95 avatar Apr 04 '21 17:04 sidag95

Hi @sidag95, this is not prioritized yet. If anyone would like to submit a contribution for it that would be great.

erezrokah avatar Apr 05 '21 07:04 erezrokah

Hi @erezrokah would love to contribute towards this. Will have a look at the Contributions guide. Apart from that, where should I start?

sidag95 avatar Apr 05 '21 08:04 sidag95

Thats great @sidag95. The contribution guide is a great start.

I would start by outlining the proposed UI changes in this issue, after that we would need to implement the comments/notes support in every backend (see https://github.com/netlify/netlify-cms/tree/master/packages/netlify-cms-backend-github for example).

erezrokah avatar Apr 05 '21 08:04 erezrokah

Got it. Let me look at the contribution guide and propose the UI changes first and take it from there. Thanks!

sidag95 avatar Apr 05 '21 09:04 sidag95

Looking at all the features that can be supported by having a notes panel, I am proposing that we should start with a basic MVP that allows users to leave comments on each post. The MVP can looking something like below.

notes-phase1

Once we have implemented this with all the backends, we should be able to extend this to support history, add reviewers and more.

Open questions

  1. Should the notes panel respect i18n?

@erezrokah Does this make sense? How should we proceed from here?

sidag95 avatar Apr 24 '21 11:04 sidag95

Hi @sidag95, this is great progress 🎉

  1. Should the notes panel respect i18n?

Yes, I think adding a i18n tab would be good.

@erezrokah Does this make sense? How should we proceed from here?

I would like to see an approach to implement this. I'm assuming PR comments, but making those look "realtime" can be a challenge. I know GitHub uses WebSockets for that, but it's not an official API. We could use polling/and or add a refresh button, we'll just to need to aware of performance and possibly services rate limits.

erezrokah avatar Apr 25 '21 08:04 erezrokah

Yes, I think adding a i18n tab would be good.

Okay, will check how the current i18n window looks like and make changes appropriately

performance and possibly services rate limits.

I believe this notes window doesn't need to be realtime. We can start with a large polling window and give a refresh button to the users so they have explicit control over the recency of notes/comments.

Let me setup some code and start a small PR. We can continue feature specific discussions there.

Thanks for the support @erezrokah!

sidag95 avatar Apr 26 '21 04:04 sidag95

Hello everyone, is there any update on this ? Is this still being considered as a feature to Decap?

EstoesMoises avatar Jul 10 '25 11:07 EstoesMoises

This would be a useful feature, yes, but someone has to contribute a pull request. Are you willing to take it up?

martinjagodic avatar Jul 10 '25 13:07 martinjagodic

Hi @martinjagodic thanks for your response and sorry for my delayed reply on this. This seems very interesting to me and I'm up for contributing with a PR for this feature. I see that sidag95 attempted to work on this back in the days but can't see a PR linked to this discussion.

I'll have a look at this thread and get up to date with the contributing guidelines and start working on this ! Excited to help out :D

EstoesMoises avatar Jul 15 '25 14:07 EstoesMoises

Hi guys, just wanted to follow up to confirm that I'm currently working on this :D.

I've been getting familiar with the codebase and have made a bit of progress, I'm following the idea of sidag65, with a Notes Pane that's not necessarily real-time for the MVP and only supports adding notes. We can then work on extending it to the rest of the features like history and reviewers, just like he said.

Image

If there any additional ideas to what have been discussed previously in the thread feel free to share ! Hopefully, considering my current workload I might be able to share something by next Sunday :) (or maybe I get stuck somewhere and come here to ask for advise haha)

EstoesMoises avatar Jul 20 '25 17:07 EstoesMoises

Great! I suggest keeping it simple for starters. Better to release something small than nothing :)

martinjagodic avatar Jul 21 '25 12:07 martinjagodic

Hi @martinjagodic I created a Draft PR https://github.com/decaporg/decap-cms/pull/7563, looking forward to have some early feedback before getting into more work. Very excited about getting this feature out there ! Feel free to review when you get the chance. Thanks !

EstoesMoises avatar Jul 28 '25 22:07 EstoesMoises