Skip to content

Conversation

@athal7
Copy link
Contributor

@athal7 athal7 commented Jan 7, 2026

Summary

  • PWA support with service worker caching and web manifest
  • Mobile UI improvements for iOS/Android browsers
  • Touch-friendly controls and keyboard handling

Features

  • Service worker with intelligent caching (stale-while-revalidate)
  • Web app manifest for installable PWA experience
  • iOS meta tags and safe area inset support for notched devices
  • Virtual keyboard detection for proper layout adjustments
  • Mobile tab bar for session/context view switching
  • Project reordering via move up/down menu options on mobile
  • Scroll-to-bottom button when not at conversation end

Bug Fixes

  • Cache app state to localStorage for instant restore on app switch
  • Eliminate white/black flash on PWA app restore
  • Initialize server URL immediately to avoid blank first render
  • Status button taps now switch to context view on mobile
  • Explicitly clear input DOM when sending message
  • Track scroll position correctly for scroll button visibility
  • Simplify input positioning to let iOS handle keyboard natively
  • Fix totalSessions count for accurate 'Load more' display

Related Issues

Demo

Before

trim.3D3639B6-5A06-4CEC-A581-2E71E71D836D.MOV

After

trim.DC05A0D8-1C92-40CB-8646-1D8C25C2CC2D.MOV

@athal7 athal7 requested a review from adamdotdevin as a code owner January 7, 2026 21:52
@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@athal7 athal7 marked this pull request as draft January 7, 2026 22:03
@athal7 athal7 force-pushed the opencode/hidden-forest branch 3 times, most recently from 8e14998 to 1f1089e Compare January 7, 2026 22:15
@athal7 athal7 marked this pull request as ready for review January 7, 2026 22:17
@athal7 athal7 force-pushed the opencode/hidden-forest branch 3 times, most recently from 70a44b5 to e016d06 Compare January 7, 2026 22:51
@athal7 athal7 marked this pull request as draft January 7, 2026 22:55
@athal7 athal7 force-pushed the opencode/hidden-forest branch from e016d06 to 67cc211 Compare January 7, 2026 22:58
@athal7 athal7 marked this pull request as ready for review January 7, 2026 23:18
@athal7 athal7 changed the title feat(app): add mobile-friendly web UI feat(app): add PWA support and mobile UI improvements Jan 7, 2026
@athal7 athal7 changed the title feat(app): add PWA support and mobile UI improvements feat: add PWA support and mobile UI improvements Jan 8, 2026
athal7 added 2 commits January 9, 2026 08:33
- Add PWA support with service worker, manifest, and iOS meta tags
- Add virtual keyboard detection hook for proper layout adjustments
- Add safe area inset CSS variables for notched devices
- Improve touch target sizes for mobile accessibility (44px minimum)
- Add mobile tab bar for switching between session and review views
- Use stale-while-revalidate caching for unhashed static assets
- Add explicit logo export for TypeScript resolution

# Conflicts:
#	packages/app/src/pages/layout.tsx
#	packages/app/src/pages/session.tsx
- Add on:click handler to session/new session links to dismiss mobile sidebar
- Increase archive button padding from p-2.5 to p-3.5 for 44px min touch target

# Conflicts:
#	packages/app/src/pages/layout.tsx
@athal7 athal7 force-pushed the opencode/hidden-forest branch from d72695d to 0da9180 Compare January 9, 2026 15:09
@athal7 athal7 marked this pull request as draft January 10, 2026 23:37
@athal7 athal7 force-pushed the opencode/hidden-forest branch from 53edd99 to b71327b Compare January 11, 2026 19:38
## Features
- Service worker with intelligent caching (stale-while-revalidate)
- Web app manifest for installable PWA experience
- iOS meta tags and safe area inset support for notched devices
- Virtual keyboard detection for proper layout adjustments
- Mobile tab bar for session/context view switching
- Project reordering via move up/down menu options on mobile
- Scroll-to-bottom button when not at conversation end

## Bug Fixes
- Cache app state to localStorage for instant restore on app switch
- Eliminate white/black flash on PWA app restore
- Initialize server URL immediately to avoid blank first render
- Status button taps now switch to context view on mobile
- Explicitly clear input DOM when sending message
- Track scroll position correctly for scroll button visibility
- Simplify input positioning to let iOS handle keyboard natively
- Fix totalSessions count for accurate 'Load more' display

Closes anomalyco#5126
@athal7 athal7 force-pushed the opencode/hidden-forest branch from e359812 to 085ad3d Compare January 11, 2026 21:37
@athal7 athal7 marked this pull request as ready for review January 11, 2026 23:36
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.

[FEATURE]: Mobile-friendly web UI

1 participant