repo
stringlengths
7
64
file_url
stringlengths
81
338
file_path
stringlengths
5
257
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:25:31
2026-01-05 01:50:38
truncated
bool
2 classes
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/validators/components/list/components/desktop/utils.tsx
packages/ui/src/screens/validators/components/list/components/desktop/utils.tsx
import ConditionExplanation from '@/components/condition_explanation'; import InfoPopover from '@/components/info_popover'; import Typography from '@mui/material/Typography'; import type { TFunction } from '@/hooks/useAppTranslation'; import { ReactNode } from 'react'; export const fetchColumns = ( t: TFunction ): {...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/validators/components/list/components/desktop/styles.ts
packages/ui/src/screens/validators/components/list/components/desktop/styles.ts
import { CSSObject } from '@emotion/react'; import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { height: '100%', '& .status': { '&.one': { color: theme.palette.custom.tags.one, }, '&.two': { color: theme.palette.custom.tags.two, ...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/validators/components/list/components/tabs/index.test.tsx
packages/ui/src/screens/validators/components/list/components/tabs/index.test.tsx
import renderer from 'react-test-renderer'; import TabsHeader from '@/screens/validators/components/list/components/tabs'; import MockTheme from '@/tests/mocks/MockTheme'; // ================================== // mocks // ================================== jest.mock('@/components/search', () => (props: JSX.IntrinsicEl...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/validators/components/list/components/tabs/index.tsx
packages/ui/src/screens/validators/components/list/components/tabs/index.tsx
import Tab from '@mui/material/Tab'; import Tabs from '@mui/material/Tabs'; import useAppTranslation from '@/hooks/useAppTranslation'; import { ComponentProps, FC } from 'react'; import Search from '@/components/search'; import useStyles from '@/screens/validators/components/list/components/tabs/styles'; import { tabLa...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/validators/components/list/components/tabs/utils.tsx
packages/ui/src/screens/validators/components/list/components/tabs/utils.tsx
export const tabLabels = ['active', 'inactive', 'allValidators'];
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/validators/components/list/components/tabs/styles.ts
packages/ui/src/screens/validators/components/list/components/tabs/styles.ts
import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { display: 'flex', alignItems: 'center', justifyContent: 'space-between', }, searchBar: { display: 'none', [theme.breakpoints.up('lg')]: { display: 'block', width: '300px', '& .Mui...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/validators/components/list/components/voting_power_explanation/index.test.tsx
packages/ui/src/screens/validators/components/list/components/voting_power_explanation/index.test.tsx
import renderer from 'react-test-renderer'; import VotingPowerExplanation from '@/screens/validators/components/list/components/voting_power_explanation'; import MockTheme from '@/tests/mocks/MockTheme'; // ================================== // unit tests // ================================== describe('screen: Validat...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/validators/components/list/components/voting_power_explanation/index.tsx
packages/ui/src/screens/validators/components/list/components/voting_power_explanation/index.tsx
import Typography from '@mui/material/Typography'; import AppTrans from '@/components/AppTrans'; import useStyles from '@/screens/validators/components/list/components/voting_power_explanation/styles'; const VotingPowerExplanation = () => { const { classes } = useStyles(); return ( <div className={classes.roo...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/validators/components/list/components/voting_power_explanation/styles.ts
packages/ui/src/screens/validators/components/list/components/voting_power_explanation/styles.ts
import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()(() => ({ root: { height: '100%', }, })); export default useStyles;
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/validators/components/list/components/condition/index.test.tsx
packages/ui/src/screens/validators/components/list/components/condition/index.test.tsx
import renderer from 'react-test-renderer'; import Condition from '@/screens/validators/components/list/components/condition'; import MockTheme from '@/tests/mocks/MockTheme'; // ================================== // mocks // ================================== // ================================== // unit tests // ==...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/validators/components/list/components/condition/index.tsx
packages/ui/src/screens/validators/components/list/components/condition/index.tsx
import { FC } from 'react'; import useStyles from '@/screens/validators/components/list/components/condition/styles'; const Condition: FC<ComponentDefault> = ({ className }) => { const { classes, cx } = useStyles(); return <div className={cx(classes.root, className)} />; }; export default Condition;
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/validators/components/list/components/condition/styles.ts
packages/ui/src/screens/validators/components/list/components/condition/styles.ts
import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { width: '10px', height: '10px', background: theme.palette.custom.condition.zero, margin: '0 auto', borderRadius: '50%', '&.green': { background: theme.palette.custom.condition.one, }, ...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/validators/components/list/components/voting_power/index.test.tsx
packages/ui/src/screens/validators/components/list/components/voting_power/index.test.tsx
import numeral from 'numeral'; import renderer from 'react-test-renderer'; import VotingPower from '@/screens/validators/components/list/components/voting_power'; import MockTheme from '@/tests/mocks/MockTheme'; // ================================== // unit tests // ================================== describe('screen:...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/validators/components/list/components/voting_power/index.tsx
packages/ui/src/screens/validators/components/list/components/voting_power/index.tsx
import Typography from '@mui/material/Typography'; import { FC } from 'react'; import useStyles from '@/screens/validators/components/list/components/voting_power/styles'; type VotingPowerProps = { className?: string; percentage: number; percentDisplay: string; content: string; topVotingPower: boolean; }; c...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/validators/components/list/components/voting_power/styles.ts
packages/ui/src/screens/validators/components/list/components/voting_power/styles.ts
import { makeStyles } from 'tss-react/mui'; import Color from 'color'; const useStyles = makeStyles<{ percentage: number; topVotingPower: boolean }>()( (theme, { percentage, topVotingPower }) => ({ root: { '& .MuiTypography-body1': { color: topVotingPower ? theme.palette.custom.fonts.font...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/proposals/index.test.tsx
packages/ui/src/screens/proposals/index.test.tsx
import { ProposalsDocument } from '@/graphql/types/general_types'; import Proposals from '@/screens/proposals'; import { mockClient } from '@/tests/mocks/mockApollo'; import MockTheme from '@/tests/mocks/MockTheme'; import wait from '@/tests/utils/wait'; import { ApolloProvider } from '@apollo/client'; import { MockedP...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/proposals/index.tsx
packages/ui/src/screens/proposals/index.tsx
import { NextSeo } from 'next-seo'; import useAppTranslation from '@/hooks/useAppTranslation'; import Layout from '@/components/layout'; import LoadAndExist from '@/components/load_and_exist'; import List from '@/screens/proposals/components/list'; import { useProposals } from '@/screens/proposals/hooks'; import useSty...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/proposals/styles.ts
packages/ui/src/screens/proposals/styles.ts
import { CSSObject } from '@emotion/react'; import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { ...(theme.mixins.layout as CSSObject), '& a': { color: theme.palette.custom.fonts.highlight, }, }, })); export default useStyles;
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/proposals/types.ts
packages/ui/src/screens/proposals/types.ts
export interface ProposalType { id: number; title: string; description: string; status: string; } export interface ProposalsState { loading: boolean; exists: boolean; hasNextPage: boolean; isNextPageLoading: boolean; rawDataTotal: number; items: ProposalType[]; }
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/proposals/hooks.ts
packages/ui/src/screens/proposals/hooks.ts
import { ProposalsQuery, useProposalsQuery } from '@/graphql/types/general_types'; import type { ProposalsState, ProposalType } from '@/screens/proposals/types'; import * as R from 'ramda'; import { useCallback, useState } from 'react'; import xss from 'xss'; const formatProposals = (data?: ProposalsQuery): ProposalTy...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/proposals/components/index.ts
packages/ui/src/screens/proposals/components/index.ts
import List from '@/screens/proposals/components/list'; export { List };
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/proposals/components/list/index.test.tsx
packages/ui/src/screens/proposals/components/list/index.test.tsx
import ProposalsList from '@/screens/proposals/components/list'; import MockTheme from '@/tests/mocks/MockTheme'; import wait from '@/tests/utils/wait'; import { ComponentProps } from 'react'; import renderer from 'react-test-renderer'; import AutoSizer from 'react-virtualized-auto-sizer'; // =========================...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/proposals/components/list/index.tsx
packages/ui/src/screens/proposals/components/list/index.tsx
import Divider from '@mui/material/Divider'; import Link from 'next/link'; import numeral from 'numeral'; import { FC } from 'react'; import AutoSizer from 'react-virtualized-auto-sizer'; import { ListChildComponentProps, VariableSizeList as List } from 'react-window'; import InfiniteLoader from 'react-window-infinite-...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/proposals/components/list/styles.ts
packages/ui/src/screens/proposals/components/list/styles.ts
import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { minHeight: '500px', height: '50vh', display: 'flex', flexDirection: 'column', [theme.breakpoints.up('lg')]: { height: '100%', minHeight: '65vh', }, }, list: { flex: 1, }, t...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/proposals/components/list/components/index.ts
packages/ui/src/screens/proposals/components/list/components/index.ts
export { default as SingleProposal } from '@/components/single_proposal'; export { default as Total } from '@/screens/proposals/components/list/components/total';
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/proposals/components/list/components/total/index.tsx
packages/ui/src/screens/proposals/components/list/components/total/index.tsx
import Typography from '@mui/material/Typography'; import useAppTranslation from '@/hooks/useAppTranslation'; import { FC } from 'react'; type TotalProps = { className?: string; total: string; }; const Total: FC<TotalProps> = ({ className, total }) => { const { t } = useAppTranslation('proposals'); return ( ...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/index.test.tsx
packages/ui/src/screens/block_details/index.test.tsx
import { ApolloClient, ApolloProvider, from, InMemoryCache } from '@apollo/client'; import { MockedProvider } from '@apollo/client/testing'; import renderer from 'react-test-renderer'; import { BlockDetailsDocument } from '@/graphql/types/general_types'; import BlockDetails from '@/screens/block_details'; import MockTh...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/index.tsx
packages/ui/src/screens/block_details/index.tsx
import { NextSeo } from 'next-seo'; import useAppTranslation from '@/hooks/useAppTranslation'; import Layout from '@/components/layout'; import LoadAndExist from '@/components/load_and_exist'; import Overview from '@/screens/block_details/components/overview'; import Signatures from '@/screens/block_details/components/...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/styles.ts
packages/ui/src/screens/block_details/styles.ts
import { CSSObject } from '@emotion/react'; import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { ...(theme.mixins.layout as CSSObject), '& a': { color: theme.palette.custom.fonts.highlight, }, display: 'grid', gridTemplateRows: 'auto auto 1fr', ...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/types.ts
packages/ui/src/screens/block_details/types.ts
export interface OverviewType { height: number; hash: string; txs: number; timestamp: string; proposer: string; // votingPower: number; } export interface BlockDetailState { loading: boolean; exists: boolean; overview: OverviewType; signatures: string[]; transactions: Transactions[]; }
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/hooks.ts
packages/ui/src/screens/block_details/hooks.ts
import { useRouter } from 'next/router'; import numeral from 'numeral'; import * as R from 'ramda'; import { useCallback, useEffect, useState } from 'react'; import { convertMsgsToModels } from '@/components/msg/utils'; import { BlockDetailsQuery, useBlockDetailsQuery } from '@/graphql/types/general_types'; import type...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/components/index.ts
packages/ui/src/screens/block_details/components/index.ts
import Overview from '@/screens/block_details/components/overview'; import Signatures from '@/screens/block_details/components/signatures'; import Transactions from '@/screens/block_details/components/transactions'; export { Overview, Transactions, Signatures };
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/components/signatures/index.tsx
packages/ui/src/screens/block_details/components/signatures/index.tsx
import Box from '@/components/box'; import NoData from '@/components/no_data'; import Desktop from '@/screens/block_details/components/signatures/components/desktop'; import Mobile from '@/screens/block_details/components/signatures/components/mobile'; import useStyles from '@/screens/block_details/components/signature...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/components/signatures/styles.ts
packages/ui/src/screens/block_details/components/signatures/styles.ts
import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { display: 'flex', flexDirection: 'column', '& .MuiTypography-h2': { paddingBottom: theme.spacing(2), }, }, wrapper: { flex: 1, }, title: { marginBottom: theme.spacing(2), }, })); e...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/components/signatures/components/index.ts
packages/ui/src/screens/block_details/components/signatures/components/index.ts
import Desktop from '@/screens/block_details/components/signatures/components/desktop'; import Mobile from '@/screens/block_details/components/signatures/components/mobile'; export { Desktop, Mobile };
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/components/signatures/components/mobile/index.tsx
packages/ui/src/screens/block_details/components/signatures/components/mobile/index.tsx
import Divider from '@mui/material/Divider'; import Typography from '@mui/material/Typography'; import useAppTranslation from '@/hooks/useAppTranslation'; import { FC, LegacyRef } from 'react'; import AutoSizer from 'react-virtualized-auto-sizer'; import { ListChildComponentProps, VariableSizeList as List } from 'react...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/components/signatures/components/mobile/styles.ts
packages/ui/src/screens/block_details/components/signatures/components/mobile/styles.ts
import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { height: '100%', }, itemWrapper: { margin: theme.spacing(2, 0), }, item: { marginBottom: theme.spacing(2), '& .label': { marginBottom: theme.spacing(1), color: theme.palette.custom.font...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/components/signatures/components/desktop/index.tsx
packages/ui/src/screens/block_details/components/signatures/components/desktop/index.tsx
import Typography from '@mui/material/Typography'; import useAppTranslation from '@/hooks/useAppTranslation'; import { FC, LegacyRef, useMemo } from 'react'; import AutoSizer from 'react-virtualized-auto-sizer'; import { VariableSizeGrid as Grid } from 'react-window'; import { columns, formatRows, } from '@/screens...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/components/signatures/components/desktop/utils.tsx
packages/ui/src/screens/block_details/components/signatures/components/desktop/utils.tsx
import { FC } from 'react'; import AvatarName from '@/components/avatar_name'; import { useProfileRecoil } from '@/recoil/profiles/hooks'; export const columns: { key: string; align?: 'left' | 'center' | 'right' | 'justify' | 'inherit'; width: number; }[] = [ { key: 'validator', width: 100, }, ]; co...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/components/signatures/components/desktop/styles.ts
packages/ui/src/screens/block_details/components/signatures/components/desktop/styles.ts
import { CSSObject } from '@emotion/react'; import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { height: '100%', }, cell: { ...(theme.mixins.tableCell as CSSObject), }, body: { color: theme.palette.custom.fonts.fontTwo, }, })); export default useStyl...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/components/transactions/index.test.tsx
packages/ui/src/screens/block_details/components/transactions/index.test.tsx
import renderer from 'react-test-renderer'; import Transactions from '@/screens/block_details/components/transactions'; import MockTheme from '@/tests/mocks/MockTheme'; // ================================== // mocks // ================================== jest.mock('@/components/box', () => (props: JSX.IntrinsicElements...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/components/transactions/index.tsx
packages/ui/src/screens/block_details/components/transactions/index.tsx
import Typography from '@mui/material/Typography'; import useAppTranslation from '@/hooks/useAppTranslation'; import { FC } from 'react'; import { useRecoilValue } from 'recoil'; import Box from '@/components/box'; import TransactionsList from '@/components/transactions_list'; import TransactionsListDetails from '@/com...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/components/transactions/styles.ts
packages/ui/src/screens/block_details/components/transactions/styles.ts
import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { minHeight: '500px', height: '50vh', display: 'flex', flexDirection: 'column', [theme.breakpoints.up('lg')]: { height: '100%', }, }, header: { marginBottom: theme.spacing(2), [the...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/components/overview/index.test.tsx
packages/ui/src/screens/block_details/components/overview/index.test.tsx
import renderer from 'react-test-renderer'; import Overview from '@/screens/block_details/components/overview'; import MockTheme from '@/tests/mocks/MockTheme'; // ================================== // mocks // ================================== jest.mock('@/components/box_details', () => (props: JSX.IntrinsicElements...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/block_details/components/overview/index.tsx
packages/ui/src/screens/block_details/components/overview/index.tsx
import Typography from '@mui/material/Typography'; import useAppTranslation from '@/hooks/useAppTranslation'; import numeral from 'numeral'; import { FC } from 'react'; import { useRecoilValue } from 'recoil'; import AvatarName from '@/components/avatar_name'; import BoxDetails from '@/components/box_details'; import {...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/blocks/utils.ts
packages/ui/src/screens/blocks/utils.ts
import { ItemType } from '@/screens/blocks/types'; export const resolveProfile = (_item: ItemType, profile: AvatarName) => profile;
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/blocks/index.test.tsx
packages/ui/src/screens/blocks/index.test.tsx
import { ApolloClient, ApolloProvider, from, InMemoryCache } from '@apollo/client'; import { MockedProvider } from '@apollo/client/testing'; import renderer from 'react-test-renderer'; import { BlocksDocument, BlocksListenerDocument } from '@/graphql/types/general_types'; import Blocks from '@/screens/blocks'; import M...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/blocks/index.tsx
packages/ui/src/screens/blocks/index.tsx
import Box from '@/components/box'; import Layout from '@/components/layout'; import LoadAndExist from '@/components/load_and_exist'; import NoData from '@/components/no_data'; import Desktop from '@/screens/blocks/components/desktop'; import Mobile from '@/screens/blocks/components/mobile'; import { useBlocks } from '...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/blocks/styles.ts
packages/ui/src/screens/blocks/styles.ts
import { CSSObject } from '@emotion/react'; import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { ...(theme.mixins.layout as CSSObject), '& a': { color: theme.palette.custom.fonts.highlight, }, }, box: { minHeight: '500px', height: '50vh', ...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/blocks/types.ts
packages/ui/src/screens/blocks/types.ts
export interface BlockType { height: number; txs: number; timestamp: string; proposer: string; hash: string; } export interface BlocksState { loading: boolean; exists: boolean; hasNextPage: boolean; isNextPageLoading: boolean; items: BlockType[]; } export type ItemType = BlockType;
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/blocks/hooks.ts
packages/ui/src/screens/blocks/hooks.ts
import * as R from 'ramda'; import { useCallback, useState } from 'react'; import { BlocksListenerSubscription, useBlocksListenerSubscription, useBlocksQuery, } from '@/graphql/types/general_types'; import type { BlocksState, BlockType } from '@/screens/blocks/types'; // This is a bandaid as it can get extremely...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/blocks/components/index.ts
packages/ui/src/screens/blocks/components/index.ts
import Desktop from '@/screens/blocks/components/desktop'; import Mobile from '@/screens/blocks/components/mobile'; export { Mobile, Desktop };
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/blocks/components/mobile/index.test.tsx
packages/ui/src/screens/blocks/components/mobile/index.test.tsx
import Mobile from '@/screens/blocks/components/mobile'; import MockTheme from '@/tests/mocks/MockTheme'; import { ComponentProps } from 'react'; import renderer from 'react-test-renderer'; import AutoSizer from 'react-virtualized-auto-sizer'; // ================================== // mocks // =========================...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/blocks/components/mobile/index.tsx
packages/ui/src/screens/blocks/components/mobile/index.tsx
import AvatarName from '@/components/avatar_name'; import Loading from '@/components/loading'; import SingleBlockMobile from '@/components/single_block_mobile'; import Timestamp from '@/components/Timestamp'; import { useList, useListRow } from '@/hooks/use_react_window'; import { useProfileRecoil } from '@/recoil/prof...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/blocks/components/mobile/styles.ts
packages/ui/src/screens/blocks/components/mobile/styles.ts
import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()(() => ({ root: { height: '100%', }, })); export default useStyles;
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/blocks/components/desktop/index.test.tsx
packages/ui/src/screens/blocks/components/desktop/index.test.tsx
import Desktop from '@/screens/blocks/components/desktop'; import MockTheme from '@/tests/mocks/MockTheme'; import { mockClient } from '@/tests/mocks/mockApollo'; import { ApolloProvider } from '@apollo/client'; import { ComponentProps } from 'react'; import renderer from 'react-test-renderer'; import AutoSizer from 'r...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/blocks/components/desktop/index.tsx
packages/ui/src/screens/blocks/components/desktop/index.tsx
import AvatarName from '@/components/avatar_name'; import Loading from '@/components/loading'; import Timestamp from '@/components/Timestamp'; import { useGrid } from '@/hooks/use_react_window'; import { useProfileRecoil } from '@/recoil/profiles/hooks'; import useStyles from '@/screens/blocks/components/desktop/styles...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/blocks/components/desktop/utils.tsx
packages/ui/src/screens/blocks/components/desktop/utils.tsx
export const columns: { key: string; align?: 'left' | 'center' | 'right' | 'justify' | 'inherit'; width: number; }[] = [ { key: 'height', width: 15, }, { key: 'proposer', width: 25, }, { key: 'hash', width: 25, }, { key: 'txs', align: 'right', width: 15, }, { ...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/blocks/components/desktop/styles.ts
packages/ui/src/screens/blocks/components/desktop/styles.ts
import { CSSObject } from '@emotion/react'; import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { height: '100%', }, cell: { ...(theme.mixins.tableCell as CSSObject), }, body: { color: theme.palette.custom.fonts.fontTwo, }, })); export default useStyl...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/index.test.tsx
packages/ui/src/screens/profile_details/index.test.tsx
import { useMemo } from 'react'; import renderer from 'react-test-renderer'; import chainConfig from '@/chainConfig'; import ProfileDetails from '@/screens/profile_details'; import MockTheme from '@/tests/mocks/MockTheme'; import wait from '@/tests/utils/wait'; const { prefix } = chainConfig(); // ===================...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/index.tsx
packages/ui/src/screens/profile_details/index.tsx
import { NextSeo } from 'next-seo'; import useAppTranslation from '@/hooks/useAppTranslation'; import DesmosProfile from '@/components/desmos_profile'; import Layout from '@/components/layout'; import LoadAndExist from '@/components/load_and_exist'; import Connections from '@/screens/profile_details/components/connecti...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/styles.ts
packages/ui/src/screens/profile_details/styles.ts
import { CSSObject } from '@emotion/react'; import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { ...(theme.mixins.layout as CSSObject), display: 'grid', gridTemplateRows: 'auto', gap: theme.spacing(1), '& a': { color: theme.palette.custom.fonts.hi...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/types.ts
packages/ui/src/screens/profile_details/types.ts
export interface ProfileDetailState { exists: boolean; desmosProfile: DesmosProfile | null; }
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/hooks.test.tsx
packages/ui/src/screens/profile_details/hooks.test.tsx
import { act, cleanup, renderHook } from '@testing-library/react'; import { useMemo } from 'react'; import chainConfig from '@/chainConfig'; import type { useDesmosProfile } from '@/hooks/use_desmos_profile'; import { useProfileDetails } from '@/screens/profile_details/hooks'; const { extra, prefix } = chainConfig(); ...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/hooks.ts
packages/ui/src/screens/profile_details/hooks.ts
import { useRouter } from 'next/router'; import * as R from 'ramda'; import { useCallback, useEffect, useState } from 'react'; import chainConfig from '@/chainConfig'; import { useDesmosProfile } from '@/hooks/use_desmos_profile'; import type { ProfileDetailState } from '@/screens/profile_details/types'; const { extra...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/components/index.ts
packages/ui/src/screens/profile_details/components/index.ts
import Connections from '@/screens/profile_details/components/connections'; export { Connections };
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/components/connections/index.test.tsx
packages/ui/src/screens/profile_details/components/connections/index.test.tsx
import renderer from 'react-test-renderer'; import Connections from '@/screens/profile_details/components/connections'; import MockTheme from '@/tests/mocks/MockTheme'; // ================================== // mocks // ================================== jest.mock('@/components/box', () => (props: JSX.IntrinsicElements...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/components/connections/index.tsx
packages/ui/src/screens/profile_details/components/connections/index.tsx
import Box from '@/components/box'; import Pagination from '@/components/pagination'; import { usePagination } from '@/hooks/use_pagination'; import useShallowMemo from '@/hooks/useShallowMemo'; import Desktop from '@/screens/profile_details/components/connections/components/desktop'; import Mobile from '@/screens/prof...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/components/connections/styles.ts
packages/ui/src/screens/profile_details/components/connections/styles.ts
import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ noWrap: { whiteSpace: 'nowrap', }, paginate: { marginTop: theme.spacing(2), }, icon: { display: 'flex', alignItems: 'center', justifyContent: 'center', '&:hover': { cursor: 'pointer', },...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/components/connections/components/index.ts
packages/ui/src/screens/profile_details/components/connections/components/index.ts
import Desktop from '@/screens/profile_details/components/connections/components/desktop'; import Mobile from '@/screens/profile_details/components/connections/components/mobile'; export { Desktop, Mobile };
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/components/connections/components/mobile/index.test.tsx
packages/ui/src/screens/profile_details/components/connections/components/mobile/index.test.tsx
import Mobile from '@/screens/profile_details/components/connections/components/mobile'; import MockTheme from '@/tests/mocks/MockTheme'; import { ComponentProps } from 'react'; import renderer from 'react-test-renderer'; import AutoSizer from 'react-virtualized-auto-sizer'; // ================================== // mo...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/components/connections/components/mobile/index.tsx
packages/ui/src/screens/profile_details/components/connections/components/mobile/index.tsx
import Divider from '@mui/material/Divider'; import Typography from '@mui/material/Typography'; import useAppTranslation from '@/hooks/useAppTranslation'; import Link from 'next/link'; import { FC, Fragment } from 'react'; import { useRecoilValue } from 'recoil'; import { ACCOUNT_DETAILS } from '@/utils/go_to_page'; im...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/components/connections/components/mobile/styles.ts
packages/ui/src/screens/profile_details/components/connections/components/mobile/styles.ts
import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ list: { margin: theme.spacing(2, 0), }, item: { marginBottom: theme.spacing(2), '& .label': { marginBottom: theme.spacing(1), color: theme.palette.custom.fonts.fontThree, }, '& p.value': { ...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/components/connections/components/desktop/index.test.tsx
packages/ui/src/screens/profile_details/components/connections/components/desktop/index.test.tsx
import Desktop from '@/screens/profile_details/components/connections/components/desktop'; import MockTheme from '@/tests/mocks/MockTheme'; import { ComponentProps } from 'react'; import renderer from 'react-test-renderer'; import AutoSizer from 'react-virtualized-auto-sizer'; // ================================== // ...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/components/connections/components/desktop/index.tsx
packages/ui/src/screens/profile_details/components/connections/components/desktop/index.tsx
import Table from '@mui/material/Table'; import TableBody from '@mui/material/TableBody'; import TableCell from '@mui/material/TableCell'; import TableHead from '@mui/material/TableHead'; import TableRow from '@mui/material/TableRow'; import useAppTranslation from '@/hooks/useAppTranslation'; import Link from 'next/lin...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/profile_details/components/connections/components/desktop/utils.tsx
packages/ui/src/screens/profile_details/components/connections/components/desktop/utils.tsx
export const columns: { key: string; align?: 'left' | 'center' | 'right' | 'justify' | 'inherit'; width: number; }[] = [ { key: 'network', width: 25, }, { key: 'identifier', width: 50, align: 'left', }, { key: 'creationTime', width: 25, align: 'right', }, ];
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/countdown/index.tsx
packages/ui/src/screens/countdown/index.tsx
import Typography from '@mui/material/Typography'; import { FC, useCallback, useState } from 'react'; import chainConfig from '@/chainConfig'; import ChainIcon from '@/components/ChainIcon'; import Loading from '@/components/loading'; import { useInterval } from '@/hooks/use_interval'; import useStyles from '@/screens/...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/countdown/styles.ts
packages/ui/src/screens/countdown/styles.ts
import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { display: 'flex', alignItems: 'center', justifyContent: 'center', minHeight: '100vh', flexDirection: 'column', background: theme.palette.background.default, '& a': { color: theme.palette....
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/index.test.tsx
packages/ui/src/screens/home/index.test.tsx
import { ApolloClient, ApolloProvider, from, InMemoryCache } from '@apollo/client'; import { MockedProvider } from '@apollo/client/testing'; import renderer from 'react-test-renderer'; import { LatestBlockTimestampDocument } from '@/graphql/types/general_types'; import Home from '@/screens/home'; import MockTheme from ...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/index.tsx
packages/ui/src/screens/home/index.tsx
import Layout from '@/components/layout'; import Blocks from '@/screens/home/components/blocks'; import Consensus from '@/screens/home/components/consensus'; import DataBlocks from '@/screens/home/components/data_blocks'; import Hero from '@/screens/home/components/hero'; import Tokenomics from '@/screens/home/componen...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/styles.ts
packages/ui/src/screens/home/styles.ts
import { CSSObject } from '@emotion/react'; import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { ...(theme.mixins.layout as CSSObject), display: 'grid', gap: theme.spacing(1), gridTemplateRows: 'auto auto 1fr', gridTemplateColumns: 'repeat(1, 1fr)', ...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/index.ts
packages/ui/src/screens/home/components/index.ts
import Consensus from '@/screens/home/components/consensus'; import DataBlocks from '@/screens/home/components/data_blocks'; import Tokenomics from '@/screens/home/components/tokenomics'; import Blocks from '@/screens/home/components/blocks'; import Transactions from '@/screens/home/components/transactions'; import Her...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/blocks/index.test.tsx
packages/ui/src/screens/home/components/blocks/index.test.tsx
import { BlocksListenerDocument } from '@/graphql/types/general_types'; import Blocks from '@/screens/home/components/blocks'; import { mockClient } from '@/tests/mocks/mockApollo'; import MockTheme from '@/tests/mocks/MockTheme'; import wait from '@/tests/utils/wait'; import { ApolloProvider } from '@apollo/client'; i...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/blocks/index.tsx
packages/ui/src/screens/home/components/blocks/index.tsx
/* eslint-disable no-nested-ternary */ import Box from '@/components/box'; import Loading from '@/components/loading'; import NoData from '@/components/no_data'; import Desktop from '@/screens/home/components/blocks/components/desktop'; import Mobile from '@/screens/home/components/blocks/components/mobile'; import { u...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/blocks/styles.ts
packages/ui/src/screens/home/components/blocks/styles.ts
import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { display: 'flex', flexDirection: 'column', '& .button': { color: theme.palette.custom.fonts.fontTwo, '&:hover': { cursor: 'pointer', }, }, }, label: { marginBottom: theme....
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/blocks/types.ts
packages/ui/src/screens/home/components/blocks/types.ts
export interface BlockType { height: number; txs: number; timestamp: string; proposer: string; hash: string; } export interface BlocksState { loading: boolean; items: BlockType[]; } export type ItemType = BlockType;
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/blocks/hooks.ts
packages/ui/src/screens/home/components/blocks/hooks.ts
import * as R from 'ramda'; import { useCallback, useState } from 'react'; import { BlocksListenerSubscription, useBlocksListenerSubscription, } from '@/graphql/types/general_types'; import type { BlocksState } from '@/screens/home/components/blocks/types'; const formatBlocks = (data: BlocksListenerSubscription) =...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/blocks/components/index.ts
packages/ui/src/screens/home/components/blocks/components/index.ts
import Desktop from '@/screens/home/components/blocks/components/desktop'; import Mobile from '@/screens/home/components/blocks/components/mobile'; export { Mobile, Desktop };
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/blocks/components/mobile/index.test.tsx
packages/ui/src/screens/home/components/blocks/components/mobile/index.test.tsx
import renderer from 'react-test-renderer'; import Mobile from '@/screens/home/components/blocks/components/mobile'; import MockTheme from '@/tests/mocks/MockTheme'; // ================================== // mocks // ================================== jest.mock('@/components/single_block_mobile', () => (props: JSX.Intr...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/blocks/components/mobile/index.tsx
packages/ui/src/screens/home/components/blocks/components/mobile/index.tsx
import AvatarName from '@/components/avatar_name'; import SingleBlockMobile from '@/components/single_block_mobile'; import Timestamp from '@/components/Timestamp'; import { useProfileRecoil } from '@/recoil/profiles/hooks'; import type { ItemType } from '@/screens/home/components/blocks/types'; import { getMiddleEllip...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/blocks/components/desktop/index.test.tsx
packages/ui/src/screens/home/components/blocks/components/desktop/index.test.tsx
import renderer from 'react-test-renderer'; import Desktop from '@/screens/home/components/blocks/components/desktop'; import MockTheme from '@/tests/mocks/MockTheme'; // ================================== // mocks // ================================== jest.mock('@/components/avatar_name', () => (props: JSX.IntrinsicE...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/blocks/components/desktop/index.tsx
packages/ui/src/screens/home/components/blocks/components/desktop/index.tsx
import AvatarName from '@/components/avatar_name'; import Timestamp from '@/components/Timestamp'; import { useProfileRecoil } from '@/recoil/profiles/hooks'; import useStyles from '@/screens/home/components/blocks/components/desktop/styles'; import { columns } from '@/screens/home/components/blocks/components/desktop/...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/blocks/components/desktop/utils.tsx
packages/ui/src/screens/home/components/blocks/components/desktop/utils.tsx
export const columns: { key: string; align?: 'left' | 'center' | 'right' | 'justify' | 'inherit'; }[] = [ { key: 'height', }, { key: 'proposer', }, { key: 'hash', }, { key: 'txs', align: 'right', }, { key: 'time', align: 'right', }, ];
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/blocks/components/desktop/styles.ts
packages/ui/src/screens/home/components/blocks/components/desktop/styles.ts
import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { overflow: 'auto', '& a': { color: theme.palette.custom.fonts.highlight, }, }, table: { '& .MuiTableBody-root': { '& .MuiTableCell-root': { whiteSpace: 'nowrap', height: 'au...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/data_blocks/index.test.tsx
packages/ui/src/screens/home/components/data_blocks/index.test.tsx
import { ApolloClient, ApolloProvider, from, InMemoryCache } from '@apollo/client'; import { MockedProvider } from '@apollo/client/testing'; import renderer from 'react-test-renderer'; import { ActiveValidatorCountDocument, AverageBlockTimeDocument, LatestBlockHeightListenerDocument, TokenPriceListenerDocument,...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/data_blocks/index.tsx
packages/ui/src/screens/home/components/data_blocks/index.tsx
import useAppTranslation from '@/hooks/useAppTranslation'; import numeral from 'numeral'; import { FC } from 'react'; import SingleBlock from '@/screens/home/components/data_blocks/components/single_block'; import { useDataBlocks } from '@/screens/home/components/data_blocks/hooks'; import useStyles from '@/screens/hom...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/data_blocks/styles.ts
packages/ui/src/screens/home/components/data_blocks/styles.ts
import { makeStyles } from 'tss-react/mui'; const useStyles = makeStyles()((theme) => ({ root: { display: 'grid', gap: theme.spacing(1), gridTemplateRows: 'auto', [theme.breakpoints.up('sm')]: { gridTemplateColumns: 'repeat(2, 1fr)', }, [theme.breakpoints.up('lg')]: { gap: theme.s...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/data_blocks/hooks.ts
packages/ui/src/screens/home/components/data_blocks/hooks.ts
import numeral from 'numeral'; import { useState } from 'react'; import chainConfig from '@/chainConfig'; import { ActiveValidatorCountQuery, AverageBlockTimeQuery, TokenPriceListenerSubscription, useActiveValidatorCountQuery, useAverageBlockTimeQuery, useLatestBlockHeightListenerSubscription, useTokenPri...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/data_blocks/components/index.ts
packages/ui/src/screens/home/components/data_blocks/components/index.ts
import SingleBlock from '@/screens/home/components/data_blocks/components/single_block'; export { SingleBlock };
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false
forbole/big-dipper-2.0-cosmos
https://github.com/forbole/big-dipper-2.0-cosmos/blob/de058820eacedc2e9cbe82ad7fec8239faedeeff/packages/ui/src/screens/home/components/data_blocks/components/single_block/index.test.tsx
packages/ui/src/screens/home/components/data_blocks/components/single_block/index.test.tsx
import renderer from 'react-test-renderer'; import SingleBlock from '@/screens/home/components/data_blocks/components/single_block'; import MockTheme from '@/tests/mocks/MockTheme'; // ================================== // unit tests // ================================== describe('screen: Home/SingleBlock', () => { ...
typescript
Apache-2.0
de058820eacedc2e9cbe82ad7fec8239faedeeff
2026-01-05T04:51:16.060495Z
false