-
Notifications
You must be signed in to change notification settings - Fork 54
Conversation
@ramirotw i'm not sure i know how to connect the |
|
HI @maria-vslvn ! As you are currently working with the switcher, might there be a possibility to fix the #1646 UI issue? In regard to the current PR, I have to list come issues:
|
b2ab2e9
to
f971dc8
Compare
Agree with you Elena, there's no need to have a new icon. Also, it doesn't seem to work. I turned it on and I don't see the option to add a recipient, only when I turn expert mode on Regarding the tooltip, something like: @avsavsavs what do you think about that sentence? |
@maria-vslvn @elena-zh @alfetopito I have updated and simplify the workflow. Still pending the confirmation for the tooltip message and the css changes for mobile as Elena mentioned |
@ramirotw , thanks! A couple of new issues:
|
@elena-zh points 1, 2 and 4 change the current behavior as it is with the Expert Mode, since those changes weren't discussed in #578 I didn't include them. Regarding 2 and 4 I'm not sure if hiding the toggle in Expert mode is a good idea, users that already have the Expert Mode on will stop seeing the toggle in the swap screen without any alert. Those are small changes though, when confirmed we can update it |
Agree with Ramiro, let's keep the same behaviour for Expert mode. One thing that we can do though, is to disable the recipient toggle when expert mode is on. What do you think of that? |
@ramirotw , In regard to case 2, I think it was discussed here: #578 (comment) : to make a separate toggle that controls Case 4. I do not mean to hide the Expert mode toggle. I mean hide 'Add a send' field when we switch 'Toggle Recipient' off. Please let me know if you have any questions. Thanks. |
yes I understood that, currently that's how it works with Expert Mode on, if the user clicked the |
I like this, simple and we keep the current behavior |
yes, #505 bug. |
great, haven't seen that one. Ok, I'll coordinate with @maria-vslvn so we can finish these:
|
@ramirotw , cool, thank you! Also, if you have a capacity, there are some additional issues on the board related to the current feature: |
…m/gnosis/cowswap into feature/578-recipient-mode-switch
Hey @elena-zh and @maria-vslvn, regarding this point:
|
@alongoni , looks much better! Also, we can make the test font in italic, and even smaller to correspond to the text above. |
I'm not sure about bringing to the same level (talking visually) the "Output will be sent to ... " with the previous small text in italic. Mainly because in this step is important to review where the founds will be send. Other thing, I was thinking if we can rephrase "Output will be sent to ... " to "The funds will be set to ..." or something like that. Regarding the scrollbar. We need to add some css to make it better. In a new issue I guess. |
Should we finalize this PR? |
…h' into feature/578-recipient-mode-switch
just resolved some conflicts and fixed some issues, it should be ok to merge after passing QA |
|
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.
Looks great! thanks for pushing this through the finish line
Hey @ramirotw ! Great changes! However:1
|
Hey @ramirotw , it might be a nitpick, but ON button still changes its color on hover. See the video: Or let me know if I need to create a separate issue for this... As for the p.3, I'd add a padding between the message and the Confirm button. Besides, I'd align the text with the rest text on the modal. |
Yes, I saw that but overriding that hover was cumbersome as the Toggle component was defined under the uniswap files and it would be an overkill to mod that file just to disable that darkened hover color. Another option is this: Disabling both toggle buttons is an option, wdyt? |
@elena-zh I've added some padding and now look like 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.
Great job!
Summary
Fixes #578
Recipient mode switcher was added to the Swap page in Setting menu. When turned on, the user should see the icon (was used one for example) that indicates that the mod is turned on, also the link
+ Add a send (optional)
should appear on the swap form just like it appears when Expert mode is on.To Test
Swap