Commit Graph

206 Commits

Author SHA1 Message Date
AbronStudio 8de2f2d8bd feat(discover): Enhance server invite handling and error management
- Added a new state flow for loaded errors in `DiscoverServersListViewModel` to manage server loading errors.
- Implemented `joinServerWithoutProcessingIndicator` method to join servers without affecting the loading state in the UI.
- Updated `ServerInviteDialog` to display a loading indicator while joining a server and improved error handling.
- Modified `ServerInviteHandler` to utilize the new error state and streamline the dialog's behavior.
- Added a new string resource for the joining state message to enhance user feedback.
2025-08-05 16:30:32 +03:30
AbronStudio 4ddcfd8fa9 Refactor: Update server invite handling and API URLs
- Changed the base URL for the PEP platform in `RevoltAPI.kt` to `https://pepchat.io/api`.
- Updated the `DiscoverServersList` to handle server invites more effectively by passing the server ID to the `ServerInviteHandler`.
- Enhanced `ServerInviteHandler` to utilize pre-loaded invite data and manage loading states.
- Modified `ServerInviteDialog` to improve UI elements and added previews for different states.
- Updated string resources for invite dialog messages to enhance clarity and user experience.
2025-08-05 13:19:25 +03:30
AbronStudio 54a8e7e1ce feat(discover): Implement server joining functionality
- Added `ServerInviteHandler.kt` and `ServerInviteDialog.kt` to manage and display server invite information and allow users to join servers.
- Updated `DiscoverServersListViewModel.kt` to include logic for fetching invite details and joining servers.
- Modified `DiscoverServersList.kt` to trigger the server invite dialog when a server item is clicked and to handle the invite code.
- Added `inviteCode` field to `ServerData` in `ServerDataRepository.kt`.
- Removed unused `DiscoverViewModel.kt`.
- Added new string resources for invite dialog messages and member count.
2025-08-05 12:09:06 +03:30
AbronStudio cfb68f0ed6 Refactor: Update DiscoverServersList and related files
- Updated `DiscoverServersList` to refine UI elements:
    - Removed background modifier and lazy list state.
    - Adjusted padding, spacing, and image resources for server items.
    - Replaced `UserAvatar` with a generic `Image` for server icons.
    - Added an `IconButton` for server selection.
    - Added extra space at the bottom of list.
