Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Rust#574

Draft
narumincho wants to merge 97 commits intomain from
rust
Draft

Rust #574
narumincho wants to merge 97 commits intomain from
rust

Conversation

@narumincho
Copy link
Owner

@narumincho narumincho commented Jan 18, 2026

No description provided.

Introduce a controlled message input and client-side send flow, and rename the DB save function.
- Add message_input field to AppState in client and server-initialized state so the UI can hold draft messages.
- Implement a controlled Input in event_list: update AppState on input events, build and sign a Message event, and post it asynchronously; clear the input after sending. Replace direct DOM lookup with state-driven value.
- Update server handler to initialize message_input in the served AppState.
- Rename db function save_create_account_event -> save_event and update its call site in main.rs.
- Minor cleanup: unused EventHandler parameters renamed to _set_state in login/create dialog handlers.
These changes enable composing and sending message events from the UI and align the server DB API naming. Follow-up: ensure db::save_event implementation persists message events as intended.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /