Commit graph

1567 commits

Author SHA1 Message Date
Pascal de Vink
8e2f83eb4e 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 18:30:31 -04:00
Alec Armbruster
28661dfacf fix vote button alignment 2023-06-26 18:30:31 -04:00
Alec Armbruster
d816b8f863 remove icon (#1618)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 18:30:31 -04:00
dullbananas
dd09b3cade 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 18:30:31 -04:00
Alec Armbruster
022c27aec2 capitalize button (#1616)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 18:30:31 -04:00
Alec Armbruster
950dfad659 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 18:30:31 -04:00
Jay Sitter
f5be909d64 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 18:30:31 -04:00
Anansi
cf10bd64ad 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 18:30:31 -04:00
Jay Sitter
91122f4061 chore(DX): Add prettier to eslint config for use with editors 2023-06-26 18:30:31 -04:00
SleeplessOne1917
308785b472 Only give child comments colored borders 2023-06-26 18:30:31 -04:00
Dominic Mazzoni
9dc25f2247 Associate NSFW label with its checkbox 2023-06-26 18:30:31 -04:00
Jay Sitter
8fd08e58e3 fix: Remove unnecessary string interpolations 2023-06-26 18:30:31 -04:00
Jay Sitter
04770d7ef8 fix: Remove unnecessary class 2023-06-26 18:30:31 -04:00
Jay Sitter
32cc2538d4 fix: Remove unnecessary classes 2023-06-26 18:30:30 -04:00
Jay Sitter
984de714cd fix: Restore removed classes 2023-06-26 18:30:30 -04:00
Jay Sitter
bbe897dc01 fix: Remove wrapping li's 2023-06-26 18:30:30 -04:00
Jay Sitter
1db654ecf5 fix: Remove extraneous classes 2023-06-26 18:30:30 -04:00
Jay Sitter
00d7a8dbb7 fix: Move things back to where they were 2023-06-26 18:30:30 -04:00
Jay Sitter
f27bb07fcd chore: Separate post mod buttons into functions 2023-06-26 18:30:30 -04:00
Jay Sitter
78e1ab994e
Merge branch 'main' into feat/create-post-file-upload-a11y 2023-06-25 18:20:04 -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
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
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
Jay Sitter
1c84a6f949 chore: Empty commit to re-trigger Woodpecker 2023-06-25 03:04:33 -04:00
Jay Sitter
664b39f1eb chore(a11y): Remove a11y eslint overrides, as there are (almost) no more violations 2023-06-25 02:37:34 -04:00
Jay Sitter
7d44bc4993 Merge remote-tracking branch 'lemmy/main' into feat/create-post-file-upload-a11y
* lemmy/main:
  fix: Add type=button to buttons
  chore: Empty commit to re-trigger Woodpecker
  fix: Fix some Bootstrap 5 font classes
  fix: Fix some Bootstrap 5 font classes
  fix: Specify vote content type so buttons work for both comments and posts
  v0.18.0
  Fix homepage `scrollTo(0, 0)` failing when document size changes.
  v0.18.0-rc.8
  Moved `!isBrowser()` check to `FirstLoadServer.isFirstLoad`
  Fix server-side rendering after first load.
  fix!: Try to get Vote Buttons component working in Comments
  fix: Remove unused prop
  fix: Rework some vote buttons architecture
  fix: Undo some other extraneous changes
  fix: Undo some extraneous changes
  fix: Remove tippy duplicate functions
  fix: Revert to old mobile vote style
  feat: Move vote buttons to separate component
2023-06-25 02:27:37 -04:00
Jay Sitter
dc43c51b0d fix(a11y): Change the look and behavior of some file upload fields 2023-06-25 02:27:07 -04:00
SleeplessOne1917
dc48d742b5
Merge pull request #1488 from jsit/feat/vote-components
feat(dev): Vote components
2023-06-25 06:16:00 +00:00
SleeplessOne1917
c7aa92706b
Merge branch 'main' into feat/vote-components 2023-06-25 06:13:28 +00:00
SleeplessOne1917
a0857a5eb8
Merge pull request #1576 from jsit/fix/a11y-fixes-3
fix(a11y): Some accessibility fixes
2023-06-25 06:12:33 +00:00
Jay Sitter
a127eea3d8 fix: Add type=button to buttons 2023-06-25 01:40:21 -04:00
Jay Sitter
3f0f053968 fix: Fix some classes on private message collapse/expand button 2023-06-25 01:37:36 -04:00
Jay Sitter
1c404c80d3 chore(a11y): Remove now-passing jsx-a11y tests from exemptions 2023-06-25 01:36:21 -04:00