We've had a pretty successful experience (so far) with submitting our fix for the name spacing issue. After class on Thursday, Megan managed to get the code to work successfully. Our code does the following two things:
1. When the user initially creates an account, the changes we've made trim any white space to the left and right of the user's name. Before our changes, the white space would have remained on the left and right side of the user's entry when creating the name.
2. When the user edits their name, the changes we've made will trim any white space to the left and right of the user's name, only if the user doesn't have any newline characters in the name. Before our changes, the white space would have remained on the left and right side of the user's entry when editing the name.
The comments made about our initial talk with the developers led us to include change #2. The developers noted that some users like to have multi-line names (that usually make some sort of picture). Trimming the space off the left and right sides would've made the names not display how those users would prefer them to. Since we check for the newline character, this is still an option for those users.
Today I submitted our fix to the development team, and telling them the solution we came up with in an email. I described the approach we took, and Walter replied saying that this was a reasonable approach to take.
For the future:
We've talked a little bit about what our plan is for the remainder of the semester. Megan mentioned the idea of creating our own simple activity. I think this would be a great idea, as long as it's a reasonable task. Creating an entire activity from scratch sounds hard at first, but there are plenty of guides and tutorials available for us to get started.
No comments:
Post a Comment