Repository navigation
Feat/v2 migration - #39
Merged
Merged
Conversation
…, and updated project schema **Enhancements** - Replaced logo assets: removed `logo.svg`, added `flyer-chat-logo-light.svg`. - Updated iOS `Info.plist` to include microphone usage description. - Upgraded Docusaurus to `^3.10.2` and refined `docusaurus.config.ts`: - Dynamic dark/light theme logo switching. - Added `apple-touch-icon`. **Documentation** - Updated README to reflect `flutter_chat_core` package migration and `Supabase` setup improvements. - Linked migration guide for transitioning from 1.x to 2.x. **Database** - Removed deprecated schema functions and re-implemented member-based checks using `chats.room_members`. - Added policies for `room_members` table (`create`, `read`, `delete`). - Extended support for sending and managing audio messages.
Move the package to flutter_chat_core/flutter_chat_ui 2.x and redesign the database, keeping a 1.x database migratable with the same scripts. - Dart API: ChatRoom/ChatUser models, SupabaseChatController as a flutter_chat_core ChatController, SupabaseChatRoomsController, injectable client, typed exceptions, scoping hooks to keep workspaces apart. - Telegram-like features: read receipts and unread counts, replies, reactions, editing, pinned messages, search, pinned and muted rooms, group roles, optimistic sending with retry, voice messages. - Database: uuid v7 ids, timestamptz dates, room_members, weekly partitioned messages, RPCs for room creation and cross-user updates, message changes over private Realtime Broadcast channels, typing indicator on Broadcast (fixes insideapp-srl#38), stricter RLS, policies and functions hardened after the Supabase advisors. - Migration from 1.x: roles normalized, replies remapped, attachments moved to the uuid folders by migrate_storage_uuids.sh/.ps1. - cleanup-media Edge Function for the files of deleted messages. - Telegram-like example app, README, MIGRATION, CHANGELOG and docs site rewritten; unit, integration and pgTAP tests, verified on a local stack and on Supabase cloud (fresh install and 1.x migration). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Load the first and older message pages without animations: animating
every item broke Flutter's SliverAnimatedList ("AnimationController
disposed more than once") as soon as another change landed meanwhile
- Example: microphone next to the send button, browser context menu off
while a room is open, room tile time aligned on the right, swipe to reply
controller created in initState
- Demo GIF of the example on Supabase cloud in the README and the docs,
InsideApp footer
- tool/seed_demo.sh seeds a cloud project too (--project-ref)
- CI: run the unit tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keeps the 2.0.0-rc.1 versions and Docusaurus 3.10.2; adds the 1.6.2 changelog section and the serialize-javascript override from insideapp-srl#36. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does it do?
Describe the technical changes you did.
Why is it needed?
Describe the issue you are solving.
How to test it?
Provide information about the environment and the path to verify the behavior.
Related issues/PRs
Let us know if this is related to any issue/pull request.