๐ก User Interface Rationale
TL;DR: HuBrowserโs UI is designed for familiarity, performance, and user comfortโlike Chrome, but with thoughtful improvements! ๐โจ
Similar to Chrome to Reduce Learning Curve
- Many users say, "Oh, it's just Chrome." But it's not! ๐
- Uses the same browser engine as Desktop ChromeOS and its UI assets. ๐ ๏ธ
- Different architecture: 64-bit, ported desktop engine with desktop features like extensions, casting, multi-window support, and zero tracking. ๐
- We respect Chrome's quality, its 90%+ market share, and the hard work by my former colleagues.
Location Bar at the Top
Buttons
- Extension Button: Works the same as in Desktop Chrome. ๐งฉ
- Tab Switch Icon:
- We changed it because:
- A static icon allows HuBrowser to cache the entire top bar for better performance. โก
- Rendering the icon dynamically with tab counts is overly complex and impacts performance. ๐ข
- Tab counts can add unnecessary mental pressure without providing useful information. ๐ตโ๐ซ
- Allows users to focus on content rather than the number of tabs. ๐ฏ
- HuBrowser's desktop-grade memory management allows as many tabs as desired, with automatic tab caching. ๐ง
- Users need not feel pressured by having many tabs open. ๐
- The number of tabs can be gauged roughly by looking at the tab bar or exactly by tapping the tab switch. ๐
- The dynamic tab count icon was original to Chrome, but many have copied it unnecessarily. ๐
- We changed it because:
- Menu: Simplified for small screens. ๐ฑ
- Top Section: For page actions. โ๏ธ
- Bottom Section: For destinations. ๐บ๏ธ
Why Not Put the Location Bar at the Bottom?
- Placing the location bar at the bottom would cause the bottom bar to render twice every time the keyboard pops up, negating render cache benefits. โณ
- A long location bar is mainly for display and would waste precious bottom screen space better used for user actions. ๐
Why Not More Buttons?
- A long location bar is important for displaying URLs and search queries on small screen. ๐
- Helps prevent fraud by showing the full domain, avoiding misleading URLs where
hubrowser.com.hugle.commight appear ashubrowser.com. ๐จ
- Helps prevent fraud by showing the full domain, avoiding misleading URLs where
- Top buttons are harder to press on small screens. โ๏ธ
Tab Bar at the Bottom
- The bottom bar is ideal for actions. ๐
- Since the bottom bar needs to re-render when the keyboard pops up, it's better to place frequently changing elements here. ๐
- Tab Icons: Perfect for easy tab switching. ๐๏ธ
- New Tab Page and Quick Search Button: Highly useful. ๐๐
- Parrot Assistant Button: Symmetrical counterpart to the menu button in UI position and functionality. ๐ฆ
- The menu button offers layered, predefined options following industry conventions. ๐งญ
- The Parrot Assistant provides a dynamic and personalized experience:
- Control media playback, compare prices when shopping, invoke page-aware AI, etc. ๐ค๐๐ต
Wrap Up
- Both the top and bottom bars are designed as one bar with three buttons, providing symmetry and consistency. โ๏ธ
- Space is efficiently utilized without making buttons feel cramped. ๐งฉ
- It's a perfect balance! ๐๐
