Skip to content

Add settings dialog#236

Merged
azat merged 7 commits intomainfrom
settings-view
Mar 29, 2026
Merged

Add settings dialog#236
azat merged 7 commits intomainfrom
settings-view

Conversation

@azat
Copy link
Copy Markdown
Owner

@azat azat commented Mar 29, 2026

Fixes: #188

azat and others added 4 commits March 29, 2026 16:16
Shows all current chdig options grouped by section (ClickHouse, View,
Service, Perfetto, Runtime) in a dialog overlay, following the same
pattern as the help dialog.

Fixes: #188
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace Option<bool> fields in ChDigPerfettoConfig with bool and a
manual Default impl that provides the actual defaults (previously
scattered as unwrap_or calls in worker.rs).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace read-only text display with Checkbox widgets for boolean
options and EditView for numeric fields (limit, delay_interval).
Apply button writes values back to context and triggers a view refresh.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@azat azat changed the title Add settings dialog accessible via 'S' key and Ctrl+P fuzzy actions Add settings dialog Mar 29, 2026
azat and others added 3 commits March 29, 2026 16:37
Show resolved DateTime values in editable fields, parsed back via
parse_datetime_or_date on apply (same format as Alt+T dialog).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Parse via RelativeDateTime::from_str instead of parse_datetime_or_date
so both relative durations and absolute datetimes work. Add
to_editable_string() to display the original format round-trippably.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@azat azat merged commit b69ad1c into main Mar 29, 2026
8 checks passed
@azat azat deleted the settings-view branch March 29, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Window with all settings

1 participant