Commit graph

1575 commits

Author SHA1 Message Date
Pascal de Vink 1dd83dafdc Fix feedback on banning an unbanning
When banning or unbanning, the API call was done, but updating the
frontend failed. This caused a confusing experience for an admin, until
the page was reloaded.
2023-06-26 20:13:30 -04:00
Alec Armbruster 936eb115bc fix vote button alignment 2023-06-26 20:13:30 -04:00
Alec Armbruster 0956863b28 remove icon (#1618)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 20:13:28 -04:00
dullbananas 7efc136ff5 Indicate valid and invalid fields in signup form (#1450)
* Use was-validated class in signup form

* Update signup.tsx

* Update signup.tsx

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-26 20:12:41 -04:00
Alec Armbruster 7d63117c28 capitalize button (#1616)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 20:12:41 -04:00
Alec Armbruster 921cd976a4 Move password reset form to separate route, view (#1390)
* rework password reset form

* make self-suggested changes

* cleaning

* validate in handlePasswordReset as well

* update submodule

* partially make suggested changes

* make suggested changes

* resolve merge conflicts

* resolve merge conflicts

* resolve merge conflicts

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 20:12:41 -04:00
Jay Sitter 6edbb027f1 feat(UI): Reduce base font size (#1591)
* feat: Reduce base font size

* chore: Build themes

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 20:12:41 -04:00
Anansi b2bd193160 Fix: missing semantic css classes and html elements (#1583)
* Fix: missing semantic css classes and html elements.

Now all pages have a main and aside element when a sidebar is present to facilitate custom theming. This does not impact the default behavior of the front.

* Fix: re-added communityref on main element

---------

Co-authored-by: 0xAnansi <0xAnansi@omageni.com>
Co-authored-by: Jay Sitter <jsit@users.noreply.github.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 20:12:41 -04:00
Alec Armbruster 87a5231745 partially revert change 2023-06-26 20:12:41 -04:00
Jay Sitter dce70e37d6 chore(DX): Add prettier to eslint config for use with editors 2023-06-26 20:12:41 -04:00
Jay Sitter a320f1edb1 fix: Remove unnecessary class 2023-06-26 20:12:41 -04:00
Jay Sitter e84e2bfd1d fix: Remove unnecessary classes 2023-06-26 20:12:41 -04:00
Jay Sitter 6e6bbb06c0 fix: Restore removed classes 2023-06-26 20:12:40 -04:00
Jay Sitter ffb0ffb255 fix: Remove wrapping li's 2023-06-26 20:12:40 -04:00
Jay Sitter 2547f68a6b fix: Remove extraneous classes 2023-06-26 20:12:40 -04:00
Jay Sitter a4c819cdeb fix: Move things back to where they were 2023-06-26 20:12:40 -04:00
Jay Sitter 7e7bbde721 chore: Separate post mod buttons into functions 2023-06-26 20:12:40 -04:00
Alec Armbruster a29cb0e83b remove hook entirely 2023-06-26 20:12:40 -04:00
Alec Armbruster a6b59b78d2 fix bug collapsing previews when voting 2023-06-26 20:12:40 -04:00
Jay Sitter 4b5fe717ad fix: Remove unnecessary string interpolations 2023-06-26 20:12:40 -04:00
Jay Sitter c16ff6c187
Merge branch 'main' into feat/toggle-body-1595 2023-06-26 08:50:34 -04:00
SleeplessOne1917 46ab522143
Merge pull request #1594 from LemmyNet/comment-border
Only give child comments colored borders
2023-06-26 10:35:09 +00:00
SleeplessOne1917 08ad1fb183
Merge branch 'main' into comment-border 2023-06-26 10:15:27 +00:00
Jay Sitter dbbec5d950
Merge pull request #1605 from minorninth/fix_nsfw_checkbox_label
Associate NSFW label with its checkbox
2023-06-26 01:41:37 -04:00
Dominic Mazzoni af2013059b Associate NSFW label with its checkbox 2023-06-25 21:11:23 -07:00
Jay Sitter 4f398d842e fix: Remove unused comment 2023-06-25 22:01:24 -04:00
Jay Sitter 077603b43e feat: Use plus/minus expand button in title for showing body/preview 2023-06-25 19:10:10 -04:00
Jay Sitter 6773fe83d8
Merge branch 'main' into feat/toggle-body-1595 2023-06-25 17:50:02 -04:00
SleeplessOne1917 883afea0c5
Merge pull request #1598 from jsit/feat/fix-link-hover-colors 2023-06-25 21:42:08 +00:00
Jay Sitter 937dd5f86a feat(UI): Fix some link hover colors 2023-06-25 17:18:25 -04:00
Jay Sitter a92dd541a7 feat(UI): Always put post body behind togggle on post listings (home/community) #1595 2023-06-25 16:21:58 -04:00
SleeplessOne1917 973bab1313
Merge pull request #1592 from minorninth/csp_media_src_data_urls
CSP should allow data urls for media-src or the audio captcha won't work
2023-06-25 19:21:05 +00:00
SleeplessOne1917 c2b44db2ac Only give child comments colored borders 2023-06-25 15:20:06 -04:00
SleeplessOne1917 1ce6eb3284
Merge branch 'main' into csp_media_src_data_urls 2023-06-25 19:16:46 +00:00
SleeplessOne1917 e94b8b4e1f
Merge pull request #1588 from LemmyNet/new-comment-space
Add margin to new comment text
2023-06-25 19:15:40 +00:00
SleeplessOne1917 353d4c7e39
Update post-listing.tsx
Removed unnecessary bootstrap class
2023-06-25 15:13:27 -04:00
Dominic Mazzoni 434502c678 CSP should allow data urls for media-src or the audio captcha won't work 2023-06-25 12:12:32 -07:00
SleeplessOne1917 fe1124ef7d
Merge branch 'main' into new-comment-space 2023-06-25 17:29:02 +00:00
SleeplessOne1917 6a69d6b063 Use spae instead of margin 2023-06-25 13:28:00 -04:00
SleeplessOne1917 0866296f2c
Merge pull request #1589 from LemmyNet/double-search
Fix search request being called twice on search page
2023-06-25 17:23:37 +00:00
Alec Armbruster 9f6b48c665
Merge branch 'main' into double-search 2023-06-25 13:18:55 -04:00
SleeplessOne1917 25cab15cfa Fix search request being called twice on search page 2023-06-25 13:07:18 -04:00
SleeplessOne1917 2787114482
Merge pull request #1585 from LemmyNet/bug/cant-set-headers-after-sent-fix
Fix noisy "Can't set headers after they are sent" error
2023-06-25 16:44:03 +00:00
Jay Sitter e4ee7f334f
Merge branch 'main' into bug/cant-set-headers-after-sent-fix 2023-06-25 12:41:28 -04:00
SleeplessOne1917 d8963d9bfe Add margin to new comment text 2023-06-25 12:09:53 -04:00
SleeplessOne1917 35071d2bec
Merge pull request #1586 from LemmyNet/feature/handle-video-iframes-better 2023-06-25 15:52:08 +00:00
Alec Armbruster 462c7ab748
handle embedded iframe content better 2023-06-25 11:01:40 -04:00
Alec Armbruster 9938ac6ee4
fix lint error 2023-06-25 10:47:21 -04:00
Alec Armbruster d1cf01061b
fix error on prod 2023-06-25 10:43:58 -04:00
SleeplessOne1917 d1404f3228
Merge pull request #1578 from jsit/chore/remove-a11y-eslint-severity-overrides
chore(a11y): Remove a11y eslint overrides
2023-06-25 07:07:22 +00:00