nextcloud / nextcloud/text

Add metadata to files indicating they were created / edited by text

Open
#3,636 13 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Make NC Text "tag" each .md file it edited by adding some header string to the top of the content of the .md file.

When opening .md NC Text would first look up this tag and if it were not there, NC Text would open it read-only. The user would then be presented with a button "reformat & edit" button telling the user it would lose certain formatting after clicking. Then the file would be tagged. Any newly created .md file would be automatically tagged to keep it user-friendly as it is now.

Basically the same as https://github.com/nextcloud/text/issues/3477 but with explicit tagging as part of the content of the .md file.

Originally posted by @dumblob in https://github.com/nextcloud/text/issues/3630#issuecomment-1370224431

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 NC Text's Markdown open, edit, and new-file flows, then compare the requested behavior with related issues 3477 and 3630. Done means edited and newly created .md files receive a tag, untagged files open read-only, and the reformat-and-edit action communicates its formatting loss before tagging the file.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.