This commit updates the project name across various files to reflect the new branding.
- Changed the root project name in `settings.gradle.kts` from "Revolt" to "PepChat".
- Updated the project name in the `.idea/.name` file to "PepChat".
- Modified `ChatRouterScreen` to use a `Box` layout instead of `Column` for better UI structure.
- Adjusted the `SettingsScreen` to utilize `LargeTopAppBar` for improved design consistency.
- Removed unnecessary size specification in `ChannelScreen` for better visual clarity.
This commit introduces deep linking capabilities to the application.
- Added `DeepLinkActivity` to handle incoming deep links and navigate users to the appropriate content within the app.
- Created `DeepLinkUtils` to provide utility functions for parsing and creating deep link URIs.
- Updated `MainActivity` to receive and process deep link data from `DeepLinkActivity`.
- Modified `ChatRouterScreen` and its `ViewModel` to handle navigation based on deep link parameters.
- Updated `AndroidManifest.xml` to include intent filters for `DeepLinkActivity` to capture relevant URL schemes and paths.
- Added `assetlinks.json` and `README_APP_LINKS.md` to support Android App Links verification.
- Changed the `applicationId` in `app/build.gradle.kts` from "chat.revolt" to "chat.peptide".
- Renamed project in `.idea/.name` from "PEP" to "Revolt".
- Changed the default route in `ChatRouterScreen` from `Settings` to `Home`.
This commit refines the API references throughout the application to utilize the new `RevoltAPI` structure, enhancing maintainability and clarity. Key changes include:
- Replaced all instances of `REVOLT_FILES`, `REVOLT_BASE`, and other constants with calls to `RevoltAPI` methods for dynamic URL generation.
- Introduced an `ApplicationPlatform` enum to manage platform-specific URLs, allowing for easier switching between Revolt and PepChat.
- Updated various screens and components to reflect the new API structure, ensuring consistent URL handling across the application.
- Enhanced the `ChoosePlatformScreen` to set the selected platform and navigate accordingly.
These changes improve the overall architecture and prepare the codebase for future enhancements.
Add platform selection UI with PepChat and Revolt options
Implement clickable platform cards that set the API URL
Create custom styled text field for API URL input
Add confirm button with localized string resource
Fix vertical alignment of placeholder text in text field
This commit adds the license files for BSD and ML Kit to the compliance directory and updates the build.gradle.kts file to include them in the license check.
It also updates the .idea/misc.xml file with some minor changes.