Skip to content

feat(settings): add Reset to Default button#103

Open
bxn-dev wants to merge 5 commits into
Kenya-DK:developmentfrom
bxn-dev:feat/default-button
Open

feat(settings): add Reset to Default button#103
bxn-dev wants to merge 5 commits into
Kenya-DK:developmentfrom
bxn-dev:feat/default-button

Conversation

@bxn-dev

@bxn-dev bxn-dev commented Jun 2, 2026

Copy link
Copy Markdown

Fixes: #102

Adds a "Reset to Default" button in the Settings modal. Resets all
settings to their default values via a new app_get_default_settings
Tauri command.

  • Tauri command app_get_default_settings returning Settings::default()
  • Frontend api.app.getDefaultSettings() method
  • Reset button visible when current settings differ from defaults
  • Native confirm dialog via @tauri-apps/plugin-dialog before resetting
  • Form updated in-place, modal stays open after reset

@Kenya-DK

Kenya-DK commented Jun 2, 2026

Copy link
Copy Markdown
Owner

can y do so the "Reset all settings to default values?" can be translatede too

@bxn-dev

bxn-dev commented Jun 2, 2026

Copy link
Copy Markdown
Author

@Kenya-DK while doing i noticed, that we just have 3 language files for like 15 languages, i could add a few or atleast a german one, since i am a german

@Kenya-DK

Kenya-DK commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Sure as long y do it in a new PR

@bxn-dev

bxn-dev commented Jun 2, 2026

Copy link
Copy Markdown
Author

Sure thing

@bxn-dev

bxn-dev commented Jun 5, 2026

Copy link
Copy Markdown
Author

@Kenya-DK okay the dialog is translated now
image
image
image

@bxn-dev

bxn-dev commented Jun 9, 2026

Copy link
Copy Markdown
Author

@Kenya-DK is that solution fine for you or do i need to change something else?

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.

2 participants