Skip to content

🐛 Bug - Duplicate Tina Editors in Rules V3 #2246

@joshbermanssw

Description

@joshbermanssw

Requested by: @joshbermanssw via YakShaver.ai 🦬
cc: @Marxoz, @micsblank, @jakebayliss, @joshbermanssw, @PothieuG, @Freego1783

Hi Team!

  🟥  Watch the video (2 min 7 sec)

  Url from screen share: https://www.ssw.com.au/rules/admin/edit/collection/edit/category/artificial-intelligence/rules-to-better-chatgpt-prompt-engineering

Pain

Fix the issue where navigating through the Rules V3 (TinaCMS) interface results in duplicate Tina editors being spawned, causing confusion and potential errors.

Acceptance Criteria

  1. Navigating to a category and editing it should not result in multiple Tina editors being displayed.
  2. The URL should not display duplicate paths or parameters.
  3. The edit category button should not be available if already in edit mode.
  4. Ensure that only one instance of the editor is active at any time.

Reproduce Steps

  1. Navigate to the SW rules section.
  2. Attempt to edit a category.
  3. Return to the SW rules home and attempt to edit the same or another category.
  4. Observe that a second Tina editor is spawned, and the URL contains duplicate paths.

Screenshot

Screenshot
Figure: Duplicate Tina editors due to iframe nesting issue.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions