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

Guitar Controller Welcome and About Us Pages & Dynamic Content Presentation #30

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

LiorKGOW
Copy link
Owner

@LiorKGOW LiorKGOW commented Dec 20, 2022

Guitar controller welcome and about pages with links between them,
Including some Dynamic Content presentation using an instance variable

  • This PR is a possible solution to the Challenge in Rails Essential Training / Section 3 - Link to Challenge

Screenshot of the Contact Us Page (after first render, using the welcome page link):
Screenshot from 2022-12-21 17-45-32

Screenshot of the Contact Us Page, using a query parameter country = us (First Render => React adds it's content to the page):
Screenshot from 2022-12-21 17-46-03

Screenshot of the Contact Us Page, using a query parameter country = uk (First Render => React adds it's content to the page):
Screenshot from 2022-12-21 17-46-24

Screenshot of the Welcome Page (after first render, using the contact us page link):
Screenshot from 2022-12-21 17-39-42

Screenshot of the Welcome Page (First render => React adds it's content to the page):
Screenshot from 2022-12-21 17-45-12

Replacing the existing controller created with the mock data
@LiorKGOW LiorKGOW added the Bug 🐛 Something isn't working label Dec 20, 2022
@LiorKGOW LiorKGOW self-assigned this Dec 20, 2022
@LiorKGOW LiorKGOW changed the title Guitar controller welcome and about pages with links between them, Including some Dynamic Content presentation using an instance variable Guitar Controller Welcome and About Us Pages & Dynamic Content Presentation Dec 20, 2022
@LiorKGOW
Copy link
Owner Author

LiorKGOW commented Dec 20, 2022

This PR has a bug, The content of the instance variable is not presented in the template, though at the end of the controller it contains the correct value

Maybe I am not passing the query parameter when rendering the template

@LiorKGOW LiorKGOW added the Blocked By Another PR Another PR should be merged before this PR. The Blocking PR should be mentioned at the top comment label Dec 20, 2022
@LiorKGOW LiorKGOW force-pushed the guitar-controller-welcome-and-about-pages branch 5 times, most recently from fff3567 to 10e487b Compare December 21, 2022 07:54
@LiorKGOW LiorKGOW added Ready for Review This PR is ready for reviews and removed Bug 🐛 Something isn't working labels Dec 21, 2022
@LiorKGOW
Copy link
Owner Author

This PR has a bug, The content of the instance variable is not presented in the template, though at the end of the controller it contains the correct value

Maybe I am not passing the query parameter when rendering the template

Bug fixed 👍🏼

@LiorKGOW LiorKGOW added the Do not Merge ❌ This PR is for a challenge but not for the final product label Dec 21, 2022
@LiorKGOW LiorKGOW force-pushed the guitar-controller-welcome-and-about-pages branch 4 times, most recently from 007f6d8 to 1a7a9ba Compare December 21, 2022 15:36
@LiorKGOW LiorKGOW force-pushed the guitar-controller-welcome-and-about-pages branch from 1a7a9ba to 64841f9 Compare December 21, 2022 15:36
@LiorKGOW LiorKGOW marked this pull request as draft December 28, 2022 08:11
@LiorKGOW LiorKGOW removed Blocked By Another PR Another PR should be merged before this PR. The Blocking PR should be mentioned at the top comment Ready for Review This PR is ready for reviews labels Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Do not Merge ❌ This PR is for a challenge but not for the final product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant