etl icon indicating copy to clipboard operation
etl copied to clipboard

wizard: snapshot local file import restarts if you click away from screen

Open spoonerf opened this issue 10 months ago • 3 comments

One-liner

When running Snapshot and importing a local file, you can add the file path to Wizard. If you do this in more than one click or aren't quite quick, it restarts the page, and you need to enter the snapshot metadata again.

Hard to explain so I've included a screengrab!

Environment

  • Python: 3.11
  • Operating system: Mac OS 14.2.1 (23C71)
  • Working with local, staging or live: local

Context & details

https://github.com/owid/etl/assets/10774728/5367a104-a7c0-47ee-bac5-7704e90277b9

spoonerf avatar Apr 22 '24 07:04 spoonerf

@spoonerf I'll take a look into this!

Note that the snapshot files should have been created already, so no need to fill in the metadata again. You can instead use the terminal command:

python snapshots/path/to/script.py --path-to-file path/to/file.csv

lucasrodes avatar Apr 30 '24 13:04 lucasrodes

Ah thanks @lucasrodes - that is good to know!

spoonerf avatar Apr 30 '24 13:04 spoonerf

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 29 '24 22:06 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 30 '24 02:08 stale[bot]