-
Notifications
You must be signed in to change notification settings - Fork 203
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
Fixes #399 and #516 - Keep issues model and URL params in sync #542
Conversation
This might fix #535 as well. |
2a8d48d
to
ae22e34
Compare
r? @magsout Admittedly hard to review, it's a lot of changes. I deployed to staging if you want to test changing some of the dropdowns and loading those URLs in new tabs or something. ☕ |
Redirection to GithubWhen on type URL SchemeIn the URL scheme, any reasons why you chose HTTP Caching.Maybe this is due to our staging configuration, ignore if it's the case. First, Go to
Second, Reload button.
Here we could imagine the first one is Third, Reload button. Same results than the previous reload. Both are again It's surprising and I wonder if it's a bug from Firefox. |
Navigation with next/prevLook at this sequence:
The URLbar scheme is correct. No issue with that, but we do funky requests which are not consistent. Maybe because of using the Link headers. We might need to fix that too. So we get the proper link and be consistent so a JS UA can navigate without requesting changing routes. Link: </api/issues/search?q=label%3Acontactready+repo%3Amiketaylr%2Fnobody-look-at-this+state%3Aopen&per_page=25&page=2&contactready=1>; rel="next", </api/issues/search?q=label%3Acontactready+repo%3Amiketaylr%2Fnobody-look-at-this+state%3Aopen&per_page=25&page=3&contactready=1>; rel="last" |
Good catch. Let's fix this in a separate issue after we land this feature. We'll have to do a bit of "translating" on the client side to get it right.
No particular reason. I sort of like stage though. If we're going to change it, I guess we potentially break bookmarks (i.e., the
This seems like a good optimization for the future. Let's file a bug when this lands.
Yes, exactly. GitHub is sending us URIs with params that it understands and we just transparently proxy those back. Again, this seems like a good "fix me later" issue--as it doesn't affect the user functionality. The double
I think what you mean is 1 and 2 use the |
952f4d0
to
cdeda2c
Compare
OK, changed the filters to be a |
🍰 |
For the legacy URI stuff.
I put a question on stackoverflow which is slightly generic to see if I'm not missing anything about redirect in flask. |
Sweet, I'll keep my eye on that stackoverflow post. If anyone else wants a chance to test or review, now is the time. ^_^ |
Congratulations MIke. I will do a series of tests either today or probably next week. |
@miketaylr Sorry for not review this PR |
No worries @magsout. Just be sure to find the (hidden) bugs as you find them. 😄 |
This allows you to bookmark whatever you're looking at on the issues page, and get back to that from the bookmark (or hyperlink or whatever).
Not ready for review yet, still working on tests.