-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: spike adding heartbeat mappers * chore: testing and extending heartbeat support * chore: added testing for heartbeat txn * chore: support heartbeats in block polling via subscriber * fix: failed heartbeat test and updated color * fix: Updated missing heartbeat txn types * fix: Updated fixture to newScope and fixed description assertion values --------- Co-authored-by: Neil Campbell <[email protected]>
- Loading branch information
1 parent
9aaa373
commit 4df9b84
Showing
30 changed files
with
699 additions
and
46 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
162 changes: 162 additions & 0 deletions
162
...napshots__/heartbeat-transaction-graph.HEARTBEAT1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
<div> | ||
<div | ||
aria-label="Visual representation of transactions" | ||
class="w-min bg-card" | ||
> | ||
<div | ||
class="relative grid" | ||
style="grid-template-columns: minmax(100px, 100px) repeat(1, 140px);" | ||
> | ||
<div /> | ||
<div | ||
class="p-2 flex justify-center" | ||
> | ||
<div | ||
class="text-l font-semibold w-full" | ||
> | ||
<div | ||
class="grid text-center" | ||
> | ||
<div | ||
class="flex gap-0.5 items-center justify-center overflow-hidden" | ||
> | ||
<div | ||
class="shrink-0 basis-4" | ||
/> | ||
<div | ||
class="flex items-center overflow-hidden" | ||
> | ||
<a | ||
class="text-primary underline truncate" | ||
href="/localnet/account/HEARTBEATADDRESS123456789ABCDEFGHIJKLMNOPQRSTUVW" | ||
> | ||
<abbr | ||
class="tracking-wide" | ||
title="HEARTBEATADDRESS123456789ABCDEFGHIJKLMNOPQRSTUVW" | ||
> | ||
HEAR…TUVW | ||
</abbr> | ||
</a> | ||
</div> | ||
<div | ||
class="shrink-0 basis-4" | ||
> | ||
<div | ||
class="flex size-4 items-center justify-center overflow-hidden rounded-full border border-primary text-[0.6rem] text-primary" | ||
> | ||
1 | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
class="relative grid" | ||
style="grid-template-columns: minmax(100px, 100px) repeat(1, 140px); grid-template-rows: repeat(1, 40px);" | ||
> | ||
<div | ||
class="absolute left-0" | ||
> | ||
<div> | ||
<div | ||
class="p-0" | ||
/> | ||
<div | ||
class="p-0" | ||
style="height: 40px; width: 140px;" | ||
> | ||
<div | ||
class="grid h-full" | ||
style="grid-template-columns: minmax(100px, 100px) repeat(1, 140px); height: 40px;" | ||
> | ||
<div /> | ||
<div | ||
class="flex justify-center" | ||
> | ||
<div | ||
class="border h-full border-dashed" | ||
style="border-left-width: 1px;" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
class="p-0 relative" | ||
> | ||
<div | ||
class="relative h-full p-0 flex items-center px-0" | ||
style="margin-left: 0px;" | ||
> | ||
<div | ||
class="inline" | ||
style="margin-left: 0px;" | ||
> | ||
<div | ||
class="flex items-center" | ||
> | ||
<a | ||
class="text-primary underline inline" | ||
href="/localnet/transaction/HEARTBEAT1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ" | ||
> | ||
<abbr | ||
class="tracking-wide text-primary" | ||
title="HEARTBEAT1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ" | ||
> | ||
HEARTBE… | ||
</abbr> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
class="flex items-center justify-center relative z-10" | ||
data-state="closed" | ||
style="grid-column-start: 2; grid-column-end: 3;" | ||
> | ||
<div | ||
class="inline-flex relative size-5 items-center justify-center overflow-hidden rounded-full border text-[0.6rem] border-heartbeat bg-card" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
class="sticky bottom-0 left-full z-50 flex size-0 overflow-visible" | ||
> | ||
<button | ||
class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border border-input bg-transparent hover:bg-accent hover:text-accent-foreground h-10 px-4 py-2 absolute bottom-1 right-0 w-32" | ||
id="download-transactions-visual" | ||
> | ||
<svg | ||
class="lucide lucide-download mr-2 size-4" | ||
fill="none" | ||
height="24" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="2" | ||
viewBox="0 0 24 24" | ||
width="24" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" | ||
/> | ||
<polyline | ||
points="7 10 12 15 17 10" | ||
/> | ||
<line | ||
x1="12" | ||
x2="12" | ||
y1="15" | ||
y2="3" | ||
/> | ||
</svg> | ||
Download | ||
</button> | ||
</div> | ||
</div> |
Oops, something went wrong.