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

Shorten sheet title if it's too long #2919

Merged
merged 2 commits into from
Mar 12, 2019

Conversation

grzesiek2010
Copy link
Member

@grzesiek2010 grzesiek2010 commented Feb 26, 2019

Closes #2918

What has been done to verify that this works as intended?

I tested the form attached to the issue.

Why is this the best possible solution? Were any other approaches considered?

Google just doesn't allow to create sheets with longer names so we need that fix to be able to send data, there is no other solution.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

It's not very risky but sending forms to GS should be tested to confirm the problem is solved and there is no regression.

Do we need any specific form for testing your changes? If so, please attach one.

The form attached to the issue.

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No.

Before submitting this PR, please make sure you have:

  • run ./gradlew checkAll and confirmed all checks still pass OR confirm CircleCI build passes and run ./gradlew connectedDebugAndroidTest locally.
  • verified that any code or assets from external sources are properly credited in comments and/or in the about file.
  • verified that any new UI elements use theme colors. UI Components Style guidelines

Copy link
Contributor

@cooperka cooperka left a comment

Choose a reason for hiding this comment

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

Looks good, just some suggestions to generify it.

@grzesiek2010 grzesiek2010 force-pushed the COLLECT-2918 branch 2 times, most recently from 35ea46c to 09fb48c Compare February 27, 2019 20:49
@grzesiek2010
Copy link
Member Author

@cooperka I improved the solution you can take a look.

Copy link
Contributor

@cooperka cooperka left a comment

Choose a reason for hiding this comment

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

👍

@cooperka
Copy link
Contributor

@opendatakit-bot label "needs testing"

@mmarciniak90
Copy link
Contributor

Tested with success

Verified on Android: 4.2, 4.4, 5.1, 6.0, 7.0, 8.1
Verified new filled submission
Verified a submission which was previously failed on apk without a fix.

@opendatakit-bot unlabel "needs testing"
@opendatakit-bot label "behavior verified"

@shobhitagarwal1612 shobhitagarwal1612 merged commit 58a3bc1 into getodk:master Mar 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The sheet name cannot be greater than 100 characters
5 participants