Commit graph

125 commits

Author SHA1 Message Date
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
Shibo Lyu
48f4721e5b refactor[wip]: rich text editor state handling
Create dedicated RichTextEditState class, make editor configuration more
flexible, and modify schema to support multiple text blocks. Add keyboard
submission options.
2025-04-02 02:07:52 +08:00
Shibo Lyu
cd6a8e392e refactor[wip]: replace typewriter-editor with ProseMirror for rich text editing 2025-04-02 01:17:09 +08:00
Shibo Lyu
7299c1dee0 fix: increase button horizontal padding from px-2 to px-2.5 2025-04-02 00:30:40 +08:00
Shibo Lyu
5a7641b4d6 fix: check null encodedKeyPair in onKeyPairChange 2025-04-02 00:30:10 +08:00
Shibo Lyu
82f0fc35b0 deps: bump dependencies 2025-04-02 00:28:58 +08:00
Shibo Lyu
5091053f90 fix(ci): switch to PNPM and update package manager version 2025-03-19 02:23:20 +08:00
Shibo Lyu
b96bdf7ff3 fix: all svelte diagnostics. 2025-03-19 01:48:54 +08:00
Shibo Lyu
4129cac511 refactor: continue to migrate components 2025-03-17 01:54:56 +08:00
Shibo Lyu
1e95dc0830 refactor: migrate to svelte 5, vite 6 and bits-ui 1. 2025-03-17 01:10:15 +08:00
Shibo Lyu
0bb201636a chore: bump tailwind-merge for tw v4 support 2025-03-17 00:25:38 +08:00
Shibo Lyu
cd0bf37a68 chore: upgrade to tailwindcss v4 2025-03-17 00:25:07 +08:00
Shibo Lyu
88551053d9 chore: minimal dependency bump 2025-03-17 00:15:44 +08:00
Shibo Lyu
766d50adc6 wip 2025-03-17 00:03:20 +08:00
Shibo Lyu
67803041cf deps: Bump versions (to last Svelte 4 compatible) 2024-12-04 01:36:08 +08:00