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

ER from TLDL: Feasibility of validating fields on Wins Form #4185

Closed
5 tasks done
JessicaLucindaCheng opened this issue Mar 14, 2023 · 10 comments
Closed
5 tasks done
Assignees
Labels
Complexity: Large ER Emergent Request feature: Survey ready for dev lead Issues that tech leads or merge team members need to follow up on role: back end/devOps Tasks for back-end developers size: 1pt Can be done in 4-6 hours

Comments

@JessicaLucindaCheng
Copy link
Member

JessicaLucindaCheng commented Mar 14, 2023

TLDL stands for Task List Dev Leads.

Emergent Requirement - Problem

Issue Description
(Write a large issue to explore the feasibility) In the wins form, should we add validation to some fields, especially optional fields, for links such as for the Linkedin field?

  • Use built in validation vs adding special scripts by developers to validate?
  • Syntactic validation

This came up because this was submitted https://linkedin/in/BonnieAWolfe and the form allowed it. I know our Wins Google Forms has validating URL turned on for URLs but it allowed that and we were trying to see if there was a way to add more validation.

Who was involved

GitHub Handle(s): JessicaLucindaCheng, SAUMILDHANKAR

What happens if this is not addressed

The form stays the same and validation doesn't happen for optional fields.

Resources

Action Items

  • Discuss with PMs/Bonnie and the team on how big a problem this is and if it is worth finding a fix
  • Search and check
    • If an open issue exists that addresses this ER
    • If a closed issue exists that has already addressed this ER
  • If an open issue doesn't exist and this ER wasn't already fixed by a closed issue, make a new issue

Potential solutions [draft]

@JessicaLucindaCheng JessicaLucindaCheng added the size: 0.25pt Can be done in 0.5 to 1.5 hours label Mar 14, 2023
@github-actions github-actions bot added Feature Missing This label means that the issue needs to be linked to a precise feature label. role missing labels Mar 14, 2023
@github-actions

This comment was marked as resolved.

@JessicaLucindaCheng JessicaLucindaCheng added role: dev leads Tasks for technical leads Complexity: Small Take this type of issues after the successful merge of your second good first issue ready for dev lead Issues that tech leads or merge team members need to follow up on feature: Survey and removed role missing Feature Missing This label means that the issue needs to be linked to a precise feature label. labels Mar 14, 2023
@jdingeman
Copy link
Member

@JessicaLucindaCheng - basic validation on the form already exists for optional fields that require a URL to be entered. Are you wanting to make it so that the actual URL is validated for what it should be?

For example, someone submits a win and puts "https://www.facebook.com/blahblah" into the LinkedIn section. That's technically a valid URL in the eyes of the form, but of course it is not a LinkedIn URL.

@JessicaLucindaCheng
Copy link
Member Author

@jdingeman
This came up because this was submitted https://linkedin/in/BonnieAWolfe and the form allowed it. I know our Wins Google Forms has validating URL turned on for URLs but it allowed that and we were trying to see if there was a way to add more validation.

I just submitted a submission on the Wins form to test its URL validation (which I checked is on) and this is what was submitted for the LinkedIn and GitHub urls:

LinkedIn : https://linkedin/in/test 
GitHub : https://github.com/hackforla  

You can see the LinkedIn and GitHub aren't actually URLs.

Also, I don't know how big of a problem this is and whether a fix is worth it. So, I think it would be a good idea to discuss it with Bonnie.

@jdingeman
Copy link
Member

jdingeman commented Mar 23, 2023

@JessicaLucindaCheng I see now. That's really weird that the form validates that with just the https. We'll make a new issue for it. Thanks!

@JessicaLucindaCheng JessicaLucindaCheng added Complexity: Large role: back end/devOps Tasks for back-end developers size: 1pt Can be done in 4-6 hours size: 2pt Can be done in 7-12 hours and removed Complexity: Small Take this type of issues after the successful merge of your second good first issue role: dev leads Tasks for technical leads size: 0.25pt Can be done in 0.5 to 1.5 hours size: 2pt Can be done in 7-12 hours labels Mar 23, 2023
@roslynwythe roslynwythe self-assigned this Apr 1, 2023
@github-actions

This comment was marked as outdated.

@roslynwythe
Copy link
Member

roslynwythe commented Apr 2, 2023

  • @JessicaLucindaCheng @jdingeman I noticed that there was an effort to develop a new, internal wins form. The new form was created in PR Wins works #1132, but apparently it needs some work described in issue Adjust and standardize "Share Your Wins" form page #2021. If we are still planning to move to a different form, that changes our options regarding URL input validation. For the purposes of this ER, would you prefer that we just consider solutions to the validation problem in the context of current setup, or that we also consider using an internal form?

@JessicaLucindaCheng
Copy link
Member Author

JessicaLucindaCheng commented Apr 3, 2023

@roslynwythe

@roslynwythe
Copy link
Member

@roslynwythe

This comment was marked as duplicate.

@roslynwythe
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Large ER Emergent Request feature: Survey ready for dev lead Issues that tech leads or merge team members need to follow up on role: back end/devOps Tasks for back-end developers size: 1pt Can be done in 4-6 hours
Projects
Development

No branches or pull requests

4 participants