sillsdev / sillsdev/interlinearizer-extension

Create a lexicon entry from an unglossed morpheme

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

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
2
Forks
0
Avg merge
1d 17h
Merged PRs (30d)
55

Description

Close the dead end in the link flow: when searching the lexicon finds nothing, offer to add the morpheme to it.

Scope

Implement the port's createEntry and wire it to the "no match" state of the link affordance. Gated on the port's create capability.

This is the only path in the epic that writes to a lexicon. Everywhere else references are outbound only (#186, #194). That asymmetry is the reason this is its own item rather than a branch of the link flow.

Decisions this issue has to make

  • What a draft entry contains when built from a morpheme — form, writing system, gloss, and morph type (see #130 for the morph-type indicators already specified). Nothing more; this is not an entry editor.
  • When it writes — immediately on confirm, or on analysis approval. AssignmentStatus already distinguishes approved / suggested / candidate, so deferring is available if wanted.
  • Whether a tier-2 write needs explicit confirmation. A real FW Lite lexicon is a curated deliverable, and creating entries from the interlinearizer is the one way this extension can put unreviewed data into it. A quiet auto-create is a consent problem, not just a data-hygiene one.
  • What to do with a form that carries an indicator character. PT9 splits a typed breakdown on whitespace only, so an imported morpheme's form can be -om or thanks- verbatim; see #130.
  • What the created entry links back to — the new ref must carry provider provenance per #225.

Blocked on

  • #228
  • the epic's tier-1 decision:
    • "Create an entry" means different things in a full FW Lite lexicon and in a minimal one, and where a tier-1 lexicon persists is undecided. Everything else under this epic can proceed with that question open; this item cannot.

Contributor guide

No contributing guide indexed for this repository

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 at the port's createEntry and the link affordance's no-match state. Resolve the dependency on #228 and the tier-1 decision, then review #130 for morph-type indicators and #225 for provider provenance. Done means the create capability is gated and the agreed draft, write timing, confirmation, indicator handling, and backlink behavior are implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.