Do not consider a field that is not of type "attachment > image" as one to be used to capture photos

Đang mở
#659 3 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
mobile-dev

Hướng nghiên cứu

Bắt đầu bằng cách theo dõi cách plugin QGIS xác định các trường tệp đính kèm và cách ứng dụng di động chọn widget ảnh. Xác minh hành vi đối với các trường tệp đính kèm thuộc loại image so với các trường có No content, đồng thời xác nhận rằng các tệp đính kèm không phải hình ảnh vẫn có thể được mở thông qua quy trình widget HTML được tài liệu hóa.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

I noticed that in QGIS project properties > Mergin Maps all fields set as "attachment" are shown as they are to be used for photos, even the ones that are not of type "image" (i.e. also the fields set as "No content"), and for those fields in Mergin Maps App the widget to take/choose photos is shown (so I guess this report is also about the mobile App).

This seems to me at least very inconvenient as there is a clear use for attachment fields that are not photos, like the ones that for example store a PDF file relative path that must be opened within the Mergin Maps app with the methods described in docs:

seems right now is not possible to use the same project (under Mergin Maps control) on Desktop to edit/add features and associate them a PDF file (because if the used field uses the attachment widget it will always renders with the photo capture widget on mobile), and then with an HTML widget allow to open it on mobile. I can't only think about some workaround, but maybe I'm wrong(?).

Ngôn ngữ chính
Python
Star
45
Fork
21
Merge trung bình
3 ngày 13 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MerginMaps/qgis-plugin

Tất cả issue của MerginMaps/qgis-plugin

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.