Skip to content

GSAK import: drop separate filter-import menu entry, explain file types - #1067

Merged
AgreeDK merged 1 commit into
OpenSAK-Org:betafrom
nagisml:improvement/gsak-import-drop-filter-menu
Oct 16, 2026
Merged

AgreeDK merged 1 commit into
OpenSAK-Org:betafrom
nagisml:improvement/gsak-import-drop-filter-menu

Conversation

@nagisml

@nagisml nagisml commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Closes #1066

Summary

File → Import from GSAK Database… already offers the saved GSAK filters and user locations whenever it finds a gsak.db3. The separate File → Import GSAK Filters… entry did the same thing, so this PR removes it. The GSAK import dialog now has a short note at the top that says what each kind of file will import:

  • Backup .zip: lists all databases and offers the filters and user locations from its gsak.db3.
  • Single sqlite.db3: imports only that database. Filters and locations are also offered if a gsak.db3 is in its GSAK folder.
  • gsak.db3 alone: imports no caches, only the saved filters and user locations.

GsakFilterImportDialog stays, because the GSAK import still opens it for the filter step.

Changes

  • mainwindow.py: removed _act_gsak_filter_import and _open_gsak_filter_import_dialog
  • gsak_import_dialog.py: added the intro note
  • lang/*.py (all 11): added gsak_import_intro, removed action_gsak_filter_import
  • docs/filters.md, docs/getting-started.md: now point to the GSAK import for filters
  • test_e2e_gsak_filter_import.py: now runs the filter import through the GSAK import with a bare gsak.db3. Added checks that the old menu entry is gone and that gsak.db3 alone offers only filters and locations.

File → Import from GSAK Database already offers the saved GSAK filters
(and user locations) whenever it finds a gsak.db3: inside a backup .zip,
next to a chosen sqlite.db3, or chosen on its own. The separate
File → Import GSAK Filters… entry did the same thing a second way, so
it is removed. GsakFilterImportDialog stays, because the GSAK import
still uses it for the filter step.

- mainwindow: remove _act_gsak_filter_import and
  _open_gsak_filter_import_dialog
- gsak_import_dialog: add an intro hint explaining what a backup .zip,
  a single sqlite.db3 and gsak.db3 alone each import
- lang (all 11): add gsak_import_intro, drop action_gsak_filter_import
- docs: filters.md and getting-started.md point to the GSAK import
- e2e test: drive the filter import through the GSAK import with a bare
  gsak.db3; check that the old menu entry is gone and that gsak.db3 alone
  offers only filters and locations
@AgreeDK
AgreeDK merged commit 3bd80b2 into OpenSAK-Org:beta Oct 16, 2026
7 checks passed
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