-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#10734] Show message timestamps on tap, remove from bubbles 🕙 #12915
[#10734] Show message timestamps on tap, remove from bubbles 🕙 #12915
Conversation
Hey @ajayesivan, and thank you so much for making your first pull request in status-react! ❤️ Please help us make your experience better by filling out this brief questionnaire https://goo.gl/forms/uWqNcVpVz7OIopXg2 |
Jenkins BuildsClick to see older builds (12)
|
@@ -168,19 +183,15 @@ | |||
(defn render-parsed-text [message tree] | |||
(reduce (fn [acc e] (render-block message acc e)) [:<>] tree)) | |||
|
|||
(defn render-parsed-text-with-timestamp [{:keys [timestamp-str outgoing edited-at in-popover?] :as message} tree] | |||
(defn render-parsed-text-without-timestamp [message tree] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this function can be removed completely? Without the timestamp it just returns the elements list directly:
(let [elements [1 2 3 4]]
(conj (pop elements) (peek elements))) ;; => [1 2 3 4]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you are right. But since I'm moving the message status back to the bubble I'm reusing this function.
Thanks for the PR Ajay. This looks good to me overall. |
7c61d77
to
b4230dc
Compare
hey @ajayesivan thanks for the contribution, but I think status should stay in the message , only timestamp should be moved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep status
@flexsurfer What about the edited status? Should that stay too? |
i believe yes |
@flexsurfer I have moved the 'message status' & 'edit info' back to the message bubble. Thanks for pointing that out 😊. Updated the preview/gif with the new behavior. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
83% of end-end tests have passed
Failed tests (12)Click to expand
Passed tests (57)Click to expand |
33% of end-end tests have passed
Failed tests (8)Click to expand
Passed tests (4)Click to expand
|
@ajayesivan thanks for your work! ISSUE 1: Timestamps are still displayed in transaction message bubbles in 1-1 chatsReproduction:
|
@qoqobolo Thanks for moving so fast! I checked this issue. |
@ajayesivan yes, you're right. Testing is still ongoing. I'll ping you once it's finished or other issues are found. |
0% of end-end tests have passed
Failed tests (6)Click to expand
|
@ajayesivan thanks for the contribution again!
Failed e2e tests are not related to PR. |
@ajayesivan could you please rebase and squash commits please |
9b0ce2e
to
1d07d80
Compare
@flexsurfer Done |
Signed-off-by: andrey <[email protected]>
1d07d80
to
f3533c5
Compare
@ajayesivan thanks for the amazing contribution! Thanks a lot for your effort, this is a great contribution. |
@cammellos Thanks for the update. I have submitted the application. |
thanks @ajayesivan |
@cammellos Done 👍 |
Fixes #10734
Summary
Visible timestamps on all bubbles clutter up the chat and add noise when they're not needed. This PR removes the timestamp from the message bubble. Users can tap on a message and the timestamp will fade in on the longer margin side of the message.
UI Changes
Platforms
Areas that maybe impacted
Functional
Steps to test
status: ready