Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis update adds new navigation and deep linking features for conversation screens. A new configuration for conversation navigation is introduced with associated TypeScript types and URL parsing/stringifying logic. Several functions and hooks are implemented to handle conversation deep links, including checking if a conversation exists, processing parameters from URLs, and updating navigation state accordingly. A dedicated deep link handler component manages incoming URLs at the app’s root level, and a new link parser function extracts segments and query parameters from URLs. There are also updates to localization, with English share-profile strings removed and new French translations added for link actions. Additionally, the app navigator now supports multiple URL prefixes, and several ESLint dependency versions have been adjusted. Finally, the share profile screen refines the profile URL construction by using a username and updating translation references for clarity. 📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (11)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
thierryskoda
left a comment
There was a problem hiding this comment.
Great overall, I just think there might be too many comments or if statements for checking stuff - it's overkill and we can make it cleaner and easier to read by reducing them.
Also, we got to not forget that we'll probably migrate towards Expo Router soon, and Expo Router handles really well the deep linking stuff. So maybe for now, we just make it work and not perfect. We'll check again later.
yarn add eslint@8.57.0 eslint-plugin-react@7.33.2 @typescript-eslint/parser@6.21.0 @typescript-eslint/eslint-plugin@6.21.0 -D
Add Conversation Deep Linking and URL NavigationAdded deep linking support for conversations with URL-based navigation. Created navigation configuration, link parsing utilities, and handlers for conversation deep links. Modified profile sharing to use subdomain URLs. Updated translation keys from nested to flat structure. Includes ESLint dependency updates. 📍Where to StartThe Macroscope summarized 5b72a48. |
# Conflicts: # config/preview.ts # config/production.ts # navigation/app-navigator.tsx # screens/ShareProfile.tsx # yarn.lock
Changes in 2449d3f
Macroscope summarized 2449d3f. |
Changes in 9c8c12b
Macroscope summarized 9c8c12b. |
WIP
Summary by CodeRabbit
New Features
Localization