Thinkmill / Thinkmill/keystatic

'has-many' Relationship panel is empty on Firefox

Open
#1,372 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug:unconfirmed
Dominant language
TypeScript
Stars
2.4k
Forks
159
Avg merge
21h 41m
Merged PRs (30d)
2

Description

I've noticed that the preview panel for a collection item's relationships doesn't render at all on Firefox, but seems fine on Chrome.

For this example, I have a simple Story -> Chapter * n -> Page * n content structure.

Before adding any relations is fine:
image

After adding some relations (Chapter -> Pages, in this example), nothing is displayed. Below is the result of adding two existing chapters, but not yet pressing 'Create':
image

The chapters do actually get added (confirmed by looking at the relations in the Chapter's mdoc entry) just nothing is rendered in the panel at all in the UI. Here's the result after hitting 'Create':
image

In Chrome, however, everything displays fine:
image

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 by reproducing the relationship preview issue in Firefox with the Story → Chapter → Page example, then compare the same panel in Chrome. Trace the collection item's relationship preview from the UI entry point and verify that existing relations render both before and after creation; done means the panel displays its relations consistently in Firefox and Chrome.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
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.