-
Notifications
You must be signed in to change notification settings - Fork 203
Issue title page has no information #1412
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
Comments
@karlcow What do you mean about pre-fetching the JSON and prepopulating the page? I have a PR coming that I think just does the first suggestion, but if you can tell me a bit more about your preferred suggestion I can definitely do that! I also added page titles to the majority of other pages while I was at it. LMK if you'd rather not include those. |
@heatherbooker Ah excellent . Indeed your commit fixes the issue number. This is the low hanging fruit. Excellent. This is my first bullet point. The second bullet point is to have the title with the domain name. <title>Issue #4999 - www.skylinewebcams.com - video doesn't play -webcompat.com</title> To choose on how to do that. There is probably a need of evaluating the performance impact of prefetching the JSON on the server side before generating the HTML. But that's a bigger project. Maybe. |
It would be good to add a couple of unit tests for testing we received the right title. |
@karlcow Great point about testing it! I added a test. Ok I see what you're saying about also having the issue title in the page title. Yeah, that does seem like a larger concern - I've never used flask, jinja, or backbone before but I've been sifting through their docs and webcompat code to try and figure out how one would go about getting that data pre-page load. If you want to leave that as a bigger project (esp. if concerned about performance impact), I consider this PR ready for review; if you'd like me to continue looking into it, LMK! :) |
OK let's make this a first step. Thanks a lot. I added myself as a reviewer. I'm boarding a plane soon. I will review it when I reach the other side. |
Currently, our issues individual pages have no information about the issue.
This is due to the way we are handling the site. With empty templates fetching the information through JavaScript. It creates a couple of issues
Suggestions
Or we could modify the title through JS (but meh…) aka something along…
The text was updated successfully, but these errors were encountered: