Commit Graph

81 Commits

Author SHA1 Message Date
Butter Cat
fe4fed0504
Make jump to comment work from user's page and make last <p> in the post and comment bodies get the margin above it like the others (#219)
* Make last <p> in post body get padding above it

* When going to a comment from a user's page jump to it on page load
2024-09-27 00:44:32 -04:00
Matthew Esposito
374238abc3
Add RSS feeds (fix #57) (#90)
* Add RSS feeds

* feat(rss): feature-ify rss

* feat(rss): config-ify rss

* fix(rss): update info page

* feat(rss): conditionally add RSS feeds to user and sub pages

* feat(rss): implement URLs for RSS
2024-07-21 14:09:34 -04:00
syeopite
c890e809b7
Improve post information widget of user comments for devices under 480px width (#183)
* Fix user comment post link disappearing when < 480px

* Improve user comment metadata design for mobile

* Remove formerly unused CSS class style

The prior commit introduced the usage of the `comment_subreddit` class
to identify the subreddit that the reddit user posted the comment on.

However, this class came with a legacy style within the CSS file that was
previously not used anywhere within the current day Redlib

As such this style has been removed.
2024-07-17 21:27:13 -04:00
Pim
366bc17f97
feat: show post link title for comments on user page (#169) 2024-07-01 17:15:50 -04:00
Matthew Esposito
b0f985c687
Libreddit -> Redlib 2023-12-26 18:25:52 -05:00
Matthew Esposito
d9f7ebcb79
Update util calls 2023-12-26 16:12:00 -05:00
Matthew Esposito
1c36467c9c
Merge remote-tracking branch 'origin/pull/867' 2023-12-26 15:52:53 -05:00
ccuser44
2b06d22687
Made userpage posts show subreddit name
Made userpage posts show subreddit name instead of ambigious `COMMENT`
2023-11-08 13:13:46 +02:00
gmnsii
e3b1c5b587 Use a bullet instead of empty margin when score is hidden
This is prettier and keeps consistency across the app.
2023-03-23 11:29:28 -07:00
gmnsii
f8ba3cf815 Fix formatting in some places 2023-03-22 20:29:48 -07:00
gmnsii
df3d894947 Add option to hide score
Add the option to hide score for posts and comments in preferences.
There is still however a blank margin where the score is supposed to be.
2023-03-22 20:08:20 -07:00
gmnsii
ab30b8bbec
Bugfix: 'all posts are hidden because NSFW' when no posts where found (#666)
* Fix 'all_posts_hidden_nsfw' when there are no posts.

If a search query yielded no results and the user set nsfw posts to be
hidden, libreddit would show 'All posts are hidden because they are NSFW.
Enable "Show NSFW posts" in settings to view'. This is fixed by
verifying tnat posts.len > 0 before setting 'all_posts_hidden_nsfw' to
true.

* Add a message when no posts were found.

* Delete 2
2022-12-31 19:11:59 -07:00
Daniel Valentine
465d9b7ba7
Implement 'posts hidden because of NSFW'. (Resolves #159) (#619) 2022-11-07 20:54:49 -07:00
spikecodes
50665bbeb3
Switch titles to <h1>s (Fixes #444) 2022-05-21 15:47:58 -07:00
spikecodes
d558127306
Add keyboard shortcuts to nav buttons (closes #466) 2022-05-20 23:10:11 -07:00
Nick Lowery
322aa97a18
Fix HTML encoding in templating (#404) 2022-05-21 05:28:31 +00:00
Nick Lowery
70ff150ab4
Add user listing buttons (#400)
* Add user listing buttons

* Update to v0.22

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2022-03-13 19:06:27 +00:00
Nick Lowery
888e7b302d
Filter subreddits and users (#317)
* Initial work on filtering subreddits and users

* Fix doubly-prefixed subreddit name in search alt text (e.g. r/r/pics)

* Don't set post title to "Comment" if empty - this could throw off actual posts with the title "Comment"

* Filter search results

* Fix filtering to differentiate between "this subject itself is filtered" vs "all posts on this current page have been filtered"

* Remove unnecessary check

* Clean up

* Cargo format

* Collapse comments from filtered users

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-11-26 04:02:04 +00:00
spikecodes
52a1b45014
Lazy load images 2021-09-06 12:02:52 -07:00
spikecodes
85deb4947d
Support HLS playback in search and user feeds 2021-06-11 17:38:43 -07:00
spikecodes
b3e4b7bfae
Add user following functionality 2021-04-06 10:23:05 -07:00
spikecodes
966e0ce921
Expand truncated numbers on mouseover. Close #156 2021-03-20 15:42:47 -07:00
spikecodes
f0e8deb000
Add alt attribute to user icon 2021-03-10 11:29:36 -08:00
robin
653b0e7024 Don't use display contents and remove duplication 2021-02-03 20:11:04 +01:00
robrobinbin
1bcb070fbb
Update user.html 2021-02-02 21:21:29 +01:00
robrobinbin
dd908c9f68
Update user.html 2021-02-01 21:00:03 +01:00
robrobinbin
58f4fc4e77
Update user.html 2021-02-01 20:27:08 +01:00
spikecodes
1653d4fb4c
Hide NSFW content by default 2021-01-30 21:43:46 -08:00
Matthew Crossman
8cc01c58f3
Move the subs list into the navbar. 2021-01-31 09:52:18 +11:00
Matthew Crossman
dc2030e6f3
Vertical list subscriptions. 2021-01-30 21:21:54 +11:00
Matthew Crossman
ef5a1cd66e
Rename block sub_list > subscriptions 2021-01-30 19:47:30 +11:00
Matthew Crossman
75bbcefbec
Display sub list from list in cookie.
Very basic sub list setup. Cookie must be manually added in devtools.
2021-01-30 16:00:55 +11:00
robin
baf7272cfd Absolutly no jumping when images (fail to) load 2021-01-21 22:04:06 +01:00
spikecodes
7360503234 Make posts single-color 2021-01-18 21:32:25 -08:00
spikecodes
dd60cb5b2b SVG arrow 2021-01-17 15:51:03 -08:00
Robin
d45ee03122 Resolve merge conflicts 2021-01-17 23:54:48 +01:00
Robin
162e00b243 Improve accessibility rating 2021-01-17 23:49:36 +01:00
spikecodes
138f8320e9 Create media struct 2021-01-17 12:58:12 -08:00
Robin
090ca1a140 Add comment counter and other post improvements 2021-01-17 20:39:57 +01:00
spikecodes
ef9bc791e1 Fix inline style tags 2021-01-16 19:21:47 -08:00
spikecodes
a0bc1732cf Moderator and admin distinguishers 2021-01-16 15:02:24 -08:00
spikecodes
fdf60e7255 Separate datetime into relative and absolute 2021-01-16 11:40:32 -08:00
spikecodes
21ff8d7b6f Fix #56 2021-01-15 11:21:59 -08:00
robrobinbin
d19e73f059 Add placeholder for posts without thumbnail 2021-01-14 21:45:43 +01:00
robrobinbin
a4d77926b6 Rich flairs 2021-01-12 23:34:16 +01:00
robrobinbin
bbe7024323 Start richtext flairs 2021-01-12 22:43:03 +01:00
spikecodes
7a33ed3434 Card thumbnails for users 2021-01-11 17:38:35 -08:00
spikecodes
08683fa5a6 Light theme 2021-01-10 18:15:34 -08:00
spikecodes
f445c42f55 Wide UI Mode 2021-01-10 13:08:36 -08:00
spikecodes
b13874d0db Add "hide nsfw" option 2021-01-08 17:35:04 -08:00