Skip to content

Enhance Mastodon theme: compact mode, mobile sidebar, cosmetics (#596)#634

Merged
akirk merged 11 commits intomainfrom
enhance/mastodon-theme-596
Apr 1, 2026
Merged

Enhance Mastodon theme: compact mode, mobile sidebar, cosmetics (#596)#634
akirk merged 11 commits intomainfrom
enhance/mastodon-theme-596

Conversation

@akirk
Copy link
Copy Markdown
Owner

@akirk akirk commented Apr 1, 2026

Fixes #596

Changes

  • Add expand/compact mode toggle with keyboard shortcuts (j/k/n/p/o/space/s/v/?)
  • Add mobile sidebar with hamburger menu, close button, and search with autocomplete
  • Improve profile page cosmetics: spacing, folder dropdown styling, external links in new tab, message section styling
  • Hide follow button on boosts (desktop hover only, never on mobile)
  • Use normal font weight for "boosted" text to distinguish from post author
  • Always show single post page in expanded mode
  • Show post title as preview in compact mode for posts with headlines

Thanks @Mulder42 for the detailed suggestions!

Testing instructions

  • Toggle compact/expanded mode on main feed and author pages
  • Verify keyboard shortcuts work in compact mode
  • Test mobile: hamburger menu opens sidebar, search with autocomplete works
  • Check single post pages always show expanded
  • Verify boost posts show lighter "boosted" text and no follow button on mobile
  • Check profile page spacing (avatar, description, links, folder dropdown, messages)

Changelog entry

  • Automatically create a changelog entry from the details below.
Changelog Entry Details

Type

  • Added - for new features
  • Changed - for changes in existing functionality
  • Fixed - for any bug fixes
  • Removed - for now removed features

Message

Mastodon theme: compact mode, mobile sidebar, and profile page cosmetics

akirk added 10 commits April 1, 2026 14:37
- Symmetric post padding (top/bottom both 16px)
- More spacing below profile image and description
- Style folder dropdown to blend into chip design
- Open external profile links in new window
- Style message section to match post cards
- Move search into right sidebar (visible when left column is hidden)
- Make status post avatars link to local friends page instead of external URL
Wire up form-autocomplete markup and menu to both the left-column
and right-sidebar search inputs so autocomplete results appear.
Show on desktop hover only, never on mobile where hover isn't available.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

Test this PR in WordPress Playground

You can test this pull request directly in WordPress Playground:

Launch WordPress Playground

This will install and activate the plugin with the changes from this PR.

@akirk akirk merged commit 3d459d2 into main Apr 1, 2026
@akirk akirk deleted the enhance/mastodon-theme-596 branch April 1, 2026 12:40
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.

Friends Main Feed Not Updating

1 participant