Skip to content

🎨 Palette: Make page actions follow configured links - #40

Open
dezren39 wants to merge 1 commit into
mainfrom
palette/configured-page-actions-10577
Open

dezren39 wants to merge 1 commit into
mainfrom
palette/configured-page-actions-10577

Conversation

@dezren39

@dezren39 dezren39 commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Fixes #38.

💡 What

Use editBaseUrl and newBaseUrl for page actions throughout the hook, sidebar, tree, and footer. Make “New Note” open at the repository root and “New Note in Folder” open in the current folder, with matching tooltip text.

🎯 Why

The actions ignored configured repository URLs, and the two new-note actions had the same destination, making customization and choosing the right action confusing.

📸 Before / after

Before, the new-note actions shared a folder destination. After, the root and folder actions are distinct. No visual layout change to capture.

♿ Accessibility

Keep the existing distinct ARIA labels, and make title text distinguish the root action from the folder-specific action.

Verification

  • nix build -o /tmp/opencode/zettel-site
  • Generated-site assertions confirm configured edit/root/folder URLs resolve and are distinct, with no unresolved template values.
  • git diff --check

Confidence

High confidence; the build and generated-site assertions passed. Leave open for CI and human review; no merge requested.

License

  • I release the following change request under the default LICENSE configuration described here: README.md#license
  • I release the following change request under the following LICENSE configuration:
    • The LICENSE is documented within the content.
    • The LICENSE is included in the repo.
    • The LICENSE is linked prominently in the content.
    • The LICENSE is within the content.
    • The LICENSE is a recognized, common license identified by a known authority.
    • License Name:
    • SPDX License Identifier:
    • Explained the reason for the different license below.

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 5, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 57 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5b4ad0ee-cb8e-4cf5-97b6-0a91685d2ac8
Commits

Reviewing files that changed from the base of the PR and between 4ea6711 and ab8d16e.

Files selected for processing: 6

  • .github/workflows/ci.yaml
  • .jules/palette.md
  • templates/components/footer.tpl
  • templates/components/sidebar-tree.tpl
  • templates/components/sidebar.tpl
  • templates/hooks/after-note.tpl
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T15:00:31.141820Z ab8d16e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch was successfully deployed

1 active deployment
ci — ab8d16e3 Deployed Nov 5, 2026 by dezren39 via ci #372
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use configured edit/new base URLs in page-action links

1 participant