Skip to content

Commit 900aead

Browse files
committed
ui
1 parent d018d04 commit 900aead

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

bt/app/ui/config_app.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ namespace bt::ui {
219219
if(w::mi("Rediscover Browsers", true, ICON_MD_REFRESH)) {
220220
rediscover_browsers();
221221
}
222+
w::small_checkbox("Discover firefox containers", g_config.discover_firefox_containers);
222223
if(w::mi(strings::PipelineDebugger, true, ICON_MD_DIRECTIONS_RUN)) {
223224
pv_show = !pv_show;
224225
}
@@ -257,8 +258,6 @@ namespace bt::ui {
257258
app->set_theme(theme_id);
258259
g_config.theme_id = theme_id;
259260
});
260-
261-
w::small_checkbox("Discover firefox containers", g_config.discover_firefox_containers);
262261
}
263262

264263
if(w::menu m{"Picker"}; m) {
@@ -812,6 +811,11 @@ namespace bt::ui {
812811
}
813812
w::tt("Add custom browser definition");
814813
w::sl();
814+
if(w::button(ICON_MD_REFRESH)) {
815+
rediscover_browsers();
816+
}
817+
w::tt("Rediscover system browsers");
818+
w::sl();
815819
w::icon_checkbox(ICON_MD_VISIBILITY, g_config.show_hidden_browsers);
816820
w::tt("Show hidden browsers");
817821

docs/release-notes.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
- improvement: picker width is resized dynamically based on the length or URL and number of browsers/profiles (previously just number of browsers/profiles).
55
- improvement: picker UI elements are displayed in natural order: URL, actions, settings.
66
- improvement: toast will not overflow the screen if URL is too long.
7-
- improvement: added extra button in browser configuration to open user data folder, helping to understand to what BT thinks it is.
7+
- improvement: added extra button in browser configuration to open data folder, helping to understand to what BT thinks it is.
88
- visual change: "About" window has gone and system information is now just part of the "Help" menu, making the UI less cluttered; some indicators removed because they were not useful (CPU/Memory usage which you can get from the Task Manager).
9+
- visual change: "Discover firefox containers" option moved to "Tools", next to "Rediscover browsers", because they are logically close.
10+
- visual change: Added small "Rediscover browsers" button next to browser list for convenience.
911
- bug: config for picker "icon drawing" display mode was not reading properly (reported by @lars18th in #166).
1012
- bug: incorrect default browser detection on some systems, fixed by @intisy in #167.
1113
- bug: "Contact" link in "About" window was dead and removed. You can always contact me via GitHub discussions or on the project page.

0 commit comments

Comments
 (0)