indentlabs / indentlabs/notebook

Linking two fields in the same request duplicates those links

Open
#369 2 comments 0 reactions 0 assignees View on GitHub

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
  1. Edit a character.
  2. Link Alice as a Mother and Bob as a Father.
  3. View that character: Alice will be listed twice under Mothers, and Bob will be listed twice under Fathers.

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.