Add formatting toolbars and admin-configurable default sort order #13
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Public/noodlenook!13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "copilot/add-markdown-context-bar"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds context toolbars for inserting markdown/HTML syntax and moves page sort order control to admin settings.
Changes
Formatting Toolbars
MarkdownToolbar.jsx/RichTextToolbar.jsx: New components with buttons for headers, bold, italic, links, lists, code blocks, and blockquotesPageEditor.jsx: Integrated toolbars with cursor-aware insertion logic that wraps selected text and maintains cursor positionAdmin Sort Configuration
SettingsPage.jsx: Added "Display" tab with dropdown to set default sort order (alphabetical, category, recent, creator, custom)backend/routes/settings.js: New/settings/public/:keyendpoint with whitelist for non-sensitive settings accessible to authenticated usersSidebar.jsx: Fetches server-configured default on mount, falls back to localStorage if user has explicit preferenceSecurity
Public settings endpoint uses explicit whitelist (
['default_sort_order']) to prevent exposure of sensitive configuration.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.