nextcloud / nextcloud/text

Bring back author colors

Open
#3,731 6 comments 69 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop 26 feedback enhancement regression
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Author colors were removed during the yjs rework.
Bring them back.

Approaches:

  • Either use awareness state and have each user announce their author colors and a list of segments they wrote similar to how the user cursor plugin works
  • Or use a separate datastructure within the yjs document to maintain a list of authorship

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Yjs rework and the user cursor plugin, especially how awareness state and the Yjs document are used. Compare the two proposed authorship approaches, then define how author colors and written segments should be shared. Done means author colors are restored reliably in collaborative documents.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
distributed-systems, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.