Commit graph

139 commits

Author SHA1 Message Date
Shibo Lyu
68ee309b42 chore: Update dependencies.
Some checks failed
Build & Test / build (20.x) (push) Has been cancelled
Build & Test / build (22.x) (push) Has been cancelled
2025-05-29 02:00:24 +08:00
Shibo Lyu
75239c865d refactor: Update @blah-im/core to 0.10.0 and refactor message manager
- Move MessageManager to src/lib/blah/chat with sectioning logic
- Remove old messageManager from connection
- Add message sectioning utility
- Update apiCall to support query params
- Update chat exports and types
2025-05-29 01:56:04 +08:00
Shibo Lyu
e410dc915f chore: upgrade deps 2025-05-23 00:52:59 +08:00
Shibo Lyu
fbfcc34102 refactor: connection module and update identity handling
Some checks failed
Build & Test / build (20.x) (push) Has been cancelled
Build & Test / build (22.x) (push) Has been cancelled
2025-05-22 01:22:29 +08:00
Shibo Lyu
b05c47037c chore: bump @blah-im/core and other deps.
Some checks are pending
Build & Test / build (20.x) (push) Waiting to run
Build & Test / build (22.x) (push) Waiting to run
2025-05-21 03:47:06 +08:00
Shibo Lyu
c885f66847 refactor: Chat connection code split into message and room managers
Some checks failed
Build & Test / build (20.x) (push) Has been cancelled
Build & Test / build (22.x) (push) Has been cancelled
2025-05-15 02:29:13 +08:00
Shibo Lyu
6bbd7a6428 fix: Simplify Button component props type definition 2025-05-15 02:28:38 +08:00
Shibo Lyu
fa56942e09 chore: Upgrade @blah-im/core from 0.7.0 to 0.8.2 2025-05-15 02:28:09 +08:00
Shibo Lyu
826d8528ea chore: bump deps 2025-05-12 01:41:48 +08:00
Shibo Lyu
4b51f2ebeb feat: Add account export functionality for identity backup
Some checks failed
Build & Test / build (20.x) (push) Has been cancelled
Build & Test / build (22.x) (push) Has been cancelled
2025-05-09 01:28:37 +08:00
Shibo Lyu
e1d025470b feat: Implement password change feature with multistep flow 2025-05-08 23:53:59 +08:00
Shibo Lyu
f9b7d6e9a1 chore: update deps 2025-05-08 23:31:09 +08:00
Shibo Lyu
66b467d270 chore: update dependencies
Some checks failed
Build & Test / build (20.x) (push) Has been cancelled
Build & Test / build (22.x) (push) Has been cancelled
2025-04-30 23:07:54 +08:00
Shibo Lyu
757175a5c7 chore: update @blah-im/core and use ID URL validation from it
Upgrade pnpm to 10.10.0 and @blah-im/core to 0.7.0, refactor
identity URL validation to use the core library's
getIdentityDescriptionFileURL function
2025-04-30 23:06:54 +08:00
Shibo Lyu
c5716718bf feat[wip]: Add password change functionality
Some checks failed
Build & Test / build (20.x) (push) Has been cancelled
Build & Test / build (22.x) (push) Has been cancelled
Add method to update ID key pair encoding for password changes and create
privacy-security page with password change dialog.
2025-04-28 00:54:54 +08:00
Shibo Lyu
8ca572e32e chore: remove deprecated accountStore. 2025-04-28 00:54:26 +08:00
Shibo Lyu
eb710a06c8 fix: Update redirect path after account creation to profile page
Some checks are pending
Build & Test / build (20.x) (push) Waiting to run
Build & Test / build (22.x) (push) Waiting to run
2025-04-27 18:59:20 +08:00
Shibo Lyu
833460d709 feat: domain setup 2025-04-27 18:55:31 +08:00
Shibo Lyu
b3e16f2063 feat[wip]: domain setup dialog
Some checks are pending
Build & Test / build (20.x) (push) Waiting to run
Build & Test / build (22.x) (push) Waiting to run
2025-04-27 02:39:07 +08:00
Shibo Lyu
1880726a8c chore: Update vite from 6.3.2 to 6.3.3 2025-04-27 00:06:32 +08:00
Shibo Lyu
bfcee3aceb chore: Remove @melt/* dependencies.
Some checks failed
Build & Test / build (20.x) (push) Has been cancelled
Build & Test / build (22.x) (push) Has been cancelled
Decided to use bits-ui for now, but prefer new Rune-compatible version
of melt once it has more components.
2025-04-24 02:20:43 +08:00
Shibo Lyu
cfc6ef2bf9 chore: Replace @tailwindcss/postcss with @tailwindcss/vite. 2025-04-24 02:06:55 +08:00
Shibo Lyu
ace10a2270 chore: bump deps, node & pnpm versions. 2025-04-24 02:02:05 +08:00
Shibo Lyu
ca7783dc1b fix: Add badge support to GroupedListItem component
Some checks failed
Build & Test / build (20.x) (push) Has been cancelled
Build & Test / build (22.x) (push) Has been cancelled
Implement badge in UsernameItem to display validation status and Fix button
2025-04-17 03:32:44 +08:00
Shibo Lyu
c379933787 refactor: Refactor Button and GroupedListItem components
Improve component typing with more specific HTML attribute types and
implement conditional rendering based on properties. Use Svelte snippets
to avoid code duplication and enhance component flexibility.
2025-04-17 02:28:08 +08:00
Shibo Lyu
9e79b29c69 feat[WIP]: Add username display and validation to profile page
Some checks failed
Build & Test / build (20.x) (push) Has been cancelled
Build & Test / build (22.x) (push) Has been cancelled
2025-04-16 02:11:16 +08:00
Shibo Lyu
fc47399e2c feat: Add identity URL validation utilities 2025-04-16 02:10:49 +08:00
Shibo Lyu
b56b47df82 fix: Add initialDoc prop and BlahRichText conversion utility
Fix typo in schema ("paragragh" -> "paragraph") and implement
bidirectional conversion between BlahRichText and ProseMirror formats.
Update profile page to use new initialDoc prop instead of children.
2025-04-16 00:46:34 +08:00
Shibo Lyu
aaedd69889 feat[wip]: Profile edit page
Some checks failed
Build & Test / build (20.x) (push) Has been cancelled
Build & Test / build (22.x) (push) Has been cancelled
2025-04-14 03:43:00 +08:00
Shibo Lyu
0be74f387a fix: Remove unused Svelte Component import 2025-04-14 03:42:22 +08:00
Shibo Lyu
0314dda377 fix: Add GroupedListContent component to exports 2025-04-14 03:41:56 +08:00
Shibo Lyu
a1f0e4d4bd fix: Button component typing and add background style
Add proper TypeScript discriminated union type to ensure correct HTML
attributes based on whether the component renders as a button or anchor.
Also add bg-sb-primary class to the component's base styles.
2025-04-14 03:41:27 +08:00
Shibo Lyu
35315ca5f3 fix(accounts): Do not attempt to decode ID key if password is not provided 2025-04-14 03:40:51 +08:00
Shibo Lyu
924427a810 refactor: Account management and settings navigation
Move profile page to /settings/account/profile and replace
CurrentAccountPicture with CurrentAccountIndicator component
using the new account manager pattern. Update identity type
to accept null instead of undefined.
2025-04-14 01:33:24 +08:00
Shibo Lyu
73522535f9 fix: Add medium font weight to GroupedListContent 2025-04-14 00:54:25 +08:00
Shibo Lyu
b467ec1491 refactor: account management system
Replace store-based approach with manager-based implementation and update
related components to use the new system. Change ProfilePicture props
from `account` to `identity`.
2025-04-14 00:49:59 +08:00
Shibo Lyu
055f7240df refactor: ProfilePicture to use Identity instead of Account 2025-04-14 00:28:55 +08:00
Shibo Lyu
308eef1cff feat: Implement AccountManager
Replace simple keystore with a full-featured AccountManager that handles
identity management, account creation, and authentication. Update account-
related UI components to integrate with the new system.
2025-04-13 02:23:06 +08:00
Shibo Lyu
99a6ea0459 chore: Upgrade Svelte to 5.26.2 and @blah-im/core to 0.6.0 2025-04-13 00:57:00 +08:00
Shibo Lyu
6b32bda600 refactor: Update account creation UI and bump @blah-im/core
Improve identity provider selection with proper self-hosting flow options.
Fix empty state detection in rich text editor and display shortened
account ID key in settings screen.
2025-04-12 22:34:01 +08:00
Shibo Lyu
a27b585f26 fix: Navigation to only occur after successful account creation 2025-04-12 04:18:50 +08:00
Shibo Lyu
a5e1a07e69 refactor: Add GroupedListContent and enhance GroupedList components 2025-04-12 04:17:59 +08:00
Shibo Lyu
39de2176fa fix: State reference in RichTextInput dispatchTransaction
Use editorView.state instead of closed-over state variable to ensure
we're always working with the latest editor state
2025-04-12 03:56:22 +08:00
Shibo Lyu
a5ae23b229 fix: Rich text bio input in account creation
Replace Typewriter-Editor with ProseMirror for bio handling and simplify section headers throughout the form
2025-04-12 03:49:38 +08:00
Shibo Lyu
a954510d38 fix: Text truncation in GroupedListItem component 2025-04-12 03:48:15 +08:00
Shibo Lyu
388bd84b0f chore: Upgrade @blah-im/core to 0.5.0 2025-04-12 03:46:53 +08:00
Shibo Lyu
d2c4b5aa47 fix: Replace hardcoded SVGs in ChatInput with svelte-hero-icons components 2025-04-12 02:54:28 +08:00
Shibo Lyu
a08122663e refactor: Message input now use ProseMirror directly
Remove Delta/Typewriter-editor dependency and implement ProseMirror-based
rich text conversion. Add methods to access the editor view and improve
the architecture of text input components.
2025-04-12 02:48:45 +08:00
Shibo Lyu
f5c74e02ea chore: Update Node to v22.14.0 and upgrade dependencies 2025-04-11 18:22:45 +08:00
Shibo Lyu
db186636a3 refactor: Replace Typewriter editor with ProseMirror
Switch the rich text editor implementation from Typewriter to
ProseMirror for better document model and editing capabilities.
2025-04-11 02:58:06 +08:00