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

Fyyur Project: Add missing fields, fix broken pages, fix method that throws error, add edit buttons #117

Merged
merged 9 commits into from
Mar 16, 2021

Conversation

robinlamb
Copy link
Contributor

This is a pretty frustrating first project for the program, because there is so much that is missing or not working in the completed parts of the project. Two of the fields in the pages for creating/editing artists and venues contain an incorrect id that causes these pages to display incorrectly.

These pages are also missing four fields for the following data: image link, website link, seeking talent/venue, and seeking description. It looks in the mentor help sections that some students are fixing this problems by sending in dummy values for this data when the rest of the data is taken from the form, but all of the data should be able to be submitted on the forms. A mentor helped me to add the new fields to the forms when I asked how to do this for my project, and I thought that I would share this fix that I made for my project.

Also, while there are "TODO" instructions in the project for completing the edit endpoints and there are edit pages included in the project, they are never accessed or used anywhere, which is also very confusing. One mentor said in the Mentor Help section that students were not required to do the edit endpoints, but it is still confusing because they are in the TODO section. They should either be removed from the project, or there should be a way to complete them. I added an "Edit" button on the show_artist and show_venue pages to access the endpoints in my project so they can be completed.

I also fixed the missing "locale='en" in the included format_datetime method in app.py that causes an error. I decided to open a pull request with my fixes to these issues in the already completed sections to hopefully make this project less frustrating for others.

Fix broken form.  Change text on button to Artist, not venue. Correct facebook_link label.
Add missing fields and fix the broken ones.
Add missing fields and fix the broken ones.
Add missing button connected to the artist/<artist.id>/edit endpoint.  "Todo" instructions say to complete this endpoint, although the front end parts that are supposed to be complete do not use it.
Added missing edit button to connect to the /venues/<venue.id>/edit endpoint.  The instructions say to complete this, but it is not used by the completed front end.  This will make it much easier for users to test the endpoint when they complete it.
Added missing "locale='en'" that causes a crash.
@SudKul
Copy link
Contributor

SudKul commented Mar 16, 2021

Hi @robinlamb
Thanks, for suggesting a fix in the starter code. It looks great.
We appreciate your contribution.

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.

2 participants