Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: allow more decimals in the table filters (#4238)

Myles Scolnick0cb1e185e534
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index 4fe15f55fc..dfe7434b95 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -8552,9 +8552,6 @@ packages:
resolution: {integrity: sha512-4/u/j4FrCKdi17jaxuJA0jClGxB1AvU2hw/IuayPc4ay1XGaJs/rbb4v5WKwAjNifjmXK9PIFyuPiaK8azyR9w==}
engines: {node: '>=14.0.0'}
- resolution: {integrity: sha512-5x4eIEL6WgbzqGtF9UV8VEC/ehKptPXDS6L2b0mv4FRMkJxRtjaJfOWDd6a8+kYbqsjklix7yWP0N3SUepjXcg==}
-
resolution: {integrity: sha512-vRCqFv6UhXpWxZPyGDh/F3ZpNv8/qo7w6iufLpQg9aKnQ71qM4B5KiI7Mia9COcjEhrO9LueHpMYjYzsWH3OIg==}
@@ -8911,9 +8908,6 @@ packages:
resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==}
engines: {node: '>=10.13.0'}
- resolution: {integrity: sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==}
-
resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==}
@@ -12597,7 +12591,7 @@ snapshots:
dependencies:
storybook: 8.6.0
- unplugin: 1.4.0
+ unplugin: 1.16.1
'@storybook/[email protected]':
dependencies:
@@ -19006,13 +19000,6 @@ snapshots:
acorn: 8.14.0
webpack-virtual-modules: 0.6.2
- dependencies:
- acorn: 8.14.0
- chokidar: 3.6.0
- webpack-sources: 3.2.3
- webpack-virtual-modules: 0.5.0
-
@@ -19561,8 +19548,6 @@ snapshots:
-
diff --git a/frontend/src/components/ui/number-field.tsx b/frontend/src/components/ui/number-field.tsx
index 8b53d3c427..f5090ba8d6 100644
--- a/frontend/src/components/ui/number-field.tsx
+++ b/frontend/src/components/ui/number-field.tsx
@@ -17,7 +17,13 @@ export interface NumberFieldProps extends AriaNumberFieldProps {
export const NumberField = React.forwardRef<HTMLInputElement, NumberFieldProps>(
({ placeholder, ...props }, ref) => {
return (
- <AriaNumberField {...props}>
+ <AriaNumberField
+ {...props}
+ formatOptions={{
+ minimumFractionDigits: 0,
+ maximumFractionDigits: 100,
+ }}
+ >
<div
className={cn(
"shadow-xsSolid hover:shadow-smSolid hover:focus-within:shadow-mdSolid",