feat: a browser page in the right sidebar, and icon tabs
- the right sidebar gains a Browser tab: address bar (back/forward, URL, go, stop/reload, open in the system browser), history, quick links for localhost:3000/5173/8080, and an embedded WebView on Android/iOS with an error bar and retry; desktop shows a mobile-only hint - Android allows cleartext traffic so local dev servers over HTTP load in the WebView - the tab row is now icons with tooltips (Files, Project knowledge, Terminal, Browser), so four tabs fit a phone without truncated labels; the tabs are kept alive offstage, so switching away and back keeps the browser page and terminal state - webview_flutter 4.14.1; version 0.6.7+607; tests cover the tab icons and the desktop fallback
This commit is contained in:
1 parent
fedc4dd79c
commit
ce944751b4
10 files changed
+563
-24
No files matched your search
@@ -5,6 +5,18 @@
|
||||
|
||||
---
|
||||
|
||||
## 0.6.7 右侧栏浏览器与图标标签(分支 `flutter`)
|
||||
|
||||
| 项 | 结果 |
|
||||
| --- | --- |
|
||||
| 浏览器 | 右侧栏新增【浏览器】页:地址栏(后退 / 前进 / 输入网址 / 前进按钮 / 停止或刷新)、历史记录、在系统浏览器中打开;空状态提供 `localhost:3000`、`5173`、`8080` 快捷入口;页面用嵌入式 WebView 打开(Android/iOS),桌面显示仅移动端可用的提示 |
|
||||
| 地址栏 | 自动补 `http://`(localhost/回环地址)或 `https://`,加载错误时显示错误条和重试;地址字段把光标放在末尾,窄栏也能看到刚访问的部分 |
|
||||
| 标签 | 右侧栏顶部由文字标签改为**图标 + tooltip**(文件、项目知识、终端、浏览器),项目多/栏窄时不再截断文字;四个页签用懒加载的 Offstage 栈保持各自状态(浏览器页面切走再切回不会重新加载) |
|
||||
| 明文 | Android 允许 WebView 加载 HTTP(`usesCleartextTraffic`),本地开发服务器可直接预览 |
|
||||
| 版本 | **0.6.7(code 607)** |
|
||||
|
||||
---
|
||||
|
||||
## 0.6.6 图片查看器:保存/分享与隐藏顶栏(分支 `flutter`)
|
||||
|
||||
| 项 | 结果 |
|
||||
|
||||
Reference in new issue
Block a user