Skip to content

Suggest saving the project before uploading packaging - #821

Merged
SeqLaz merged 5 commits into
masterfrom
QF-1811-suggest_saving_the_project_before_uploading_packagin
Oct 13, 2026
Merged

SeqLaz merged 5 commits into
masterfrom
QF-1811-suggest_saving_the_project_before_uploading_packagin

Conversation

@SeqLaz

@SeqLaz SeqLaz commented Jul 23, 2026 •

Copy link
Copy Markdown
Member

This PR informs the users if the QGIS project has unsaved changes before packaging (Cable) or uploading (Cloud), and provides an interactive "Save project changes now" checkbox directly inside the project checker feedback table to save the project on the spot.

fix_action_callable_qfieldsync.webm

it requires this PR from libqfield

@SeqLaz
SeqLaz requested a review from suricactus July 23, 2026 14:48
@duke-nyuki

Copy link
Copy Markdown
Collaborator

@SeqLaz

SeqLaz commented Aug 25, 2026

Copy link
Copy Markdown
Member Author

@suricactus I've refactor it as you suggested

Comment thread qfieldsync/gui/checker_feedback_table.py
@suricactus

Copy link
Copy Markdown
Collaborator

Can we add a "Fix!" button on the right end of each feedback line, and then only run the callback when it is clicked. Compared to now, where the checkbox and the callback on toggled lives within the handler.

@SeqLaz

SeqLaz commented Aug 26, 2026

Copy link
Copy Markdown
Member Author

Can we add a "Fix!" button on the right end of each feedback line, and then only run the callback when it is clicked. Compared to now, where the checkbox and the callback on toggled lives within the handler.

@suricactus I've refactor it, and update the video on the PR description

@SeqLaz
SeqLaz requested a review from suricactus August 26, 2026 14:35
Comment thread qfieldsync/gui/checker_feedback_table.py Outdated
@SeqLaz
SeqLaz force-pushed the QF-1811-suggest_saving_the_project_before_uploading_packagin branch 2 times, most recently from d216583 to eac24f8 Compare August 26, 2026 18:29

@suricactus suricactus left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting there. The video looks very promising!

Comment thread qfieldsync/gui/checker_feedback_table.py Outdated
Comment thread qfieldsync/gui/checker_feedback_table.py Outdated
Comment thread qfieldsync/gui/cloud_transfer_dialog.py Outdated
Comment thread qfieldsync/gui/package_dialog.py Outdated
Comment thread qfieldsync/gui/checker_feedback_table.py
Comment thread qfieldsync/gui/package_dialog.py Outdated
Comment thread qfieldsync/gui/checker_feedback_table.py Outdated
@suricactus

Copy link
Copy Markdown
Collaborator

@SeqLaz any plans to work on this? Note the CI is also failing.

@SeqLaz

SeqLaz commented Oct 1, 2026

Copy link
Copy Markdown
Member Author

@SeqLaz any plans to work on this? Note the CI is also failing.

@suricactus the failing CI is due to we need to merge this PR on libqfieldsync first, then add to the requirements.txt.

@suricactus suricactus left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
@SeqLaz the CI is still failing.

@gounux can you also give a quick review, anyways you are on the QFieldSync topic.

@SeqLaz
SeqLaz force-pushed the QF-1811-suggest_saving_the_project_before_uploading_packagin branch from 25f60f7 to 9581de4 Compare October 2, 2026 09:49
@SeqLaz

SeqLaz commented Oct 2, 2026

Copy link
Copy Markdown
Member Author

@suricactus the CI is green now!.... Let's wait @gounux review!

@gounux gounux left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @SeqLaz, also for the video :)

LGTM, just wondering if the Fix! text button might be a bit too "magical" here, I could suggest something like "Save Project", though maybe it would require more deeper works in the new fix "framework".

So, leaving it up to you to take this into consideration or not 👌

@gounux

gounux commented Oct 2, 2026

Copy link
Copy Markdown
Member

Oh also @SeqLaz there are some conflicts in the requirements.txt to fix,

@suricactus

Copy link
Copy Markdown
Collaborator

LGTM, just wondering if the Fix! text button might be a bit too "magical" here, I could suggest something like "Save Project", though maybe it would require more deeper works in the new fix "framework".

Let's keep the majic as "fix" for now, it's per my request.

@suricactus

suricactus commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

@SeqLaz can you please update the dependency here to the latest libqfieldsync to resolve the conflict? If @gounux is going to release, I think you can do that too, depends who is faster :)

@suricactus

Copy link
Copy Markdown
Collaborator

It was simple enough, I did it myself.

@SeqLaz

SeqLaz commented Oct 13, 2026

Copy link
Copy Markdown
Member Author

Great, many thanks @gounux and @suricactus! 🥷 🥷

@suricactus

Copy link
Copy Markdown
Collaborator

I am ok to merge, please go ahead!

@SeqLaz

SeqLaz commented Oct 13, 2026

Copy link
Copy Markdown
Member Author

Let me do a final review and then I will merge it @suricactus! 🦾

@SeqLaz

SeqLaz commented Oct 13, 2026

Copy link
Copy Markdown
Member Author

All good, time to merge! 🦾

@SeqLaz
SeqLaz merged commit c8abedb into master Oct 13, 2026
9 checks passed
@SeqLaz
SeqLaz deleted the QF-1811-suggest_saving_the_project_before_uploading_packagin branch October 13, 2026 12:01
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.

4 participants