Feature Request: Concurrent Editing

74 views
Skip to first unread message

Angelo Dini

unread,
Jul 25, 2016, 3:51:36 AM7/25/16
to django CMS developers
Extract from the initial Pull Request and Issue:

It would be really great if we can provide visual feedback on who is viewing or editing the current page. The locking/unlocking mechanics could be introduced in a later step, with more discussions and feedback beforehand. We discussed the visual feedback within the team and would suggest the following UI/UX strategy:

imageimage


The image on the left shows the UI element added when the feature is enabled (via setting). The right image is showing the hover state. Once you click on the icon:


imageimage


A popup will open as shown on the left. The list will show 2 states ordered by:

  • Users editing the page
  • Users viewing the page

If there are no editors, the icon stays grey. The color of the icon only changes to yellow once there is someone editing in any language of the current page. Always show the editors of your language first, and then other languages etc. As there can be multiple same users editing (for lack of account management) the entry representing "you" is specifically marked.

When hovering over an entry as shown on the right, we show an additional tooltip on who it is (IP based) and since when he's editing the page. Clicking on the entry redirects to the user in the admin.

It's then very important to find the right balance using signals as @yakky mentioned. So that someone doesn't stay as "in edit" forever.

For the future this can be enhanced with user locking or a simple messaging system to notify each other. One step at-a-time. WDYT?


Original Pull Request:

Related Issue:

Tim Graham

unread,
Jul 25, 2016, 10:14:00 AM7/25/16
to django CMS developers
I haven't used it so I can't say for sure, but I think you might be able to use channels for realtime notifications to show who else is editing the page at any moment. I guess this would be a more elegant solution in the long run.
Reply all
Reply to author
Forward
0 new messages