-
Notifications
You must be signed in to change notification settings - Fork 41
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
Responsive issues on long recipient's name #237
Comments
Why does it have the opening bracket? What exactly is the value of the recipient here? |
I broke the ens resolver when I disabled web3 gateway on cloudflare and we could never get it working again. So yes it renders incorrect data consistently. For example I own several ens names but one is set at the official one. The official one no longer displays, it just picks the first from the list I own now. |
All right I see, thanks for the info. I believe this is worth fixing for that reason then, and because I guess nothing stops a user to have an ENS like |
/start |
Tips:
|
/stop |
+ You have been unassigned from the task |
/start |
Tips:
|
@0x4007 Hey, I checked with the same dimensions as mentioned in the issue and It seems like this issue has been resolved already |
@Sadaf-A it hasn't been fixed yet. Test it with an ENS. Like this one for example It seems to work fine with wallet addresses but the styling for ENS domains is not where the glitch is visible. |
@Sadaf-A The task is ensure that if an ENS name is too long and overflows it's area then it should be gracefully handled. I would suggest a string manipulation approach personally, as that's how I'd tackle this task for a few reasons. An ENS name can be any length and it'll be hard to account for all of them, also that any CSS changes made will need to be tested to ensure that they do not cause any ripple effects. Personally, I'd max an ENS display name to the length of an ETH address and add ellipsis if it overflows, ensuring that regardless of length of name the table will not change shape. There is specific formatting currently for addresses that handles ellipsis, we need a similar thing for ENS names but with You can take any approach you like of course, just be mindful of the knock-on effects of adding/modifying CSS. |
@jordan-ae @Keyrxng I'm sorry this is my first time contributing to this repo I checked for wallet address but how do I check for ENS? |
@Sadaf-A I'd recommend taking a good look at the README and setting everything up, everything you need should be included but if not let me know. You can simply force a long name for testing in the logic and ensure it's handled effectively. |
Using README file I'm only able to render wallet addresses it does not mention how to render ENS address |
If using anvil account 0 as recommended you would have the ENS name Forcing the conditions will be required for this task unless you have access to a really long ENS name like @gentlementlegen |
Thanks, I was able to reproduce it |
Just edit the DOM to have a long name it takes a second or two to do. |
@Sadaf-A I'm just checking on progress here, still working on this? |
My laptop was damaged I had given it for service will continue on this |
/start |
Tips:
|
Apparently you want the string to be cut when it exceeds a certain length e.g. "verylong..." and a simple css manipulation?? |
I know the name is truncated @gentlementlegen is this still a valid issue |
This is still happening in production, like shown in the issue screenshots. |
@CaptainPrinz, this task has been idle for a while. Please provide an update. |
1 similar comment
@CaptainPrinz, this task has been idle for a while. Please provide an update. |
@Keyrxng has to approve the pull first |
@hydroxylase, this task has been idle for a while. Please provide an update. |
/start |
Tip
|
QA ens-demo.webm |
It definitely doesn't make sense to truncate the middle when there's plenty of space on the screen Also QA needs to be posted on the pull |
/start |
! This issue is already assigned. Please choose another unassigned task. |
@gentlementlegen disqualify isn't working last activity nine days ago |
@0x4007 No it is not working because the SDK is not signing payloads properly for Actions, this was already discussed and there is a PR opened about this: ubiquity-os/ubiquity-os-kernel#168 |
Can you merge it |
@0x4007 Merged but the problem is not solved, commented on the PR. |
When the recipient name is long, it overflows the container and on mobile makes the button going out of the screen. See attached screenshots:
The name should probably scroll sideways or simply be cut on overflow.
The text was updated successfully, but these errors were encountered: