commit be8e36e0b6cc0c77877931c2819fb0ca2c2d19d4
parent 6c5582757e7cff54b552c0428400be64ba5e7b17
Author: William Casarin <jb55@jb55.com>
Date: Sat, 24 Jan 2026 15:23:58 -0800
chrome: add --no-columns-app
This allows us to quickly iterate on specific apps without
the main columns app
I didn't make this a feature flag yet since it appears we
have some column things entangled in the chrome atm
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/crates/notedeck_chrome/src/chrome.rs b/crates/notedeck_chrome/src/chrome.rs
@@ -153,12 +153,14 @@ impl Chrome {
let context = &mut notedeck.app_context();
let dave = Dave::new(cc.wgpu_render_state.as_ref());
- let columns = Damus::new(context, app_args);
let mut chrome = Chrome::default();
- notedeck.check_args(columns.unrecognized_args())?;
+ if !app_args.iter().any(|arg| arg == "--no-columns-app") {
+ let columns = Damus::new(context, app_args);
+ notedeck.check_args(columns.unrecognized_args())?;
+ chrome.add_app(NotedeckApp::Columns(Box::new(columns)));
+ }
- chrome.add_app(NotedeckApp::Columns(Box::new(columns)));
chrome.add_app(NotedeckApp::Dave(Box::new(dave)));
#[cfg(feature = "messages")]