-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Question mark in peer-deletion confirmation dialog is on a new line #16742
Comments
Hi, i would like to work on this issue. proposed solution I would like if someone could guide me to the file. Thanks |
@stephendonner Would like to work on this? Can you assign this to me? |
Sure, thanks! |
@stephendonner I read the pre-requisites to set up a peer, Is it necessary to have to two different machines to make a peer, I only have one laptop with me. |
Nope; you can set up one on |
Hey @petemill and @mkarolin , I know how to truncate the string. The id is in line 296: {"ipfsDeletePeerConfirmation", IDS_SETTINGS_IPFS_DELETE_PEER_CONFIRMATION},
and then just do the following change After this, I guess the issue will be resolved. Till now I am able to come up with this approach to resolve the issue, If you are not satisfied with this approach, I will think of another way. |
I don't think truncating the string in c++ is appropriate when this is a display issue and can be fixed close to the UI in JavaScript. You can truncTe there but it's still a long string of random characters to put in. A sentence. Perhaps it would be better to separate the peer ID and the question, e.g.
|
Yes it would be better if we do that, will make the necessary changes and make the Pull request. |
So instead of
It will be,
Am I right @petemill ? |
@rebron seems working fine. Can see Brave v1.39.111 |
This seem to be fixed already based on the above comment and checked on |
Description
(Super, super minor.)
Question mark in peer-deletion confirmation dialog is on a new line
Steps to Reproduce
brave://settings/ipfs/peers
Actual result:
Expected result:
?
would preferably be on the same line; maybe truncate the long peer ID with...
or something?Reproduces how often:
100%
Brave version (brave://version info)
The text was updated successfully, but these errors were encountered: