Add metadata to files indicating they were created / edited by text
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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