Comments (4)
Sure that's a good idea. Here are my thoughts:
- Keep the logic for
seen
messages untouched - Add a
saved
property in bothmessages
prop andlastMessage
property (insiderooms
prop) - Clone whatsapp UI: single grey checkmark icon when message is sent locally, double grey checkmark when message is saved, and double blue checkmark when message is
saved
andseen
. - The checkmark icon should be implement in both
Message.vue
andRoomsList.Vue
(forlastMessage
) components - Add customisable css variables theming if necessary for icon colors, as the grey checkmark color doesn't exist yet
Feel free to make a pull request, and don't hesitate to ask me anything!
from vue-advanced-chat.
- Clone whatsapp UI: single grey checkmark icon when message is sent locally, double grey checkmark when message is saved, and double blue checkmark when message is saved and seen.
Shouldn't it be like: singe grey checkmark when the message is saved, double grey when the other user got the message and double blue when the message is seen?
or what do you mean with "sent locally"?
from vue-advanced-chat.
Shouldn't it be like: singe grey checkmark when the message is saved, double grey when the other user got the message and double blue when the message is seen?
Yes you're right.
So we could add saved
and distributed
properties in both messages
prop and lastMessage
properties.
from vue-advanced-chat.
saved
: single grey checkmark
distributed
: double grey checkmarks
seen
: double blue checkmarks
from vue-advanced-chat.
Related Issues (20)
- room without message HOT 1
- templatesText bug: Input "/help" not working
- Spinner still there even when setting messages-loaded to true HOT 1
- Can you release a new version
- Will you release a new version HOT 2
- URGENT ** 2.0.8 NPMJS Package Missing Files | Broken HOT 2
- How to send a message with a file
- vue-tsc --noEmit && vite build fails
- Cannot read properties of undefined (reading 'roomId') HOT 1
- Editing a message to include a reply emits `send-message` instead
- Room message search
- Room list as slot does not update order after sorting?
- How to run locally for development HOT 1
- How can I return to the initial option when closing a room? Example room_empty = true
- In mobile mode, when a new message comes in, how to do it without returning to the roomlist HOT 2
- warning "vue-advanced-chat > [email protected]" has unmet peer dependency
- Not able to apply styles to the vac-progress-bar
- Named Slots not working with vue 3 HOT 1
- Show User is Typing Above Text Area Input HOT 1
- :messages-loaded does not take effect. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-advanced-chat.