Commit Graph

14 Commits

Author SHA1 Message Date
admin e512a42483 Revert "feat(chat): add composer action menu"
This reverts commit 7789673fff.
2026-07-21 11:04:39 +08:00
admin 7789673fff feat(chat): add composer action menu 2026-07-21 10:58:40 +08:00
admin 54b9031622 fix(chat): restore Facebook keyboard avoidance 2026-07-16 16:28:10 +08:00
admin 8b6bcab05c refactor(chat): remove keyboard compatibility layer 2026-07-16 14:36:33 +08:00
admin 5934d48034 fix(chat): replace Android keyboard workaround 2026-07-16 13:18:26 +08:00
admin 654b51b45e fix(keyboard): restrict input lift to target android devices 2026-07-03 11:44:09 +08:00
admin 38d31572dd Refactor chat component styles for responsiveness and consistency
- Updated padding and margin properties across various chat components to utilize responsive design tokens, ensuring better adaptability to different screen sizes.
- Replaced fixed sizes with responsive variables for buttons, avatars, and bubbles to enhance UI flexibility.
- Adjusted font sizes to use responsive tokens, improving text readability on various devices.
- Standardized border-radius and other dimensions using CSS variables for a cohesive design language.
- Enhanced dialog and screen components with safe area insets for better compatibility with modern devices.
2026-07-03 10:07:49 +08:00
admin 94fa3e9b7a fix(chat): simplify Xiaomi Facebook keyboard lift 2026-07-01 16:13:46 +08:00
admin eccb6d3074 refactor(chat): simplify input send button 2026-07-01 12:42:26 +08:00
admin 08c954903f fix(chat): improve in-app keyboard avoidance 2026-06-24 15:13:11 +08:00
admin 853ae776f9 fix(chat): adapt input bar to soft keyboard in FB in-app browser
FB IAB on Xiaomi (and similar WebViews that don't shrink 100dvh) keeps
the chat input covered by the soft keyboard. Fix by writing the
visualViewport-derived keyboard height to a CSS variable on <html> and
consuming it as padding-bottom on the chat input bar.

- Add useKeyboardHeight hook (visualViewport + rAF batching, no re-renders)
- Apply --keyboard-height + env(safe-area-inset-bottom) to .bar padding
- Add scrollIntoView on textarea focus so the input stays visible
- Add viewportFit: cover so safe-area-inset-bottom is reported
2026-06-24 14:13:18 +08:00
admin cebc8f7443 feat(chat): expand empty input actions 2026-06-22 19:14:27 +08:00
admin 1db3e3ae31 refactor(chat): align chat header and input bar with Dart source 2026-06-10 11:59:53 +08:00
admin 109a3e3855 feat(chat): port chat widget components from Dart to React 2026-06-09 20:19:52 +08:00