farmOS / field-kit

A modular, offline-first companion app to farmOS.
https://farmOS.org
GNU General Public License v3.0
59 stars 38 forks source link

Create a rudimentary UI for Observations Field Module #507

Open jgaehring opened 2 years ago

jgaehring commented 2 years ago

With #503 I removed image support from the Tasks module so we could refocus that module as a more "TODO-style" app, and in conjunction support images via a dedicated Observations Field Module. The idea for this go all the way back to @ludwa6's concept in #275, which sadly is over 2 years old at this point. I'm closing it now in favor of this more narrowly scoped issue.

I've pushed a branch, field-module-observations, that contains the last version of TasksEdit.vue prior to removing the "Images" section, as well as the old camModule.js, even though we're no longer using Vuex modules. Both files are in a separate package folder, field-module-observations, which can be the germ for a new module.

Initially, this will probably just be a reproduction of the UI from TasksEdit, but eventually I'd like to make improvements to make it easier and simpler to use. For instance, the original idea was to make a button on the Observations widget that immediately opened the camera to take a picture, to reduce the number of taps that were required. A similar option could be provided for audio observations.

jgaehring commented 2 years ago

For instance, the original idea was to make a button on the Observations widget that immediately opened the camera to take a picture, to reduce the number of taps that were required. A similar option could be provided for audio observations.

I finally found the old Figma file where I sketched up this idea:

image

Pretty rough, but I still really love this idea.

jgaehring commented 3 months ago

I changed the title of this issue to focus on a very basic UI for the Observations module, at least for the time being. I can basically just replicate the "Images" section of the old EditTask screen and that should be enough for now.