mirror of
https://github.com/asadbek064/hyparquet.git
synced 2026-02-23 12:51:32 +00:00
demo: show parquet errors
This commit is contained in:
parent
b10c38147c
commit
c77388fb5e
@ -76,7 +76,7 @@ export default function App({ url }: { url?: string }) {
|
||||
<button onClick={() => setLens('layout')}>Layout</button>
|
||||
</Dropdown>
|
||||
</div>
|
||||
{lens === 'table' && <HighTable data={df} />}
|
||||
{lens === 'table' && <HighTable data={df} onError={setError} />}
|
||||
{lens === 'metadata' && <ParquetMetadata metadata={metadata} />}
|
||||
{lens === 'layout' && <ParquetLayout byteLength={byteLength!} metadata={metadata} />}
|
||||
</>}
|
||||
|
||||
2
demo/bundle.min.js
vendored
2
demo/bundle.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -141,6 +141,21 @@ main,
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* error bar */
|
||||
.error-bar {
|
||||
max-height: 0;
|
||||
padding: 0;
|
||||
background-color: #dd111199;
|
||||
font-family: monospace;
|
||||
overflow-y: auto;
|
||||
transition: max-height 0.3s;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
.show-error {
|
||||
max-height: 30%;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.top-header {
|
||||
align-items: center;
|
||||
background: linear-gradient(to right, #353540, #24202b);
|
||||
|
||||
@ -33,19 +33,19 @@
|
||||
"@rollup/plugin-terser": "0.4.4",
|
||||
"@rollup/plugin-typescript": "11.1.6",
|
||||
"@types/node": "22.5.5",
|
||||
"@types/react": "18.3.7",
|
||||
"@types/react": "18.3.8",
|
||||
"@types/react-dom": "18.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "8.6.0",
|
||||
"@vitest/coverage-v8": "2.1.1",
|
||||
"eslint": "8.57.0",
|
||||
"eslint-plugin-import": "2.30.0",
|
||||
"eslint-plugin-jsdoc": "50.2.3",
|
||||
"hightable": "0.4.1",
|
||||
"eslint-plugin-jsdoc": "50.2.4",
|
||||
"hightable": "0.4.2",
|
||||
"http-server": "14.1.1",
|
||||
"hyparquet-compressors": "0.1.4",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"rollup": "4.21.3",
|
||||
"rollup": "4.22.2",
|
||||
"typescript": "5.6.2",
|
||||
"vitest": "2.1.1"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user