Skip to content

Polish UI: lucide icons, sticky footer, hamburger nav, clickable logo#162

Merged
andrew merged 1 commit into
mainfrom
ui-polish
Jun 7, 2026
Merged

Polish UI: lucide icons, sticky footer, hamburger nav, clickable logo#162
andrew merged 1 commit into
mainfrom
ui-polish

Conversation

@andrew
Copy link
Copy Markdown
Contributor

@andrew andrew commented Jun 7, 2026

Bundle of small UI tweaks made while clicking around the dashboard.

  • Move third-party JS to internal/server/static/vendor/ and vendor lucide for icons. Refines .gitignore so the Go vendor/ rule only matches the repo root and doesn't swallow embedded UI vendor dirs.
  • Replace the folder/file emojis in the source browser with lucide folder (amber) and file (gray) icons; the parent .. row uses corner-left-up. lucide.createIcons() is re-run after the file tree fetch so dynamically inserted icons get upgraded.
  • Wrap the header logo and title in a single <a href=\"/ui/\"> so clicking the cube icon also returns to the dashboard.
  • Drop the redundant "Powered by git-pkgs" block from the footer. Add a GitHub repo link to the About column as a second paragraph, and bump the ecosystem count from 16+ to 17+ to match supportedEcosystems().
  • Sticky footer pattern: body becomes min-h-full flex flex-col with main as flex-1, so the footer drops to the bottom of the viewport on short pages and sits below the content on longer ones.
  • Hamburger menu under the md breakpoint: search bar and nav links collapse into a drawer toggled by a menu button, with menu/x lucide icons swapping via wrapping spans so the lucide replacement doesn't fight the class toggle. Theme toggle stays visible at both sizes. Search form and nav links are extracted into shared partials so the desktop bar and the drawer render the same markup.

- Move third-party JS into static/vendor/ and add lucide for icons; refine
  .gitignore so embedded vendor dirs aren't caught by the Go vendor rule.
- Replace folder/file emojis in the source browser with lucide icons.
- Wrap the header logo and title in a single anchor so the icon is clickable.
- Drop the redundant "Powered by git-pkgs" footer block; add a GitHub repo
  link to the About column and bump the ecosystem count from 16+ to 17+.
- Sticky footer pattern: body is min-h-full flex column with main growing to
  fill, so the footer sits at the bottom of short pages.
- Hamburger menu under md: search and nav links collapse into a drawer
  toggled by a menu button; theme toggle stays visible at both sizes.
@andrew andrew merged commit 8c28b02 into main Jun 7, 2026
8 checks passed
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.

1 participant