Skip to content

🐛 TinaDocs Bug - Client-side Exception When Deleting Docs Page Without Removing Navbar Link #102

@joshbermanssw

Description

@joshbermanssw

Requested by: @joshbermanssw via YakShaver.ai 🦬
cc: @joshbermanssw, @Marxoz, @wicksipedia, @adamcogan

Hi Team!

  🟥  Watch the video (28 sec)

Pain

A client-side exception occurs on all pages using the navigation bar component when a docs page is deleted without removing its link from the navbar. This needs to be addressed to prevent errors across the site.

Acceptance Criteria

  1. No client-side exceptions occur when a docs page is deleted without removing its link from the navbar.
  2. The navigation bar should handle missing links gracefully.
  3. Documentation is updated to include steps for safely deleting a docs page.

Reproduce Steps

  1. Delete a docs page from the Tina.io repository.
  2. Ensure the link to the deleted page remains in the navigation bar component.
  3. Navigate to any page using the navigation bar.
  4. Observe the client-side exception that occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions