External edits to a file should be picked up by the editor

Open
#34 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, markdown
Domain
frontend

Research direction

The issue names no files, tests, or entry points. Start by locating how open files are loaded and edited, then trace any existing file-change or merge handling. Done means detecting external edits, showing where they occurred, and letting users review, dismiss, or accept the merged changes.

Written by the indexing model from the issue text.

Description

enhancement

We should be file-watching any file that's open, in case someone else changes it. When they do, we want to know what they changed (i.e. we need the diff) so that we can apply that as a "merge" transform, informing the user that that happened, where it happened, and offering them a way to review the change and either dismiss the change (effectively ignoring the change) or accepting the change (committing the merge into the document)

Dominant language
JavaScript
Stars
1
Forks
1
Avg merge
9h 8m
Merged PRs (30d)
16

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from Pomax/markdown-editor

All issues in Pomax/markdown-editor

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.