Skip to content

Make obsolete Pinned section read-only#394

Merged
tkuhn merged 1 commit intomasterfrom
393-read-only-pinned-section
Mar 13, 2026
Merged

Make obsolete Pinned section read-only#394
tkuhn merged 1 commit intomasterfrom
393-read-only-pinned-section

Conversation

@tkuhn
Copy link
Copy Markdown
Contributor

@tkuhn tkuhn commented Mar 13, 2026

Summary

  • Remove "+" buttons for adding pinned templates and queries to spaces
  • Hide the entire Pinned section when no pinned content exists (instead of showing "(nothing has been pinned yet)")
  • Move the Pinned section header/wrapper into PinGroupList so it can control its own visibility

Closes #393

Test plan

  • Visit a space page that has pinned content — verify the Pinned section still displays correctly
  • Visit a space page with no pinned content — verify the Pinned section is completely hidden
  • Verify no "+" buttons appear for adding templates or queries to the Pinned section
  • Test lazy-loading path (clear cache / first load) — section should appear only if pins exist

🤖 Generated with Claude Code

Remove buttons for adding pinned templates/queries and hide the
entire Pinned section when no pinned content exists.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tkuhn tkuhn merged commit a333c60 into master Mar 13, 2026
8 checks passed
@tkuhn tkuhn deleted the 393-read-only-pinned-section branch March 13, 2026 15:30
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 4.18.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make obsolete "Pinned" section read-only

1 participant