Skip to content

Workspace / profile switcher (multi-Google-account support) #11

@GyaneshSamanta

Description

@GyaneshSamanta

Problem

Today the app uses a single persist:notebooklm session partition, so only one Google account is logged in. Users with personal + work accounts have to log out and back in.

Proposed approach

  • Add a "Profile" dropdown in settings or title bar.
  • Each profile uses a distinct session partition string (e.g. persist:notebooklm-work, persist:notebooklm-personal).
  • Switching profiles reloads the webviews against the new partition. No data crosses profiles.

Files to touch

  • src/settings.js — new `profiles` array + `activeProfile` key
  • src/main.js — pass partition string through to renderer
  • src/index.html — webview `partition` attribute needs to be set dynamically (may need to recreate webviews)
  • src/renderer.js — profile switcher UI

Acceptance criteria

  • Add / rename / delete profiles in settings.
  • Switching profiles fully isolates session data.
  • Persists across restarts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:settingsSettings module and configenhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions