compose-edit-text-notes: NFD refusal doesn't name the offending character

Open Beginner friendly
#256 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
backend

Research direction

Find the compose-edit-text-notes command and its NFD validation. Read how it checks Note text and reports refusal; then choose whether to normalize input or report the first offending code point and offset. Done means the composer handles non-NFD text as specified, with the refusal identifying the first error if validation remains.

Written by the indexing model from the issue text.

Description

compose-edit-text-notes refuses Note text that isn't NFD ("Note must be NFD without edge spaces") without saying which character or position is wrong.

Context: Cebuano worker writing disposition Notes in bulk from a TSV (2026-11-16, motif 3716d4f45). The project's existing Notes are a mix of NFC and stress-marked text, so the worker couldn't tell what was expected.

Expected: the refusal names the first offending code point and its offset (e.g. "U+00E1 at 14: use NFD"), or the composer normalises to NFD itself, since the intent is unambiguous.

Cost: about 5 minutes, then the worker NFD-normalised the whole TSV.

Next: normalise in the composer, or name the character in the refusal.

Dominant language
C#
Stars
1
Forks
0
Avg merge
4h 3m
Merged PRs (30d)
66

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No 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.

More from sillsdev/motif

All issues in sillsdev/motif

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.