Using a SSR link too so that it can't be overridden by any custom browser plugin. Not the best way of doing things but works.
+4
-1
Diff
round #0
+1
appview/pages/templates/repo/pulls/pull.html
+1
appview/pages/templates/repo/pulls/pull.html
History
1 round
5 comments
oyster.cafe
submitted
#0
1 commit
expand
collapse
appview/pages: link quote button specify round
Signed-off-by: Lewis <lewis@tangled.org>
3/3 success
expand
collapse
expand 5 comments
I think both achieve exactly the same thing, I just thought this way would look a little more explicit
using current URL approach would avoid the need for the hidden input with the active round number (the active round will be encoded in the URL always).
if I did that then there'd be no point to the PR I think, the point for me is to render the round server side so that there's no chance of getting to some magic PR state client side where my window.location doesn't have the round path, like my comments in https://tangled.org/tangled.org/core/pulls/1182/round/2
okay! lgtm!
pull request successfully merged
appview/pages/templates/fragments/line-quote-button.html:231why don't we docurrent URL - existing fragment + new fragment?would that result in malformed links in some cases perhaps (multiline etc.)?