-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
modals should be accessible via URL #307
Comments
sooo is this a request to add React Router? I am not sure how to prioritize. |
the History API, although confusing, can be used for this (example). React Router, under the hood, is using the History API. what I was going to suggest is having the server return the same here's example of using that technique. and scripts for generating the static files:
I'd be happy to help with this. |
yep, understood -- just wondering if adding react router is the desired action item for this (and adding routes for the above dialogs) I think it makes sense but adding proper routing in general may have some incidental complexity unrelated to the case above. I think for the index page it should be fine though. |
This still seems desirable. Perhaps we do need to add react router to display these modals. |
Hi, Can I please work on this bug ? I am new to this project. |
Hi @suhailsinghbains. Yes, thanks, I think we do still want URLs for the dialogs listed above, unless @netpro2k or @gfodor disagree. |
I was looking through the code where, I could write the Router Code, I found a file state-route.js I wasn't able to add another Route, so, I omitted the line L23, the project works just fine. Hence, I wasn't able to debug it, please help me :) |
hey @suhailsinghbains thank you for offering to help with this issue! the |
https://hubs.mozilla.com/#
(froma[href="#"]
)ideally, at these URLs, the respective modals could be opened (or links be opened):
/contact
- Join the Conversation/subscribe
- Get Updates/report
- Report Issues/terms
- Terms of Use/privacy
- Privacy Noticehashes (e.g.,
#contact
) are possible but would not be preferable, as hashes don't appear in server logs/analytics (unless manually handling them in client-side JS).The text was updated successfully, but these errors were encountered: