Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions frontend/src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ fn handle_desktop_run_event(app_handle: &tauri::AppHandle, event: tauri::RunEven

// This handles incoming deep links
fn handle_deep_link_event(url: &str, app: &tauri::AppHandle) {
log::info!("[Deep Link] Received: {url}");
// OAuth callbacks carry bearer tokens in the query string, so never log the raw URL.
log::info!("[Deep Link] Received callback");
// Forward the URL to the frontend
match app.emit_to("main", "deep-link-received", url.to_string()) {
Ok(_) => log::info!("[Deep Link] Event emitted successfully"),
Expand All @@ -59,8 +60,9 @@ fn handle_deep_link_event(url: &str, app: &tauri::AppHandle) {
pub fn run() {
#[cfg(desktop)]
let app = tauri::Builder::default()
.plugin(tauri_plugin_single_instance::init(|app, argv, cwd| {
log::info!("Single instance detected: {}, {argv:?}, {cwd}", app.package_info().name);
.plugin(tauri_plugin_single_instance::init(|app, _argv, _cwd| {
// argv can contain a custom-scheme callback URL with OAuth bearer tokens.
log::info!("Single instance detected for {}", app.package_info().name);
}))
.plugin(tauri_plugin_log::Builder::default().level(log::LevelFilter::Info).build())
.plugin(tauri_plugin_deep_link::init())
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { NotificationProvider } from "./contexts/NotificationContext";
import { ThemeProvider } from "./contexts/ThemeContext";
import { ProxyEventListener } from "./components/ProxyEventListener";
import { UpdateEventListener } from "./components/UpdateEventListener";
import { TeamSeatMismatchAlert } from "./components/team/TeamSeatMismatchAlert";
import { TTSProvider } from "./services/tts/TTSContext";

const DEFAULT_OPEN_SECRET_CLIENT_ID = "ba5a14b5-d915-47b1-b7b1-afda52bc5fc6";
Expand Down Expand Up @@ -109,7 +108,6 @@ export default function App() {
<ProxyEventListener />
<UpdateEventListener />
<DeepLinkHandler />
<TeamSeatMismatchAlert />
<InnerApp />
</BillingServiceProvider>
</TTSProvider>
Expand Down
228 changes: 0 additions & 228 deletions frontend/src/components/AccountDialog.tsx

This file was deleted.

Loading
Loading