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/transaction_details/index.tsx | packages/ui/src/screens/transaction_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 Logs from '@/screens/transaction_details/components/logs';
import Messages from '@/screens/transaction_details/component... | 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/transaction_details/styles.ts | packages/ui/src/screens/transaction_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 1fr',
gridTemplateColumns: '1fr',
gap: theme.spacing(1),
'& a': {
... | 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/transaction_details/types.ts | packages/ui/src/screens/transaction_details/types.ts | export interface OverviewType {
hash: string;
height: number;
timestamp: string;
fee: TokenUnit;
gasUsed: number;
gasWanted: number;
success: boolean;
memo: string;
error: string;
}
export interface TransactionState {
loading: boolean;
exists: boolean;
overview: OverviewType;
logs: 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/transaction_details/hooks.ts | packages/ui/src/screens/transaction_details/hooks.ts | import { useRouter } from 'next/router';
import * as R from 'ramda';
import { SyntheticEvent, useCallback, useEffect, useState } from 'react';
import { convertMsgsToModels } from '@/components/msg/utils';
import { TransactionDetailsQuery, useTransactionDetailsQuery } 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/transaction_details/components/index.ts | packages/ui/src/screens/transaction_details/components/index.ts | export { default as Overview } from '@/screens/transaction_details/components/overview';
export { default as Messages } from '@/screens/transaction_details/components/messages';
export { default as Logs } from '@/screens/transaction_details/components/logs';
| 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/transaction_details/components/logs/index.tsx | packages/ui/src/screens/transaction_details/components/logs/index.tsx | import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import { FC } from 'react';
import useStyles from '@/screens/transaction_details/components/logs/styles';
import Box from '@/components/box';
type LogsProps = {
logs: null | unknown[];
};
const Logs: FC<Log... | 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/transaction_details/components/logs/styles.ts | packages/ui/src/screens/transaction_details/components/logs/styles.ts | import { Theme } from '@mui/material';
import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme: Theme) => ({
root: {
overflow: 'hidden',
},
header: {
paddingBottom: theme.spacing(2),
},
pre: {
maxHeight: '400px',
overflow: 'auto',
padding: '1rem',
margin: '... | 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/transaction_details/components/messages/index.test.tsx | packages/ui/src/screens/transaction_details/components/messages/index.test.tsx | import { MsgUnknown } from '@/models';
import Messages from '@/screens/transaction_details/components/messages';
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/transaction_details/components/messages/index.tsx | packages/ui/src/screens/transaction_details/components/messages/index.tsx | import Divider from '@mui/material/Divider';
import FormControlLabel from '@mui/material/FormControlLabel';
import Switch from '@mui/material/Switch';
import Typography from '@mui/material/Typography';
import useAppTranslation from '@/hooks/useAppTranslation';
import { ChangeEvent, FC, LegacyRef } from 'react';
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/transaction_details/components/messages/styles.ts | packages/ui/src/screens/transaction_details/components/messages/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
display: 'flex',
flexDirection: 'column',
},
desktopOptions: {
display: 'flex',
alignItems: 'flex-end',
justifyContent: 'center',
'& .MuiFormControlLabel-root': {
display: 'none',
... | 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/transaction_details/components/overview/index.test.tsx | packages/ui/src/screens/transaction_details/components/overview/index.test.tsx | import renderer from 'react-test-renderer';
import Overview from '@/screens/transaction_details/components/overview';
import MockTheme from '@/tests/mocks/MockTheme';
// ==================================
// mocks
// ==================================
jest.mock('@/components/box_details', () => (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/transaction_details/components/overview/index.tsx | packages/ui/src/screens/transaction_details/components/overview/index.tsx | import useAppTranslation from '@/hooks/useAppTranslation';
import Link from 'next/link';
import numeral from 'numeral';
import { FC } from 'react';
import { useRecoilValue } from 'recoil';
import BoxDetails from '@/components/box_details';
import Result from '@/components/result';
import { readDate, readTimeFormat } fr... | 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/transaction_details/components/overview/styles.ts | packages/ui/src/screens/transaction_details/components/overview/styles.ts | import { makeStyles } from 'tss-react/mui';
const useStyles = makeStyles()((theme) => ({
root: {
'& .memo': {
alignItems: 'flex-start',
'& .label': {
marginRight: theme.spacing(5),
},
},
},
}));
export default useStyles;
| typescript | Apache-2.0 | de058820eacedc2e9cbe82ad7fec8239faedeeff | 2026-01-05T04:51:16.060495Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.