Skip to content

Conversation

mohsenD98
Copy link
Collaborator

@mohsenD98 mohsenD98 commented Sep 13, 2025

🚀 Description

This pull request enhances QFieldCloud by enabling access to the Project folder view without opening the project. It also adds confirmation when deleting projects and introduces file viewing directly from the folder view.

✨ Key Changes

  • Folder view: Added support for accessing the folder view independently of the project's open state.
  • Confirmation: Implemented a delete confirmation dialog to prevent accidental deletions.
  • File viewing: Introduced a "View file" option for directly previewing files.

Demo

Screencast.From.2025-09-13.16-46-47.webm

@mohsenD98 mohsenD98 self-assigned this Sep 13, 2025
@duke-nyuki
Copy link

@qfield-fairy
Copy link
Collaborator

qfield-fairy commented Sep 13, 2025

@mohsenD98 mohsenD98 force-pushed the QF-6684_cloud-project-folder-view branch from f71aea5 to c108993 Compare September 14, 2025 12:31
@mohsenD98 mohsenD98 marked this pull request as ready for review September 16, 2025 09:59
@mohsenD98 mohsenD98 force-pushed the QF-6684_cloud-project-folder-view branch from 40d7855 to fc0da2e Compare September 23, 2025 17:59
@mohsenD98 mohsenD98 force-pushed the QF-6684_cloud-project-folder-view branch from 01ff47a to 39f9314 Compare September 25, 2025 20:19
Comment on lines 904 to 906
} else {
localFilesModel.clearSelection();
}
Copy link
Member

Choose a reason for hiding this comment

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

I don't understand this logic. Whether we push a single file or a folder, we'll end up wanting the toaster message in. Am I missing something due to jet lag? :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Exactly! I didn’t want to change the logic we already had, but I also think the toast should be shown for both cases. It wasn’t happening before, but I’ll fix it in an upcoming commit.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

So, we need 2 different toast messages:

"‘%1’ is being uploaded to QFieldCloud"
"Items being uploaded to QFieldCloud"

Also, we only need to clear the selection when sending multiple items, so I tweaked the logic a bit. Do you see a better approach here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

also, are you happy with enabling - disabling the Connecting { } for each trigger ?

@nirvn nirvn merged commit e21e5ea into master Oct 3, 2025
25 checks passed
@nirvn nirvn deleted the QF-6684_cloud-project-folder-view branch October 3, 2025 02:07
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.

4 participants