-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Block chain depth indicators + mempool UI (#44)
* Display last portion of ellipsized text and migrate Block.tsx to atomic CSS * Fix issue with scrolling selected block into view * Fix issue with scrolling selected block into view (take 2) * Add depth link to the top of the block chain * Add depth bottom link * Style Mempool UI * Wire mempool data from RPC * Improve loading experience of block list, block details, and mempool info * Lint * Rename block fixtures according to their height * Fix SearchBox.test.ts * Add tests for BlockList * Lint
- Loading branch information
Showing
39 changed files
with
1,475 additions
and
594 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
"Executables", | ||
"Mempool", | ||
"SCROLLABLE", | ||
"Satoshi", | ||
"bitcoind", | ||
"clsx", | ||
"formik", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
import { makeStyles } from "@material-ui/core"; | ||
import { getAtomicCssAndStyleGroups } from "_r/useAtomicCss"; | ||
|
||
export const useSearchBoxStyles = makeStyles(theme => ({ | ||
inputRoot: { | ||
color: "inherit", | ||
}, | ||
inputInput: { | ||
padding: theme.spacing(3, 3, 3, 11), | ||
transition: theme.transitions.create("width"), | ||
width: 300, | ||
export const useSearchBoxStyles = makeStyles(theme => { | ||
const { atomicCss } = getAtomicCssAndStyleGroups(theme); | ||
|
||
"&:focus": { | ||
width: 600, | ||
return { | ||
inputRoot: { | ||
color: "inherit", | ||
}, | ||
}, | ||
})); | ||
|
||
inputInput: { | ||
padding: theme.spacing(3, 3, 3, 11), | ||
transition: theme.transitions.create("width"), | ||
width: 300, | ||
"&:focus": { | ||
width: 600, | ||
...atomicCss.borderWidth1px, | ||
...atomicCss.borderRadius4px, | ||
...atomicCss.borderColorSecondaryMain, | ||
...atomicCss.borderStyleSolid, | ||
}, | ||
}, | ||
}; | ||
}); |
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
Oops, something went wrong.