Skip to content

Add pinned-apps menu with settings, UI and app-page pin buttons#47

Open
360-Host wants to merge 2 commits into
mainfrom
codex/pin-apps-from-apps.html-to-menu-bar-qme8ms
Open

Add pinned-apps menu with settings, UI and app-page pin buttons#47
360-Host wants to merge 2 commits into
mainfrom
codex/pin-apps-from-apps.html-to-menu-bar-qme8ms

Conversation

@360-Host

Copy link
Copy Markdown
Collaborator

Motivation

  • Provide users a way to pin favorite apps into the sidebar for fast access and let them control where the pinned shortcuts appear.
  • Surface new apps on the Apps page and allow quick pin/unpin interactions directly from app cards.

Description

  • Implement a pinned-apps system persisted in localStorage using keys 360_pinned_apps and 360_pinned_apps_position and a catalog PINNED_APP_CATALOG in assets/js/main.js with helper functions like getPinnedAppHrefs, togglePinnedApp, normalizeAppHref, and safeParseJSON.
  • Render pinned apps into the sidebar via renderSidebar() with configurable placement (after-apps, top, bottom) and expose initPinnedAppsSettings() to add a settings panel UI (position selector and checkboxes) that updates storage and re-renders on change.
  • Add pin/unpin buttons on app cards via initAppsPagePinButtons() and update apps.html to add a "New Apps" section with links and New! badges, fixing markup structure for the apps grid.
  • Add CSS styles to assets/css/main.css for pinned app sections, toggles and the .app-pin-btn, and refactor event handling in assets/js/main.js to use delegated sidebar click handling, delegated settings button handling, and improved ripple/tap behavior, while exposing markActiveNav() for reuse.

Testing

  • No automated tests were run.

Codex Task

@supabase

supabase Bot commented Jul 19, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project wiswfpfsjiowtrdyqpxy because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@360-Host
360-Host requested review from Zakii360 and mingzew2 July 19, 2026 13:32
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.

2 participants