Skip to content

Revert: Chrome-shaped home + panel, and the gradlew mode fix - #22

Merged
GothwadTech merged 2 commits into
mainfrom
revert/browser-ui
Dec 2, 2026
Merged

GothwadTech merged 2 commits into
mainfrom
revert/browser-ui

Conversation

@GothwadTech

@GothwadTech GothwadTech commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Exactly reverses my two merges.

After this, main is byte-identical to cf21b36 again.

Summary by CodeRabbit

  • Updated Experience
    • The browser now displays the updated overflow menu and new-tab screen.
  • Visual Changes
    • Settings destination rows now show their titles and optional subtitles without leading icons.

@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: Browser screen components

Layer / File(s) Summary
New-tab screen replacement
app/src/main/java/com/bansify/browser/ui/BrowserApp.kt, app/src/main/java/com/bansify/browser/ui/screens/ChromeHomeScreen.kt
BrowserApp renders NewTabScreen with the existing settings, tab content, and callbacks. ChromeHomeScreen and its supporting UI are removed.
Overflow menu replacement
app/src/main/java/com/bansify/browser/ui/BrowserApp.kt, app/src/main/java/com/bansify/browser/ui/components/ChromeMenuPanel.kt
BrowserApp renders ChromeOverflowMenu with the existing arguments and callbacks. ChromeMenuPanel and its supporting composables are removed.

Settings destination rows

Layer / File(s) Summary
Settings row content
app/src/main/java/com/bansify/browser/ui/screens/SettingsScreen.kt
ExpressiveSettingsCardRow no longer accepts or renders an icon. The Basics and Advanced call sites no longer pass icons, and the icon mapping and unused imports are removed.

Possibly related PRs

  • Bansify/browser#20: This PR introduced the screen, menu, BrowserApp wiring, and settings-icon changes that PR #22 removes or reverses.

Change: Other

Merge Risk: Minimal · up to 7d044

This revert restores the previous new-tab screen, overflow menu and settings rows, and no code issues were found. The Gradle dependency-submission CI job fails because gradlew is not executable after the mode revert. This matches the stated intent, but the author should be aware of it.

Security architecture risk: Minimal · up to 7d044

NewTabScreen restores local shortcut management without exposing it in incognito. ChromeOverflowMenu limits page-only actions to web tabs. The Gradle wrapper loses its executable bit on checkout, but the checked-in build and release workflows restore it before use. No material regression in security, state ownership, or release reliability was established.

Security review details

Security Blast Radius

  • inferred — The restored shortcut write surface requires interaction with the normal new-tab UI and affects the app's local shortcuts table. Rendering shortcut and history avatars does not itself send their URLs to a favicon service.

Trust Boundaries and Controls

  • observed — ChromeOverflowMenu narrows Site Controls and page actions such as sharing, printing, and the ad-block exception to web tabs. BrowserApp still binds printing to the active tab's existing WebView and gates the ads action on ad blocking being enabled and the host not already being allowlisted.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: de982d6b-1829-4d7b-83f1-f683ddd5c225
Commits

Reviewing files that changed from the base of the PR and between 9149612 and 7d04404.

Files selected for processing: 5

  • app/src/main/java/com/bansify/browser/ui/BrowserApp.kt
  • app/src/main/java/com/bansify/browser/ui/components/ChromeMenuPanel.kt
  • app/src/main/java/com/bansify/browser/ui/screens/ChromeHomeScreen.kt
  • app/src/main/java/com/bansify/browser/ui/screens/SettingsScreen.kt
  • gradlew
Files with no reviewable changes: 2

  • app/src/main/java/com/bansify/browser/ui/components/ChromeMenuPanel.kt
  • app/src/main/java/com/bansify/browser/ui/screens/ChromeHomeScreen.kt

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@GothwadTech
GothwadTech merged commit 9392b69 into main Dec 2, 2026
4 of 5 checks passed
@GothwadTech
GothwadTech deleted the revert/browser-ui branch December 2, 2026 08:19
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