absmach / magistrala-ui

UI Repository for Magistrala IoT
9 stars 15 forks source link

MG-11 - Implementation of messaging feature on the UI #73

Closed ianmuchyri closed 7 months ago

ianmuchyri commented 8 months ago

What type of PR is this?

What does this do?

Proper implementation of the messaging feature (both send and read messages from db) in the UI. Previously, we did not have the send message feature, and for the read message a user had to manually enter the channel ID and thing Key to be able to read messages stored in the database. In this implementation, the messaging features are combined into one page, which is accessed via the thingsChannel page. In this page, the user clicks on the messaging icon and they are moved to the messages page. Here they can be able to view all the messages stored in the database that have been sent to that channel.They can also be able to send a test message to the channel using the device they had accessed the channel with.

Which issue(s) does this PR fix/relate to?

Have you included tests for your changes?

Did you document any new/modified functionality?

Notes

image image image image image

ianmuchyri commented 8 months ago

Pagination doesn't work. Publish 100 messages and try and go to the second page

we don't have pagination in Magistrala readMessage

ianmuchyri commented 8 months ago

Pagination doesn't work. Publish 100 messages and try and go to the second page

we don't have pagination in Magistrala readMessage

It will be resolved by this pr: https://github.com/absmach/magistrala/pull/2055

ianmuchyri commented 8 months ago

the CI failure will be resolved by this https://github.com/absmach/agent/pull/4