Skip to content

One-line group tabs on small phones; long-press Reload clears site data - #51

Merged
woutervanwijk merged 1 commit into
mainfrom
claude/tabs-compact-reload-clear
Nov 13, 2026
Merged

woutervanwijk merged 1 commit into
mainfrom
claude/tabs-compact-reload-clear

Conversation

@woutervanwijk

Copy link
Copy Markdown
Owner

What changes

Group tabs on small phones — "Network" wrapped onto a second line on narrow phones. The group selector labels are now 13px with tighter padding, and shrink to fit instead of wrapping on even narrower screens.

Long-press Reload — holding the Reload button removes everything the in-app browser stored for the open site (cookies incl. parent-domain ones, cache, local storage and other site data), then reloads on the same tab. A message confirms which site was cleared. A local file is just reloaded.

  • iOS, macOS, Linux: per site (WebStorageManager data records matched to the host).
  • Android: the site's cookies and storage; the WebView cache is shared by all sites and can only be cleared as a whole.
  • The Reload tooltip is now hover-only, so on touch the long press isn't taken by the tooltip.

Testing

  • flutter test: all 1389 pass, incl. new test/services/site_data_reload_test.dart (host matching, clear-then-reload, local file, nothing open).
  • flutter analyze: no errors or warnings.
  • Checked on an iPhone SE (375pt) simulator: tabs on one line; long-press shows "Cleared cookies, cache and storage for www.w3.org" and reloads on the same tab. Not verified that a site's stored data actually disappears (w3.org sets no cookies), and not run on Android or desktop.

🤖 Generated with Claude Code

- Group selector labels never wrap ("Network" broke on narrow phones):
  13px text, less padding, and they shrink to fit as a last resort.
- Long-pressing Reload removes the browser's cookies, cache and storage
  for the open site, then reloads on the same tab. Per site on Apple
  platforms and Linux; on Android the shared WebView cache is cleared as
  a whole. The Reload tooltip is hover-only so it doesn't take the
  long-press on touch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@woutervanwijk
woutervanwijk merged commit 0e152f9 into main Nov 13, 2026
1 check failed
@woutervanwijk
woutervanwijk deleted the claude/tabs-compact-reload-clear branch November 13, 2026 14:18
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