Open sschiessl-bcp opened 5 years ago
@abitmore instead of a copy button we could also add a toggle that switches the view of the json modal to a textarea that contains the formatted json?
Please redo the feature about raw JSON in the scope of #2657 which is relatively easier, and leave this issue for offline signing only which is much more complicated.
Please redo the feature about raw JSON in the scope of #2657 which is relatively easier, and leave this issue for offline signing only which is much more complicated.
I've removed beet from this issue
Would you rather have a switch button on the bottom left of the modal, or have a new modal popup with the plaintext @abitmore?
Both are fine.
@sschiessl-bcp I think it's better to design the ability to switch as a general feature, whenever there is a tree, the user can click a button to switch to a plain JSON text view. That said, add a button to the tree component, so we can use it everywhere. Is it possible?
@sschiessl-bcp I think it's better to design the ability to switch as a general feature, whenever there is a tree, the user can click a button to switch to a plain JSON text view. That said, add a button to the tree component, so we can use it everywhere. Is it possible?
I like this approach. We could have a button or toggle for this placed for the user to use to either view the JSON Tree, or a JSON string that should be possible to copy for other purposes. The JSON string could use the copy button component.
https://github.com/bitshares/bitshares-ui/issues/2657#issuecomment-519824413
On the footer row, on the bottom left Add a Copy icon with text "Copy TX", which does exactly that. Add this copy button also to bottom left of the JSONModal