zamojski / TowerCollector

The OpenCellID and MLS contributor's app.
Mozilla Public License 2.0
226 stars 27 forks source link

Extend export feature and allow to chain operations #126

Open jidanni opened 3 years ago

jidanni commented 3 years ago

Currently the way the user keeps a copy of what he collects, is for him to remember each time to first export what he wants to upload, before uploading it.

This is very error-prone, and results in piecemeal files scattered all over the place.

I hereby propose an additional method: logging all the lines that will be eventually uploaded.

So there will be a directory full of .CSV.GZ files, each one day long, or 1000 lines long, or whatever or in a tree of directories or whatever.

This process will continue, and doesn't have to be coupled with the upload button at all: it's totally independent.

However a line could be answered that an upload took place at a certain time at that spot in the file.

Also indeed an option could be made for the user to insert a note in the file at the current spot like I mentioned in a different bug.

jidanni commented 3 years ago

(So these notes in the file would be comments that the user is responsible for removing if he later process it as a CSV file.)

jidanni commented 3 years ago

No I am not talking about the debugging log.

zamojski commented 3 years ago

logging all the lines

What do you mean by that? There're no lines saved in the app, only the points.

If I understand correctly you want to be able to split exported measurements into smaller chunks by either the quantity or date? And also ask for a note every time you do it?

jidanni commented 3 years ago

Thinking about this more:

I want an option to make everything uploaded to be also automatically exported.

With that option turned on, it would be like I first did a export, and then an upload, each time I do an upload.

So just be sure a default export directory has been chosen before allowing the user to select this new option.

And then just adjust the software to first do an export, and then do an upload.

zamojski commented 3 years ago

I see that related to #3 but let's keep it open. Technically it's not feasible to implement now - first I need to make export available from outside of the app (like shortcuts, etc.) but it's definitely something I also wanted to have.

jidanni commented 3 years ago

In fact also related to #17.