You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: input block code editors with variable name change button
* add options to input blocks
* show input values in editors
* live update of input editor when value changes
* fix date values
* feat: make non-text input block editors readonly
* fix date format
* fix: prevent language change of input block editors
* feat: add Step option to slider inputs
* feat: add file picker button to file inputs
* add select input settings screen
* feat: add multi-select support to select inputs
* fix: improve UX of multi-select
* fix empty value handling for multi-select inputs
* feat: add warning comment to button blocks
* fix ts issues: add localization for select box webview
* fix: normalize 'None' to null in select input parsing
* fix: parse slider value as number instead of string
* fix: use null instead of empty string for date-range parse failures
* fix: localize tooltip strings and wrap switch-case declarations in blocks
* fix: replace deprecated onKeyPress with onKeyDown
* fix: add 'cancel' to WebviewMessage type union
* fix: remove duplicate SelectInputSettings interface
* fix: add accessibility improvements to SelectInputSettingsPanel
* fix: improve webview content loading and localization
* fix: use updateCellMetadata to preserve cell outputs and attachments
* fix: properly parse slider values as numbers in applyChangesToBlock
When falling back to existing or default values, the slider converter now
properly parses string values to numbers to ensure consistent numeric types.
* fix: update input-file status bar test to expect 3 items
The test was expecting 2 items but the provider now returns 3:
- Type label
- Variable name
- Choose File button
* fix: resolve all lint issues
- Remove 'any' types in inputConverters.ts by using proper type inference from Zod schemas
- Remove 'any' type in deepnoteInputBlockEditProtection.ts by using Uri type
- Fix import restriction by moving SelectInputSettings and SelectInputWebviewMessage types to src/platform/notebooks/deepnote/types.ts
- Re-export types from platform in webview-side types file for backward compatibility
* fix: remove invalid content parsing for variable names
* refactor: remove dead input value parsing logic
* fix: handle lineCount=0
* add logs for failed reverts
* remove unnecessary base logic
* simplify input converters
* fix lang in text input tests
* remove outdated input value logic
* add handling for start>end date ranges
* improve empty selection handling when not allowed
* fix file input paths
* ease test
* improve uri typing
* handle special chars in input values
* delete unused html
* add focus outlines
* aria for inputs
* tighten typing in converotrs
* refactor mock logger
* refactor canConvert
* fix comment
* fix type
* void->undefined
* remove copyright
* fix tests of numeric values
* show "Set variable name" when not set
* fix extension filter
* Fix date input timezone shifts in input block status bar
- Add formatDateToYYYYMMDD helper to avoid UTC conversion shifts
- Check if date already matches YYYY-MM-DD pattern and use directly
- Otherwise construct from local date components (year, month, day)
- Apply fix to dateInputChooseDate, dateRangeChooseStart, dateRangeChooseEnd
- Prevents dates from shifting by one day in non-UTC timezones
* Fix accessibility issues in SelectInputSettingsPanel radio buttons
- Replace non-semantic div with role='radio' with semantic <label> elements
- Remove manual role, tabIndex, aria-checked attributes from wrapper
- Remove manual keyboard handlers (Enter/Space) - native radio behavior
- Associate labels with radio inputs for proper click handling
- Remove stopPropagation calls - no longer needed with semantic structure
- Radio inputs now work natively for screen readers and keyboard users
- Maintains existing visual styling via .radio-option CSS class
* fix css importing
* add tests for command handlers in the input status bar provider
* remove unused imports
* polish input converter tests
* respect cancl token
* fix: avoid max<min in sliders
* localize file input block status bar
* fix: prevent invalid dates
* polish select variable metadata cleanup
* replace event.data cast with type param
* polish localization of select input settings webview
* avoid dupe select box options
* add accessible labels to select input settings
* polish localization of select input settings
* disposable in test
* reorganize imports in input block tests
* fixup token
* empty function -> return undefined
* fix package lock file
* fix: fix default metadata logic
* test: add more tests for sql block status bar provider
* localize select input strings
* tighten typing of select box webview messages
* test: add more tests for sql statu sbar
* test: add more tests for input block status bar provider
* convert to typed error
* remove generated copyright
* discriminated union for select box options
* polish sql status bar test
* swap data and localization string sending
* Revert "discriminated union for select box options"
d6cae8a
I changed my mind, let's not mess with this.
* refactor: centralize error localization and improve error handling in select input settings
- Add failedToSave localization key to SelectInputSettings namespace
- Update LocalizedMessages type to include failedToSave key
- Replace hardcoded error message with centralized localization key
- Wrap workspace.applyEdit in try-catch to capture underlying errors
- Include error cause in logger.error, window.showErrorMessage, and WrappedError
- Remove unused l10n import
* improve test
* remove generated copyright header
* fix deduplication
* Fix promise handling in select input settings save failure
Remove promise resolution from the catch block when save fails so the
promise stays pending until the user explicitly retries or cancels.
Previously, calling resolvePromise(null) made callers think the flow
finished even though the panel remained open and interactive.
Now when save fails:
- The error is logged via logger.error for debugging
- The error is already shown to the user via saveSettings
- The promise remains pending (not resolved)
- The panel stays open so the user can retry or cancel
- Only explicit cancel or successful save resolves the promise
* fix select box option detection
* fix dispose race conditions in select box settings webview
* fix select box message type use
* cancel token in the webview
* hide error cause from ui
* consolidate input block language options
* fix text input block execution
0 commit comments