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
@@ -631,4 +631,17 @@ const Map<String, String> chineseStrings = {
|
||||
'Saved to Photos': '已保存到相册',
|
||||
"Couldn't save the picture": '无法保存图片',
|
||||
'Storage permission is required to save the picture': '保存图片需要存储权限',
|
||||
|
||||
// browser
|
||||
'Browser': '浏览器',
|
||||
'Enter a URL': '输入网址',
|
||||
'Web browser': '网页浏览器',
|
||||
'Enter a URL above to start browsing': '在上方输入网址开始浏览',
|
||||
'Browser is only available on Android and iOS': '浏览器面板仅支持 Android 和 iOS',
|
||||
'Open in system browser': '在系统浏览器中打开',
|
||||
'Forward': '前进',
|
||||
'Reload': '重新加载',
|
||||
'History': '历史记录',
|
||||
'Invalid URL': '无效的网址',
|
||||
'Could not open the browser: {0}': '无法打开浏览器:{0}',
|
||||
};
|
||||
Reference in new issue
Block a user