Collect: Long pressing on grid widgets should clear the selection visually

Created on 29 Mar 2017  路  9Comments  路  Source: getodk/collect

Software and hardware versions

Collect v1.5.1

Problem description

Long pressing on a GridWidget or a GridMultiWidget clears the selection but doesn't update the visuals.

Steps to reproduce the problem

  1. Open a form with a grid widget and a grid widget multi-select such as New Widgets
  2. Long press on either widget to pop up the clear response prompt
  3. Clear the response, nothing changes visually
  4. Swipe forward and then back to verify that the answer was cleared

Expected behavior

The orange background should be cleared when the widget responses are cleared by long pressing.

bug good first issue help wanted user experience

Most helpful comment

Thanks, @krishnarai30!

@pratikmjoshi, long pressing to clear answers is standard across widgets and something that should be supported for all of them. Data collectors are trained to use it. This issue is to fix that.

See my comment here regarding what #679 did address and what still needs to be considered in #678. Does that make sense?

All 9 comments

@lognaturel will be solving this ASAP!

@lognaturel I think I had raised a similar issue in #678, could you please clarify?

Thanks, @krishnarai30!

@pratikmjoshi, long pressing to clear answers is standard across widgets and something that should be supported for all of them. Data collectors are trained to use it. This issue is to fix that.

See my comment here regarding what #679 did address and what still needs to be considered in #678. Does that make sense?

Ahh yes it makes sense.

May I try it?

@krishnarai30 are you still working on this one? If not, let us know and @nmpatsal can take it on.

@lognaturel @nmpatsal let's both work on the issue!

@krishnarai30 @nmpatsal Sounds good! If you want to chat about it, you can use a thread in the Slack #collect-code channel so others can jump in as needed. It should hopefully be relatively straight forward.

Sorry, I am working for a course where my professor assess my contributions and I am working team with @nikialexopoulou. So, it is better to @krishnarai30 work on this issue! However, thank you for letting me to contribute too!

Was this page helpful?
0 / 5 - 0 ratings