Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

feature/add messages view#14

Open
ENT108 wants to merge 6 commits intojumpfool:mainfrom
ENT108:feat/add-messages
Open

feature/add messages view#14
ENT108 wants to merge 6 commits intojumpfool:mainfrom
ENT108:feat/add-messages

Conversation

@ENT108
Copy link

@ENT108 ENT108 commented Sep 22, 2025

📬 Add Messaging System (read only)

Overview

Message browsing functionality for BetterLibrus with folder navigation, pagination, and multi-language support.

Key Features

  • MessagesView: Inbox/Sent/Trash folders with pagination
  • Dashboard Integration: Unread messages widget on home page
  • File Attachments: Download support for message files
  • Multi-language: EN/PL/RU/UA translations (370+ keys)
  • API Endpoints: 4 new routes for message operations

Technical Changes

  • 21 files modified: 1,252 insertions, 214 deletions
  • New Components: MessagesView, message details sheet
  • API Routes: /api/messages/[folderId], file downloads, folders
  • Dependencies: librus-api 2.1.0 → 2.14.0
  • Types: Full TypeScript interfaces for messages

Files Added

  • MessagesView.tsx - Main messaging interface
  • [folderId].ts - Message listing API
  • [messageId].ts - Message details API
  • files/[...path].ts - File download API
  • folders.ts - Folder management API

TO DOs

  • add recipients pull
  • add messages sending
  • add messages deleting
  • add replying to messages
    (not sure if possible)

Ready for review! 🚀

- Add MessagesView component with folder navigation and pagination
- Implement message API endpoints for folders, messages, and file downloads
- Add message types and interfaces to support full messaging functionality
- Integrate unread messages display in HomeView dashboard
- Add multi-language support for messaging features (EN/PL/RU/UA)
- Update navigation to include Messages section
- Add message details sheet with read/unread status and attachments
- Update README.md to include Messages feature and correct librus-api version
- Add proper mobile padding (px-4) to header and tabs sections
- Fix pagination layout with responsive design and hidden text on mobile
- Make tab labels smaller (text-xs) but readable without truncation
- Improve overall mobile UX with better spacing and compact design
@vercel
Copy link
Contributor

vercel bot commented Sep 22, 2025

@aklukowski is attempting to deploy a commit to the 0xhkamori's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants