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

Mark other_selected if Other selected #2875

Merged
merged 9 commits into from
Nov 28, 2024

Conversation

anandwana001
Copy link
Collaborator

@anandwana001 anandwana001 commented Nov 27, 2024

Fixes #2846

Added proto in this PR
google/ground-platform#2107

Screenshot 2024-11-27 at 11 10 08 AM

@shobhitagarwal1612 PTAL?

@anandwana001
Copy link
Collaborator Author

I don't think we need the other variable as mentioned here
#2846 (comment)

Please let me know if I am missing anything here.

Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.20%. Comparing base (e2c7033) to head (d62ebb5).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #2875   +/-   ##
=========================================
  Coverage     61.19%   61.20%           
  Complexity     1183     1183           
=========================================
  Files           266      266           
  Lines          6345     6346    +1     
  Branches        903      903           
=========================================
+ Hits           3883     3884    +1     
  Misses         1933     1933           
  Partials        529      529           
Files with missing lines Coverage Δ
.../ground/model/submission/MultipleChoiceTaskData.kt 64.51% <100.00%> (ø)
...stence/remote/firebase/protobuf/ModelToProtoExt.kt 80.80% <100.00%> (+0.19%) ⬆️

Copy link
Member

@shobhitagarwal1612 shobhitagarwal1612 left a comment

Choose a reason for hiding this comment

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

Please update unit tests and PR description as well

@anandwana001
Copy link
Collaborator Author

Please update unit tests and PR description as well

Waiting for web pr google/ground-platform#2107 to get in so for the proto variable

@anandwana001 anandwana001 changed the title Added "Other" text if no value is provided Mark other_selected if Other selected Nov 27, 2024
Copy link
Collaborator

@gino-m gino-m left a comment

Choose a reason for hiding this comment

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

🔢 👍

@shobhitagarwal1612
Copy link
Member

Please add some test coverage to SubmissionMutationConverterTest

@shobhitagarwal1612 shobhitagarwal1612 merged commit f2441dd into master Nov 28, 2024
4 checks passed
@shobhitagarwal1612 shobhitagarwal1612 deleted the anandwana001/2846/add-text-other-if-empty branch November 28, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Data collection] "Other" multiple choice option with no text not saved
4 participants