Agustin Borgna
803a036a26
Implement comment folding in pure css
2015-09-23 00:44:46 -03:00
joshua stein
3ceb309577
when collapsing comment trees, collapse the comment itself
2015-07-31 12:52:52 -05:00
joshua stein
ff097813ad
autosize comment textareas
...
closes #194
2015-07-24 01:26:58 -05:00
joshua stein
6ac294470d
when replying to a comment, if text is selected, quote it
...
Because the browser unselects text when you click on something, make
the reply link "unselectable" with CSS and an HTML attribute for
various browsers.
Implements #206
2015-07-24 00:51:46 -05:00
joshua stein
92c2e85b0a
move folding to left side of username, move text to css
2015-07-24 00:51:11 -05:00
BennyHallett
4ddfaa8964
Fixes #181 . Add comment folding as decribed in: https://lobste.rs/s/m5dlun/comment_folding
2015-07-24 00:51:10 -05:00
joshua stein
6695480fdb
when auto-detecting story titles, try to find a canonical url and use it
...
should remedy duplicate stories being submitted under all of their
stupid blogspot.* domains instead of the canonical url represented
in the <link> tag
2015-03-10 17:41:40 -05:00
Serge Paquet
a1f5052f99
fix cancel button in comment forms
2014-12-14 01:24:18 -05:00
joshua stein
4b0caa2752
fix display of comment box after editing and posting
...
should close #178
2014-11-14 14:02:16 -06:00
joshua stein
d6447ac249
comment view: ignore multiple clicks on "reply" link
2014-11-14 13:49:00 -06:00
joshua stein
64bdb6f446
Merge pull request #167 from walle/issue_140
...
fix some after-comment issues
2014-08-17 19:07:46 -05:00
Fredrik Wallgren
ee8b50f9c0
Add cancel button to comment editing.
...
This should fix issue #128 .
2014-08-16 18:37:36 +02:00
Fredrik Wallgren
9a774d082d
Let the comment form remain when posting a top-level comment.
2014-08-16 16:47:24 +02:00
joshua stein
452c75908d
change story downvoting to be called "flag", but still count as a downvote
...
been in production for a while
2014-07-02 10:04:48 -05:00
joshua stein
7f9c227ed0
bring back story downvoting, remove low quality option
...
story hiding is still here, so hopefully this will result in less
bogus story downvotes
2014-03-24 10:26:06 -05:00
joshua stein
ed71fd8d61
auto-apply slides tag to speakerdeck.com
2014-03-12 18:32:03 -05:00
joshua stein
9535b05490
remove story downvoting, add story hiding
...
stories should either be reported for spam (coming later), upvoted,
or left alone rather than being downvoted for being uninteresting.
since users don't like leaving uninteresting things alone, they can
now hide stories from their view without affecting the story's
score.
hiding is implemented as a Vote with its vote set to 0 and the
reason set to "H"
add a /hidden url which shows all of a user's hidden stories
while i'm here, simplify Vote guts and add some tests to make sure
all the flip-flopping stuff works right
2014-03-03 17:20:21 -06:00
joshua stein
479c02415e
auto assign ask/show tags when story title has "(show|ask) lobsters"
...
and strip out that segment from the title since it is redundant
2014-01-30 09:42:58 -06:00
Serge Paquet
79b64c3883
use standard create/update comment routes
2014-01-20 16:52:19 -05:00
Serge Paquet
42ce1e3b4c
rebuilt comment tree DOM structure as valid HTML
2014-01-20 16:52:19 -05:00
Serge Paquet
41c9dfad5d
fix DOM structure when replying to or updating comments
2014-01-20 16:52:19 -05:00
Serge Paquet
3c63f930cd
more jQuery.fn.live fixes for the "submit story" page
2013-12-28 22:17:08 -05:00
Serge Paquet
ae2ff1f1ef
fix javascript errors caused by using deprecated/removed jQuery.fn.live function
2013-12-25 16:32:40 -05:00
joshua stein
66548e21cf
story tag selector: only match at the beginning of the tag name
...
makes much more sense when quickly typing in tag names to match the
tag name you're typing, not a tag that has a description that
contains a word with what you're typing
2013-03-15 19:13:58 -05:00
joshua stein
d0459974cd
so long whitespace
2013-02-13 18:50:51 -06:00
joshua stein
56261c999a
tabs to spaces
2013-01-07 17:23:09 -06:00
joshua stein
f130dd7ab0
add some js to allow moderators to enter reason when deleting stories
2013-01-07 17:20:41 -06:00
Jordan Scales
d410f4f424
cancel link is now a button, js formatting consistency, removed extra styling
2012-09-02 12:51:32 -04:00
Jordan Scales
14fe4e6623
comment reply form now has a cancel button
2012-08-30 16:49:49 -04:00
joshua stein
3640e1e7a3
comment deleting and undeleting
2012-08-24 11:41:37 -05:00
joshua stein
fd8ec36608
story previews
2012-08-24 11:41:37 -05:00
joshua stein
a51147b5d0
fix bug; don't show downvote reason for stories
2012-08-24 11:41:36 -05:00
joshua stein
2ba78cc10e
downcase vote reasons
2012-08-24 11:41:36 -05:00
joshua stein
f8dd75fde4
comment editing, looks weird for now but it works
2012-08-24 11:41:35 -05:00
joshua stein
578c96d653
more work
2012-06-30 14:14:35 -05:00
joshua stein
95b4906e6e
working voting/scoring, threaded comments
2012-06-30 11:18:36 -05:00