Skip to content
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

Better transaction result formatting in debug page #853

Merged
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ae80b00
feat: add toggleable number display for tx result
ByteAtATime May 27, 2024
f072135
feat: don't quote string tx result if it's a hex value
ByteAtATime May 27, 2024
8884f09
feat: display tuple elements separately
ByteAtATime May 27, 2024
490e60f
fix: allow tx result to scroll
ByteAtATime May 27, 2024
c7cfd04
feat: pretty format structs
ByteAtATime May 27, 2024
37df0ec
fix: TxReceipt to accept txResult as key in props
technophile-04 May 29, 2024
946900a
refactor: remove `asText` parameter in displayTxResult
ByteAtATime May 29, 2024
4a25c0d
refactor: rename TupleDisplay to ArrayDisplay
ByteAtATime May 29, 2024
931ad37
fix: convert slash to ArrowsRightLeftIcon
ByteAtATime May 29, 2024
23861a1
refactor: extract ObjectFieldDisplay from array/struct displays
ByteAtATime May 31, 2024
b66e87d
fix: fix address too large issue
ByteAtATime May 31, 2024
81a5010
feat: add a little gap so structs/tuples aren't touching
ByteAtATime May 31, 2024
f5e3861
fix: change ArrayDisplay to show indexes in brackets
ByteAtATime May 31, 2024
dbea593
fix: change "format as ether/number" tooltip to "divide/multiply by 1…
ByteAtATime May 31, 2024
2183474
fix: transaction receipt is not a struct
ByteAtATime Jun 1, 2024
35adf37
fix: rename tuple to array
ByteAtATime Jun 1, 2024
6d54d67
refactor: change default tx display size to "base"
ByteAtATime Jun 1, 2024
a89b901
feat: show "[]" for empty array
ByteAtATime Jun 1, 2024
c59c443
refactor: rename array and struct parameter to values/struct
ByteAtATime Jun 1, 2024
19ef4c7
fix: use ternary instead of && for conditional class
ByteAtATime Jun 1, 2024
2aafc6b
fix responsiveness on mobile for ReadOnlyFunctionForm
technophile-04 Jun 10, 2024
576886a
use btn-ghost for Number action btn
technophile-04 Jun 10, 2024
25bd2c1
change IntegerInput tooltip to 1e18
technophile-04 Jun 10, 2024
e2d8a71
decrease the of ArrowIcons to 65
technophile-04 Jun 10, 2024
6d168a2
align key values and avoid wrap on small screens
technophile-04 Jun 10, 2024
f801260
Merge branch 'main' into better-tx-result-formatting
technophile-04 Jun 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change IntegerInput tooltip to 1e18
  • Loading branch information
technophile-04 committed Jun 10, 2024
commit 25bd2c1f4a8720926cbfcedf7371c4547c3d9c52
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const IntegerInput = ({
!disableMultiplyBy1e18 && (
<div
className="space-x-4 flex tooltip tooltip-top tooltip-secondary before:content-[attr(data-tip)] before:right-[-10px] before:left-auto before:transform-none"
data-tip="Multiply by 10^18 (wei)"
data-tip="Multiply by 1e18 (wei)"
>
<button
className={`${disabled ? "cursor-not-allowed" : "cursor-pointer"} font-semibold px-4 text-accent`}
Expand Down