Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition a project oudated and project >>file<< outdated states for cloud projects #4883

Merged
merged 8 commits into from
Jan 11, 2024

Conversation

nirvn
Copy link
Member

@nirvn nirvn commented Dec 21, 2023

This PR adds logic to QField to detect whether a locally stored cloud project is oudated (i.e., newer data is available on the cloud) as well as detecting whether the locally stored cloud project file is oudated (i.e. newer project file is available on the cloud).

When the project is oudated, QField indicates to the user that new data is available in the projects list:

image

For those re-opening a previously loaded cloud project from the recent projects list, a new iconography is used for the dashboard's cloud button that informs users through an exclamation mark when their local project file is outdated:

image

When opening the cloud popup, a message informs users that they should synchronize the project to catch updated data:

image

If the project file is outdated, a slightly different message is shown, with a warning status attached to it:

image

@nirvn nirvn marked this pull request as draft December 21, 2023 10:11
@qfield-fairy
Copy link
Collaborator

qfield-fairy commented Dec 21, 2023

@nirvn nirvn changed the title Addition of an "oudated" state for cloud projects Addition a project oudated and project >>file<< outdated states for cloud projects Dec 23, 2023
@nirvn nirvn marked this pull request as ready for review December 23, 2023 07:43
Copy link
Collaborator

@suricactus suricactus left a comment

Choose a reason for hiding this comment

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

Looks good, one very small comment here.

src/qml/qgismobileapp.qml Outdated Show resolved Hide resolved
Co-authored-by: Ivan Ivanov <suricactus@users.noreply.github.com>
@nirvn nirvn merged commit 4634b14 into master Jan 11, 2024
18 of 19 checks passed
@nirvn nirvn deleted the cloud_outdated branch January 11, 2024 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants