indentlabs / indentlabs/notebook
Linking two fields in the same request duplicates those links
Open
Nobody has claimed this yet.
Bug
Good First Issue
- Dominant language
- HTML
- Stars
- 410
- Forks
- 78
- Avg merge
- 1d
- Merged PRs (30d)
- 9
Description
Expected behavior
- A user should be able to complete all the linking fields they'd like, and have their page save how they expect.
Actual behavior
- If a user completes more than 1 linking field per page save, the links duplicate on each field.
Steps to reproduce the behavior
- Edit a character.
- Link Alice as a Mother and Bob as a Father.
- View that character: Alice will be listed twice under Mothers, and Bob will be listed twice under Fathers.
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 reproducing the character edit flow: link Alice as Mother and Bob as Father in one save, then inspect the saved character. Trace how multiple linking fields are processed and rendered; done means each linked character appears once under the correct field.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100