-
Notifications
You must be signed in to change notification settings - Fork 138
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
Add background-geopoint
question type which exposes xforms-value-changed
event with odk:setgeopoint
action
#726
Add background-geopoint
question type which exposes xforms-value-changed
event with odk:setgeopoint
action
#726
Commits on Oct 19, 2024
-
add new XLSForm question type called background-geopoint which saves …
…an odk:setgeopoint action in response to an xforms-value-changed event
Configuration menu - View commit details
-
Copy full SHA for 157c429 - Browse repository at this point
Copy the full SHA 157c429View commit details -
Configuration menu - View commit details
-
Copy full SHA for f502254 - Browse repository at this point
Copy the full SHA f502254View commit details -
Configuration menu - View commit details
-
Copy full SHA for f762598 - Browse repository at this point
Copy the full SHA f762598View commit details -
Configuration menu - View commit details
-
Copy full SHA for 389c31c - Browse repository at this point
Copy the full SHA 389c31cView commit details -
consolidate validation for trigger values with validation for section…
… name uniqueness in survey class
Configuration menu - View commit details
-
Copy full SHA for ed213cd - Browse repository at this point
Copy the full SHA ed213cdView commit details -
add more tests for background-geopoint questions when used with other…
… setvalue question types and also when used in groups and repeats
Configuration menu - View commit details
-
Copy full SHA for 402c669 - Browse repository at this point
Copy the full SHA 402c669View commit details -
chg: improvements for the addition of background-geopoint
- builder.py: - de-duplicate elif call to create_question_from_dict - use relevant class dictionaries directly instead of passing around - replace regex with strip() to avoid replacing whitespace everywhere in the question name (whitespace invalid in question names). - question.py: - avoid calling self.get_root() repeatedly as it iterates the form (up the tree from the current question). - remove `if` block in nest_set_nodes since it is only called when there are items to be processed. - question_types.py: - add validation functions for workbook_to_json. used external strings for re-use, easier testing, and (maybe someday) i18n. - xls2json.py: - move background-geopoint questions to workbook_to_json from survey.py and question.py to allow row references in errors - test_background_geopoint.py: - change the test class name to match unittest idiom / test discovery - remove `note` question from all tests since this is not relevant to the feature being tested or any specific edge cases of interest. - remove xpath expressions testing only the presence of groups, since these are tested already as part of the xpath to find the inputs within the groups. - readability improvements: - structured test method names - state the overall test case expectation in docstring - indicate the topic of the xpaths - wrap long xpaths and use single-quotes for predicates - shorten test fixture names and tidy up markdown formatting
Configuration menu - View commit details
-
Copy full SHA for 705174b - Browse repository at this point
Copy the full SHA 705174bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f673525 - Browse repository at this point
Copy the full SHA f673525View commit details