-
Notifications
You must be signed in to change notification settings - Fork 984
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
set width boundaries for long usernames in activity center #13185
set width boundaries for long usernames in activity center #13185
Conversation
Jenkins BuildsClick to see older builds (18)
|
{:margin-left 72 | ||
:margin-top 12 | ||
:margin-right 50}) | ||
(let [title-text-width (* @(re-frame/subscribe [:dimensions/window-width]) 0.65)] |
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.
its better to pass width as a parameter from the view
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.
I agree!
working on this
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.
@flexsurfer : done
@@ -1,6 +1,7 @@ | |||
(ns status-im.ui.screens.notifications-center.styles | |||
(:require [quo.design-system.colors :as colors] | |||
[quo.design-system.spacing :as spacing])) | |||
[quo.design-system.spacing :as spacing] | |||
[re-frame.core :as re-frame])) |
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.
re-frame not used anymore
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.
fixing and squashing asap :)
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 :) no rush :)
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.
Done :)
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.
removed unused import
@siddarthkay thanx for the PR. Please, take a look at this issue ISSUE 1New usernames and messages are highlighted in activity center. STEPS:
Actual result:
OS: Android/IOS ISSUE 2Please, take a look at lint errors in last builds |
@pavloburykh : Um yeah my bad, I left in the background highlighting( which i use internally for debugging ) , I'm pushing a fix for that |
98ac9c4
to
11fd3b3
Compare
@pavloburykh : fix pushed, should be good for QA now. |
95% of end-end tests have passed
Failed tests (4)Click to expand
Passed tests (75)Click to expand
|
96% of end-end tests have passed
Failed tests (3)Click to expand
Passed tests (76)Click to expand
|
@siddarthkay thanx for fixes! ISSUE 3It seems that on IOS (iPhone X) long username is still located to close to timestamp. That's definitely a minor but if this is an easy fix lets improve it. Below 2 screenshots for comparison from IOS (iPhone X) and Android (Samsung Galaxy A52) with a message from same user |
@pavloburykh : I'm working on reproducing this in iphoneX Simulator and then will push a fix |
@siddarthkay thank you! let me know if you need any help on reproduction. |
Latest fix should take care of this case @pavloburykh |
86% of end-end tests have passed
Failed tests (11)Click to expand
Passed tests (68)Click to expand |
95% of end-end tests have passed
Failed tests (4)Click to expand
Passed tests (75)Click to expand
|
✔️ status-react/prs/ios/PR-13185#8 🔹 ~12 min 🔹 8529e18 🔹 📦 ios package |
@siddarthkay thanx for fixes, ready for merge. Sorry for testing delay, was busy by release testing. |
8529e18
to
8aaf37a
Compare
lint fix remove unused import and debug backgrounds set width boundaries for long usernames in activity fix lint and pass width from view updated spacing to accommodate iphoneX Signed-off-by: andrey <motor4ik@gmail.com>
8aaf37a
to
c40094f
Compare
[comment]: Fixes #13178
Platforms
Android
iOS
status: ready