feat(settings): add 'Import from BeTidy' screen - #178
Open
mschabhuettl wants to merge 1 commit into
Open
Conversation
Adds a Settings page (Settings -> Import from BeTidy) to upload a BeTidy export bundle and import it into Donetick via the new POST /chores/import/betidy endpoint. Includes file upload, timezone and include-inactive options, a result summary, and English i18n strings. Requires backend donetick/donetick#756. Proposed in discussion donetick/donetick#754.
mschabhuettl
marked this pull request as ready for review
July 30, 2026 00:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a Settings → Import from BeTidy page so users can migrate from the BeTidy chores app (which has no export) without touching the API by hand.
The page lets you:
betidy_export.json, produced by the community tool betidy-export),imported / skipped / labels created).Changes
src/views/Settings/BeTidyImportSettings.jsx— the new page (MUI Joy,SettingsLayout,useNotification).src/utils/Fetcher.jsx—ImportBeTidy(bundle)→POST /chores/import/betidy.src/contexts/RouterContext.jsx— routesettings/import-betidy.src/views/Settings/SettingsOverview.jsx— a card in the settings overview.public/locales/en/settings.json— English strings (other languages fall back toen; translations can follow).Verified
npm run buildpasses;eslintclean on the new/changed files (pre-existing lint issues inSettingsOverview.jsxuntouched).Notes
Endpoint name/placement should track whatever is decided for the backend PR / #264 ("import from other apps"). Happy to adjust wording, add translations, or rework the flow.