Files
fast-messenger/README.md
T
melod1n 70b552412c Enhance PhotoViewer with share and open-in actions, improve reply UI
This commit introduces "Share" and "Open in..." actions to the `PhotoViewScreen`, allowing users to share images via other apps or open them in external viewers.

**Key changes:**

- **PhotoViewer:**
    - Added "Share" and "Open in..." options to the `PhotoViewScreen` dropdown menu.
    - `PhotoViewViewModel`:
        - Implemented `onShareClicked()` and `onOpenInClicked()` to handle these new actions.
        - Added `shareRequest` StateFlow to manage image sharing intents.
        - Introduced `downloadAndStoreImageToCache()` to download and cache images for sharing.
        - `onImageShared()` resets `shareRequest` after sharing.
    - Updated `TopBar` to include the new menu items.
    - Added string resources for "Open in…" and "Share".
- **Reply UI:**
    - `Reply.kt`: Title and summary text now use `TextOverflow.Ellipsis` to prevent long text from breaking the layout.
- **API Model:**
    - `MessagesResponse.kt`: Added `MessagesMarkAsImportantResponse` data class to handle the response for marking messages as important.
- **Data Layer:**
    - `MessagesRepositoryImpl`: Updated `markAsImportant` to correctly map the API response using `MessagesMarkAsImportantResponse`.
- **Minor:**
    - `README.md`: Updated feature checklist for external viewer.
    - `ApplicationModule.kt`: Added experimental Coil API opt-in.
2025-06-26 20:46:53 +03:00

1.9 KiB

fast-messenger

Unofficial messenger for russian social network VKontakte

Functionality

  • Authorization
    • 2FA support
      • Resend otp
    • Captcha support
    • Support for new authorization with service and refresh tokens
    • Handle token expiration
    • Ability to export/import tokens
  • Conversations list
    • Pagination
    • Manual refresh
    • Pin & unpin conversations
    • Delete conversations
    • Archive
      • View archived conversations
      • Archive & unarchive conversations
  • Friends list
    • Sort alphabetically, by priority or random
    • Separate tab with only friends who are online
  • Settings screen
    • TODO
  • Chat screen
    • Pagination
    • Manual refresh
    • Message bubbles
      • Text
      • Date
      • Read status
      • Edit status
      • Sending status
      • Message's attachments
        • Photo
        • Video
        • Audio
        • File
        • Link
        • Sticker
        • Reply
        • Forwarded messages
        • Wall post
        • Comment in wall post
        • Poll
        • TODO
    • Send messages
    • Pinned message
    • Pin & unpin messages
    • Reply to message
    • Delete message
    • Select multiple messages
      • Delete
      • Forward
      • Forward in current chat
    • Send attachments to chat
      • TODO
  • Chat materials (attachments)
    • Separate tabs for each attachment type
      • Pagination
      • Manual refresh
    • View attachments
      • Open photo
        • Internal viewer
        • External viewer
      • Open video in external player
      • TODO
  • Caching
    • TODO