Add in mark as reaad button to list view, use ajax to preform the action without page refresh.

This commit is contained in:
2025-11-02 09:11:48 +00:00
parent 61ad033520
commit f0fc70eac6
7 changed files with 212 additions and 27 deletions

View File

@@ -19,8 +19,7 @@ type MessageService interface {
GetByID(userID, id int64) (*Message, error)
Create(userID int64, in CreateMessageInput) (int64, error)
Archive(userID, id int64) error
//Restore()
//ToDo: implement
Unarchive(userID, id int64) error
//MarkRead(userID, id int64) error
MarkRead(userID, id int64) error
//MarkUnread(userID, id int64) error
}