Skip to content

Commit 1889c03

Browse files
committed
Implement go_router and update colors everywhere
1 parent 5e64c20 commit 1889c03

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+51184
-683
lines changed

.context/01_rust_api.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ Since we'll be using Riverpod to create high-level providers that give access gl
2121
```rust
2222
struct WhitenoiseState {
2323
config: WhitenoiseConfig, // The config object passed in to initialize Whitenoise
24-
accounts: Vec<Account>, // Vec of accounts that are signed in
25-
active_account: Option<PublicKey>, // Optional in case there is no signed in accounts
24+
account: Account
25+
// This will be the future when we bring back multiple accounts
26+
// accounts: Vec<Account>, // Vec of accounts that are signed in
27+
// active_account: Option<PublicKey>, // Optional in case there is no signed in accounts
2628
}
2729
```
2830

@@ -281,8 +283,8 @@ async fn login(secret_key: String) -> Result<Account, Error> {}
281283
/// Logs out an account by its public key. Optionally deletes all associated data (groups, messages, etc.).
282284
async fn logout(pubkey: PublicKey, delete_data: bool) -> Result<(), Error> {}
283285

284-
/// Update the active account
285-
async fn update_active_account(pubkey: PublicKey) -> Result<Account, Error> {}
286+
/// Update the active account - will come when we bring back multi-account
287+
// async fn update_active_account(pubkey: PublicKey) -> Result<Account, Error> {}
286288

287289
/// Updates an account's metadata (kind 0 event).
288290
async fn update_account_metadata(pubkey: PublicKey, metadata: Metadata) -> Result<Account, Error> {}
File renamed without changes.

.cursor/rules/vibe-tools.mdc

Lines changed: 182 additions & 0 deletions
Large diffs are not rendered by default.
File renamed without changes.

0 commit comments

Comments
 (0)