voyager icon indicating copy to clipboard operation
voyager copied to clipboard

Allow showing downvotes separately or hiding scores

Open rsammelson opened this issue 2 years ago • 1 comments

Fixes #170 and fixes #135. When the setting is in the default mode, it should work the same as before.

upvote
downvote
no votes
selector

rsammelson avatar Jul 02 '23 21:07 rsammelson

I accidentally ended up with this branched off of my changes from #209, so I'm going to wait until that is merged to get this one ready to merge.

rsammelson avatar Jul 08 '23 06:07 rsammelson

This is now waiting on #470 instead.

rsammelson avatar Jul 16 '23 23:07 rsammelson

@aeharding can you take a look at this?

rsammelson avatar Jul 18 '23 23:07 rsammelson

@rsammelson I made some adjustment here, if you want to cherrypick or I can PR to yours.

https://github.com/aeharding/voyager/commit/aea3ff8e17b0ab2d8ef969f4a59b0f104b4793ab

aeharding avatar Jul 20 '23 00:07 aeharding

I just saw your comment, I must have started working on it at the same time as you. I brought over some more changes from your commit in the most recent push.

rsammelson avatar Jul 20 '23 00:07 rsammelson

Oh oops!

Can we keep "cumulative"? I have that in e8861fbd41be170f8b834d0d21f6a2122f19a023 and I would add it but it looks like I don't have permission to push to your branch.

aeharding avatar Jul 20 '23 01:07 aeharding

Yeah I can change it, I called it "net score" though which seems more precise

rsammelson avatar Jul 20 '23 02:07 rsammelson

"Total" would also work. I want to leave off "Score" though because it's not consistent with the other options to add for that one only

Do you know if there's some config you can adjust so I may push to this branch?

aeharding avatar Jul 20 '23 02:07 aeharding

Yeah it's a setting on my end but it says "access to secrets":

Which sounded scary so I didn't check it.

rsammelson avatar Jul 20 '23 02:07 rsammelson

I adjusted it now

rsammelson avatar Jul 20 '23 02:07 rsammelson

Please check that option. I don't know why github words it that way.

aeharding avatar Jul 20 '23 03:07 aeharding

Yeah on reading the help page the secrets can only possibly give modify access to other branches of the same repo, so it's not actually a security issue in this case

rsammelson avatar Jul 20 '23 03:07 rsammelson

When I rebased on to main a while ago I forgot to apply the cleanup I did to the new settings.

rsammelson avatar Jul 20 '23 03:07 rsammelson

Thanks. This looks good. I wonder if the downvotes should be hidden if none in separate mode. In the comments it gets a little busy with a bunch of zeroes that are not necessary. that's something for another pr though

aeharding avatar Jul 20 '23 04:07 aeharding