- Added `disabled` property to `ServerData` to indicate if a server can be joined.
- Updated `ServerItem` to reflect the `disabled` state by adjusting content alpha and added a visual indicator for joined servers.
- Modified `ServerInviteDialog` to improve the display of error messages and updated the dialog's icon.
- Changed the behavior in `DiscoverServersList` to navigate directly to server channels if already joined, otherwise proceed with the invite flow.
- Updated `icn_check_24dp.xml` and added `link_no_valid_img.xml`.
- Updated string resources for server invite errors.
- Modified back navigation in `MainActivity` from discover screen to navigate to "main".
- Renamed project from Revolt to PEP in `.idea/.name`.
- Implemented the DiscoverServersList composable to display a list of servers.
- Introduced ServerItem composable for individual server representation.
- Added a new drawable resource for the discover character image.
- Integrated loading and error states within the server list display.
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.