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
'Report a bug' link from AMO footer leads to a 404 page #9923
Comments
Thanks for catching this, @AlexandraMoga! "Report a bug" should link to https://developer.mozilla.org/docs/Mozilla/Add-ons/Contact_us |
While this may be a good first bug, it's also something we should probably fix ASAP, so I'm thinking about just fixing it. WDYT @caitmuenster @jvillalobos? |
There are no more pushes this year, so this is going to sit here for at least a couple of weeks. I don't think there's any rush right now. |
Good point! Ok, let's label it as an actual GFB, and I'll add myself as a mentor. |
Hello! I'm new to open-source (and somewhat new to coding as well), and I'd like to start contributing. This seems like a very good starting point. Probably just changing the code that generates the href should do the trick, right? How can I do this? |
@heyset That is correct. It looks like the code for that is at https://github.com/mozilla/addons-frontend/blob/master/src/amo/components/Footer/index.js#L92. |
Hello, |
@amankr1619 Thanks for your interest, but it looks like someone else will be working on this. |
OK thanks, I will look for something else then.. |
Alright. Thanks. I'll work on this right now. |
@bobsilverberg Can you help me? I've installed WLS 2 on my PC, created the local folder inside the virtual machine and cloned the repository. I've located the file in my folder and also the relevant line. How should I proceed? How do I run tests locally in my local repo? Running Should I create a local branch? Sorry if I'm asking too many questions. This is my first contribution ever, and also the first time I've ever used a virtual machine or actually tried to work on any big project. |
This assigned person seems to be inactive for a long time. Can I make a PR to fix this? @bobsilverberg |
Hello! Actually, I'm not inactive. I've been checking everyday to see if someone has commented something that could help me with the next steps. It'd be great to get some help on how to continue from where I am so I could get started on contributing, but I understand if it's necessary to just fix the issue due to priority. |
Hi @heyset . First of all I am so sorry for assuming you were inactive. Also I thought this issue needs to be resolved ASAP as no users were being able to report a bug if they experienced one. To see how I fixed that you can click on the linked PR, which has open written beside it. As far as I can see you were at the correct path. You just had to change the URL there to the correct one and then edit the corresponding test accordingly. If you want a local copy of the website to be running on your setup using the code you have opened in your text editor you can run Once again I am so sorry for jumping the gun here. Feel free to ask any more doubts if you have any. |
@sarthakkundra I understand completely, no offense taken. I'll take this opportunity to ask questions then, if you don't mind. I'm trying to get into open source, but I'm still a bit confused by the workflow. I have run |
Sorry @heyset, vacation time interfered and then I needed to get caught up. I'm not sure exactly what the problem is with the css on your local machine. Can you check the console and see if there are any relevant error messages? Even with broken css, you could still potentially verify the fix for this by scrolling to the footer and checking that the link points to the correct place. Also, you should be able to update and run the test to verify that it's also working. I would suggest you update either the code or the test first, and then run the test to verify it fails (which it should if you've only updated one or the other), and then update the other piece and run the test again and see that it passes. If you'd like to try doing those things you can submit a patch similar to what @sarthakkundra has done already. If you'd like to wait to work on something else I will review @sarthakkundra's patch. Please let me know how you'd like to proceed. |
@bobsilverberg Hello! I imagined you were busy due to holidays + coming back from them haha Here is attached as a .txt file everything that is going on in the console after I run yarn amo:dev and after I open the page in a browser on the localhost:3000 address: And, indeed, by fixing the line 92 at /src/amo/components/Footer/index.js the link works, even with the broken css, so I think the webpack server is running fine, at least as far as outputting the basic structure is concerned. I don't really know what to do next, though. I'd be totally okay with you reviewing and merging @sarthakkundra patch, but I would absolutely love to get help on how do I proceed to
I'm very hyped to be getting on the opensource train, but I'm confused by the workflow, since the courses I have taken so far only deal with small scale projects. I want to learn, so I can maybe do some meaningful contributions to Firefox and other awesome opensource projects in the near future. |
@heyset To answer your questions
|
@sarthakkundra Thanks for your reply. About the first question: It really is more focused on getting to know how the contributing workflow works after the pull. |
@heyset You can pick an issue just like you picked this one by commenting. After that preferably you should do the following steps.
Hope this helps :) Also as far as the sources are considered you'll have to dig in them to see if there are source JS files there or not. |
@sarthakkundra It does help! It's kind of what I had in mind, but doing the first contribution gets me a little insecure haha There seems to be no .js file in the source, just .svg and .png. Any idea how can I fix this? |
@heyset No idea. Try different browser maybe that helps but I doubt. |
@bobsilverberg Can you please merge the PR as there seems to be no conflict. Thanks! |
Describe the problem and steps to reproduce it:
What happened?
The link leads to a non-existent page - https://developer.mozilla.org/Add-ons/AMO/Policy/Contact
What did you expect to happen?
The link leads to a Contact page
Mentor: @bobsilverberg
The text was updated successfully, but these errors were encountered: