codewithher / Web-C4C

https://replit.com/@HigginsCodes/Web-C4C
0 stars 1 forks source link

[Replit] Web buttons don't work #21

Closed totally-not-frito-lays closed 1 year ago

totally-not-frito-lays commented 1 year ago

Describe the bug On deployed replit webapp, the buttons don't work. Instead of redirecting to the appropriate HTML file, the replit website breaks.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://web-c4c.mailelucks.repl.co or other web IDE published
  2. Click "View Cookie Catalog" or "Learn About My Goals"

Expected behavior Should redirect to the appropriate cookie or goals html pages.

Screenshots image

Desktop (please complete the following information): Fails

Additional context Add any other context about the problem here.

totally-not-frito-lays commented 1 year ago

Not sure if the plan is to still move to glitch or not. Looks like we can import to glitch using this glitch importer.

The bug persists there too. Not sure if we have to set up routes to enable these projects to build in replit/glitch environments.

Seems to work on local builds though.

totally-not-frito-lays commented 1 year ago

Looks like it does work on Glitch once you update the file names. However on Replit, this is still an issue.

For developers it might be better to use github codespaces / local environment to contribute code.

mailelucks commented 1 year ago

Thank you for the deep dive debugging here!

I heard back from the Replit community about the bug right before our meeting last night and did not get the opportunity to address it yet.

I talked about it during the meeting, however, I appreciate I talk fast about two things at once. I will take care to go a little slower next time so you are not spending time debugging known issues :)

I will try the suggested fixes from the forum in Replit and let you know!

Forum convo link for context: https://ask.replit.com/t/renaming-files-breaking-website/77355/2

On Thu, Oct 26, 2023 at 08:16 Ryan Lay @.***> wrote:

Looks like it does work on Glitch once you update the file names. However on Replit, this is still an issue.

For developers it might be better to use github codespaces / local environment to contribute code.

— Reply to this email directly, view it on GitHub https://github.com/codewithher/Web-C4C/issues/21#issuecomment-1780478500, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5BDBGL7Y2JG6MUK74Z4CDYBH54VAVCNFSM6AAAAAA6QOLGL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBQGQ3TQNJQGA . You are receiving this because you were assigned.Message ID: @.***>

totally-not-frito-lays commented 1 year ago

Oh awesome, I should've taken a peek at some forum discussions. Wasn't sure what the problem was since I haven't built web projects from replit before.

Best of luck on the fix! Hopefully it's a simple one that will make it nice and easy for contributors.

mailelucks commented 1 year ago

This has been fixed.