- Simplified `DiscoverViewModel` by removing filtering logic, selected category, search query, and server acknowledgement functionality.
- Streamlined `ServerData` in `ServerDataRepository.kt` by removing several fields: `iconUrl`, `bannerUrl`, `memberCount`, `category`, `tags`, `isVerified`, and `isOfficial`.
- Added a new drawable resource `three_person.xml`.
- Updated `ChannelSideDrawer.kt` to use `safeDrawingPadding()` for better handling of system UI elements.
2025-08-05 11:41:48 +03:30
AbronStudio 6fbdac17fe feat(discover): add DiscoverServersList component and associated drawable
- 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.
2025-08-04 16:45:15 +03:30
AbronStudio 672ed0531b feat(ui): enhance button styles and update UI components
- Add DefaultButtonStyle class for consistent button styling.
- Update button shapes across various screens to improve UI consistency.
- Modify string resources for better clarity and engagement.
- Introduce new drawable resources for enhanced visual elements.
2025-07-31 11:52:31 +03:30
AbronStudio 80af323972 feat(auth): enhance login and registration screens
- Update login screen to navigate to registration details on "Register" click.
- Modify registration screen to navigate back to login and update image resource.
- Revise onboarding strings for a more engaging user experience.
2025-07-30 15:46:29 +03:30
Abron Studio f70b8b3c56
Merge branch 'revoltchat:dev' into change/auth-design-to-pep 2025-07-26 14:06:01 +03:30
AbronStudio 6a413f8e17 feat(auth): update platform selection screen and login text
- Add "Continue" string resource for navigation
- Update login screen heading to "Welcome back!"
- Add login subheading "Great to see you again!"
- Update registration form heading to "Make it Official!"
- Change registration data text to "New Here? Let's Get You Set Up!"
- Change platform button text from "Login" to "Confirm"
- Set API URL to "https://api.revolt.chat" for both platform options
2025-07-26 13:39:10 +03:30
AbronStudio 80db00ee2a feat(auth): implement platform selection screen with API URL input
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
2025-07-26 12:18:06 +03:30
AbronStudio f49b25b4e3 feat(auth): implement platform selection screen with API URL input
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
2025-07-26 12:17:57 +03:30
Infi a92a07e2ed feat: geo support
Signed-off-by: Infi <infi@infi.sh>
2025-07-26 07:12:29 +02:00
Infi e0decd0d7c feat: update icon set
Signed-off-by: Infi <infi@infi.sh>
2025-07-23 15:48:46 +02:00
Infi 6bfe417b92 feat: update system messages design
Signed-off-by: Infi <infi@infi.sh>
2025-07-23 04:32:26 +02:00
Infi efa103c5e5 Merge branch 'feat/voice-chats-2.0' into dev
# Conflicts:
#	app/build.gradle.kts
#	app/src/main/java/chat/revolt/api/internals/Permissions.kt
#	app/src/main/java/chat/revolt/screens/chat/views/FriendsScreen.kt
2025-07-23 02:23:36 +02:00
Infi 2d8e9c3804 feat(experiment): server identity options
Signed-off-by: Infi <infi@infi.sh>
2025-07-02 23:34:03 +02:00
Infi 62a9a6c022 feat: mass and role mentions
Signed-off-by: Infi <infi@infi.sh>
2025-07-02 02:57:53 +02:00
Infi 0d2b037a6f feat: adding friends
Signed-off-by: Infi <infi@infi.sh>
2025-06-13 03:27:42 +02:00
Infi a7c1a20fbc feat: spoilered images (send and recv)
Signed-off-by: Infi <infi@infi.sh>
2025-06-11 04:31:15 +02:00
Infi 740d693be4 feat: basic livekit/voice chat impl
Signed-off-by: Infi <infi@infi.sh>
2025-05-31 21:51:13 +02:00
Infi afba6f9ecf feat: permission management for voice chat
Signed-off-by: Infi <infi@infi.sh>
2025-05-31 20:15:23 +02:00
Infi 3c5c7bc30a feat: for server owners, add a temporary shortcut to the web app for server settings
Signed-off-by: Infi <infi@infi.sh>
2025-04-25 21:21:55 +02:00
Infi 48e63e549a feat: new add server sheet with server creation
Signed-off-by: Infi <infi@infi.sh>
2025-04-25 20:55:13 +02:00
Infi 79d83f3be2 feat: use different wording for quick reply none
Signed-off-by: Infi <infi@infi.sh>
2025-04-13 16:32:13 +02:00
Infi e2f6b6d697 feat: new strings for upcoming spark
Signed-off-by: Infi <infi@infi.sh>
2025-04-11 21:28:57 +02:00
Infi 5d5744e180 feat: finish swipe-to-reply impl
Signed-off-by: Infi <infi@infi.sh>
2025-03-29 03:44:57 +01:00
Infi 5cd247c2f3 feat(polar): begin convo screen
Signed-off-by: Infi <infi@infi.sh>
2025-03-25 00:57:05 +01:00
Infi c3a4c5654a feat: build basic UI skeleton
Signed-off-by: Infi <infi@infi.sh>
2025-03-24 12:49:57 +01:00
Infi a40e677c64 feat: add a splash colour on ancient devices
Signed-off-by: Infi <infi@infi.sh>
2025-03-08 22:34:07 +01:00
Infi aae63df08e fix: fix splashscreen issues by removing it on Android<12
Signed-off-by: Infi <infi@infi.sh>
2025-03-08 22:23:56 +01:00
Revolt CI 32398e8d99
Translations update from Weblate (#9)
* chore: update translations [no ci]

Co-authored-by: Abdo El-Sayed <3bdosaid12@gmail.com>
Co-authored-by: Chauchau cat <tesutoero@gmail.com>
Co-authored-by: Derek Steven FLores <31_fd141233@dist60.net>
Co-authored-by: DxrkUp <hothotmail7@gmail.com>
Co-authored-by: GGLVXD <gglvmax@gmail.com>
Co-authored-by: Matheus Lydio <mateuslydio2014@gmail.com>
Co-authored-by: Matias Vaz <vaz.mmv@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.revolt.chat/projects/revolt/android/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/ar/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/es/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/ja/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/lv/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/mwl/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/nl/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/pt/
Translation: Revolt/Android

* Deleted translation using Weblate (1337 (leet))

---------

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Abdo El-Sayed <3bdosaid12@gmail.com>
Co-authored-by: Chauchau cat <tesutoero@gmail.com>
Co-authored-by: Derek Steven FLores <31_fd141233@dist60.net>
Co-authored-by: DxrkUp <hothotmail7@gmail.com>
Co-authored-by: GGLVXD <gglvmax@gmail.com>
Co-authored-by: Matheus Lydio <mateuslydio2014@gmail.com>
Co-authored-by: Matias Vaz <vaz.mmv@gmail.com>
Co-authored-by: Infi <weblate@infi.sh>
2025-03-08 22:23:41 +01:00
Revolt CI ec7872105a
chore: update translations [no ci] (#8)
Translate-URL: https://translate.revolt.chat/projects/revolt/android/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/ar/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/be/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/bn/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/ca/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/da/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/de/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/el/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/es/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/fa/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/fil/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/fr/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/gl/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/id/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/it/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/ja/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/leet/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/lt/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/lv/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/mwl/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/pl/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/pt/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/pt_BR/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/ro/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/ru/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/tr/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/uk/
Translate-URL: https://translate.revolt.chat/projects/revolt/android/zh_Hans/
Translation: Revolt/Android

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: 3124 <pxe1801@gmail.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
Co-authored-by: Adrián <adrigamer2950@gmail.com>
Co-authored-by: Alexandra Glazko <lenify@tutanota.com>
Co-authored-by: Andiv <div2005.kk@gmail.com>
Co-authored-by: Axinux <theaxinux@gmail.com>
Co-authored-by: Bread-Chan <bread-chan@users.noreply.translate.revolt.chat>
Co-authored-by: Clevor <weblate.synopsis918@passinbox.com>
Co-authored-by: Clément <clementjudoboy@gmail.com>
Co-authored-by: Cynycal2003 <soumyajitdas2712@gmail.com>
Co-authored-by: Deo Dorqnt <yigitcankocabiyik@gmail.com>
Co-authored-by: DevEvil <devevil99@gmail.com>
Co-authored-by: Edward <edwardchirita@mailbox.org>
Co-authored-by: Evgeny Dolgov <mgdolgov@mail.ru>
Co-authored-by: Francisco Silva <fidde_2003@hotmail.com>
Co-authored-by: GGLVXD <gglvmax@gmail.com>
Co-authored-by: Hokiper <Hokiper@users.noreply.weblate.insrt.uk>
Co-authored-by: Illy The Magical Sorcerer <caioaguiarmendes74@gmail.com>
Co-authored-by: Infi <weblate@infi.sh>
Co-authored-by: John Doe <rosenkvarts@proton.me>
Co-authored-by: João Victhor <joangarcez2100@protonmail.com>
Co-authored-by: Kasahe <anissaa4648@gmail.com>
Co-authored-by: Kelcey <kolb.rodrigue@gmail.com>
Co-authored-by: Keriz Alper <kerizalper@gmail.com>
Co-authored-by: Lantos Devment <huskar-cortezz2020@mail.ru>
Co-authored-by: Leo Lacarota <leolacarota@gmail.com>
Co-authored-by: LisoMandiy <lisomandiy@gmail.com>
Co-authored-by: Loïc Bréard <hades785@gmail.com>
Co-authored-by: Matheus Lydio <mateuslydio2014@gmail.com>
Co-authored-by: Matias Vaz <vaz.mmv@gmail.com>
Co-authored-by: Matisse <gwendolinelebouedec@gmail.com>
Co-authored-by: Maxim <justanobody@internet.ru>
Co-authored-by: Mehmet Yavuz <luw1337@gmail.com>
Co-authored-by: Melih DUMAN <melihdmn1864@gmail.com>
Co-authored-by: Mevlüt ŞAHİN <mevltxsahnexe@gmail.com>
Co-authored-by: Mevlüt ŞAHİN <mevlutxsahn.exe@gmail.com>
Co-authored-by: Musab z <izmusabz@gmail.com>
Co-authored-by: Nicolai <nilarsen@proton.me>
Co-authored-by: Paul P <ghostcode920mail@gmail.com>
Co-authored-by: Paweł B <mail@pawelek.ml>
Co-authored-by: Romain NEIL <contact@romain-neil.fr>
Co-authored-by: Roni <roniibusiness@gmail.com>
Co-authored-by: Sergei <fantiksquad@pubgm-game.ru>
Co-authored-by: Thomas Widyantoko <thomaswidy123@gmail.com>
Co-authored-by: Umut <umutandvassy61@gmail.com>
Co-authored-by: VEYSEL KÜÇÜK YILDIRIM <veyselkckyldrm@gmail.com>
Co-authored-by: Vallmer <Valmerka@yandex.ru>
Co-authored-by: Vinnscher <dvetisyachipyat@gmail.com>
Co-authored-by: Víctor Z <bellzebu@hotmail.com>
Co-authored-by: Zee <mainedcm22@yahoo.com>
Co-authored-by: _0x90#8633 <unknowncommand01@gmail.com>
Co-authored-by: arceus <arceusxx@protonmail.com>
Co-authored-by: deluxghost <deluxghost@gmail.com>
Co-authored-by: fame <rulitbara@gmail.com>
Co-authored-by: kevans <albaapazpi@gmail.com>
Co-authored-by: mexish <mexish@duck.com>
Co-authored-by: oupson <aymeric.serra@proton.me>
Co-authored-by: rei <rei.giga1725@gmail.com>
Co-authored-by: searinminecraft <scripterrookie12@gmail.com>
Co-authored-by: shreef <hoseen4games@gmail.com>
Co-authored-by: yococo <yococo2@gmail.com>
Co-authored-by: Дмитрий <matrx_1989@mail.ru>
2025-02-18 10:16:47 +01:00
Infi b62190d3ea feat: early access handler
Signed-off-by: Infi <infi@infi.sh>
2025-02-06 17:42:12 +01:00
Infi 0660771dd3 feat: muted channels and servers
this also adds a handler for malformed settings because this is basically required for parsing notifications

Signed-off-by: Infi <infi@infi.sh>
2025-02-02 03:34:35 +01:00
Infi 420fba2c45 feat(jbm): ast inspector
Signed-off-by: Infi <infi@infi.sh>
2025-01-02 04:36:12 +01:00
Infi 666b75dc1d feat: physical keyboard spark
Signed-off-by: Infi <infi@infi.sh>
2024-12-25 04:59:59 +01:00
Infi c1053f0702 feat: do not attempt to fit panes to keyboard height when the keyboard is unreasonably short (phys kb, floating)
Signed-off-by: Infi <infi@infi.sh>
2024-12-25 04:08:14 +01:00
Infi c69ffc3a7d fix: wording
Signed-off-by: Infi <infi@infi.sh>
2024-12-25 03:00:53 +01:00
Infi 7b4afc69e4 feat: start documenting keyboard shortcuts
Signed-off-by: Infi <infi@infi.sh>
2024-12-25 02:04:31 +01:00
Infi 3c2556872c feat: display login errors and allow try again
Signed-off-by: Infi <infi@infi.sh>
2024-12-21 20:56:03 +01:00
Infi 498338d9de fix(jbm): do not include entire code blocks in single line mode
Signed-off-by: Infi <infi@infi.sh>
2024-12-12 01:11:34 +01:00
Infi 0d4aff0c6e fix(lang): what if we try again
Signed-off-by: Infi <infi@infi.sh>
2024-12-02 09:03:21 +01:00
Infi 5e1081d825 fix(lang): maybe this makes weblate happier
Signed-off-by: Infi <infi@infi.sh>
2024-12-02 08:58:47 +01:00
Infi e88f0c3909 chore(lang): add palatine german
Signed-off-by: Infi <infi@infi.sh>
2024-12-02 08:54:27 +01:00
Infi 2d76949644 feat: prototype for user cards
Signed-off-by: Infi <infi@infi.sh>
2024-12-01 04:16:08 +01:00
Infi 1b4080520a feat(settings): language picker
Signed-off-by: Infi <infi@infi.sh>
2024-11-14 22:57:02 +01:00
Infi 4e29fba724 fix: use correct default locale
Signed-off-by: Infi <infi@infi.sh>
2024-11-13 03:46:27 +01:00
Infi 991f47b5f4 chore: autogenerate locale files
Signed-off-by: Infi <infi@infi.sh>
2024-11-13 03:46:07 +01:00
Infi cbf5e06898 feat(overview): replace home screen with overview screen
Signed-off-by: Infi <infi@infi.sh>
2024-11-10 01:11:28 +01:00
Infi 584838b98d chore: use cloud icon instead of hook for webhook
to be consistent with web

Signed-off-by: Infi <infi@infi.sh>
2024-11-08 00:44:26 +01:00