-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor(web): create Option type for Dropdown options * chore(web): update changeset * refactor(web): use label in Dropdown selected option display * refactor(web): update Dropdown component main filename * refactor(web): remove nested /components folder in Dropdown * feat(web): render value when no label in Dropdown * feat(web): add prefix slot to Dropdown option * feat(web): add filter panel with rollup filter in PaginatedTable * chore(web): update changeset * refactor(web): rename main PaginedTable filename * refactor(web): rename main FilersPanel filename * refactor(web): update RollupFilter component to fetch rollups from API * feat(web): add filters to query params * fix(web): pages number calculation in PaginatedTable * fix(web): pages number calculation in PaginatedTable * feat(web): install React DatePicker Tailwind library * feat(web): add full width prop to Button * feat(web): add custom height prop to Dropdown * feat(web): add Timestamp filter to FilterPanel * chore(web): update changeset * feat(web): add timestamp filters to URL * fix(web): Skeleton custom height not working * refactor(web): simplify dropdowns options * refactor(web): reduce contitions to filter in Filters * fix(web): reset filters when all are reset after being filtered * feat(web): create BlockNumber filter * feat(web): move block number validations to filters form * chore(web): update changeset * fix(web): reset filters when all are reset after being filtered * feat(web): add clear button for filter * fix(web): clear/filter buttons responsiveness * fix(web): clear/filter buttons responsiveness for desktop * fix(web): fix block number filter responsiveness * refactor(web): decouple Filters from PaginatedTable * feat(web): add slot filter to blocks table * fix(web): fix filters reponsiveness * chore(web): update changeset * fix(web): display block number and slot range filters on the same row on small screens * chore(web): remove unused leftover files * fix(web): align number range input values to the left * refactor(web): change number range in filters to close interval --------- Co-authored-by: Luis Herasme <[email protected]> Co-authored-by: PJColombo <[email protected]>
- Loading branch information
1 parent
c9a6ada
commit 9ba363e
Showing
11 changed files
with
156 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@blobscan/web": minor | ||
--- | ||
|
||
Added slot range filter to blocks view |
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,18 @@ | ||
import type { FC } from "react"; | ||
|
||
import type { NumberRangeInputProps } from "../Inputs/NumberRangeInput"; | ||
import { NumberRangeInput } from "../Inputs/NumberRangeInput"; | ||
|
||
type SlotFilterProps = Pick<NumberRangeInputProps, "range" | "onChange">; | ||
|
||
export const SlotFilter: FC<SlotFilterProps> = function (props) { | ||
return ( | ||
<NumberRangeInput | ||
className="w-full" | ||
type="uint" | ||
inputStartProps={{ placeholder: "Start Slot" }} | ||
inputEndProps={{ placeholder: "End Slot" }} | ||
{...props} | ||
/> | ||
); | ||
}; |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.