Commit graph

1221 commits

Author SHA1 Message Date
Alec Armbruster
06736c3df1
Merge branch 'main' of https://github.com/LemmyNet/lemmy-ui into bugfix/make-post-creator-badge-stand-out-more 2023-06-27 11:41:15 -04:00
Alec Armbruster
93e015393c
Merge branch 'main' into feat/pureblack-theme 2023-06-27 11:31:07 -04:00
Alec Armbruster
63337848ed
fix a few colors 2023-06-27 11:30:32 -04:00
Sander Saarend
934cabcec4
Reduce fetchLimit (40 -> 20) (#1638)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-27 10:52:01 -04:00
Jay Sitter
8dfe3c6106
Merge branch 'main' into feat/toggle-body-1595 2023-06-27 08:57:06 -04:00
SleeplessOne1917
34188ebd84
Fix allowed and blocked instances not being fetched for admin settings (#1627)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-27 08:09:55 -04:00
Dessalines
857b0d9db3
Merge branch 'main' into create_space_between_cancel_and_ban_button 2023-06-27 07:46:25 -04:00
Jay Sitter
3439512a1c fix: Restore mdNoImages import 2023-06-26 21:12:43 -04:00
Jay Sitter
ee84634a73 fix: Fix alignment of preview mini-overlay buttons on thumbs 2023-06-26 21:05:50 -04:00
Jay Sitter
5da6f27227 fix: Remove body preview 2023-06-26 20:37:28 -04:00
SleeplessOne1917
eef3ac41d3
Merge branch 'main' into fix/wider-max-width-1536 2023-06-26 20:29:13 -04:00
Jay Sitter
084345f0c5
Merge branch 'main' into fix/wider-max-width-1536 2023-06-26 20:22:38 -04:00
Jay Sitter
af67240163
Merge branch 'main' into feat/hide-avatars-on-listings 2023-06-26 20:22:26 -04:00
Jay Sitter
8b637a1773 fix: Move toggle button to its own function 2023-06-26 20:20:14 -04:00
Jay Sitter
5c964440da fix: Show metadata preview card on all post pages 2023-06-26 20:13:30 -04:00
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
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
319bb4116f fix: Remove smallavatars prop 2023-06-26 19:46:29 -04:00
Jay Sitter
f57bf3bb8b fix: Restore icon avatars; make smaller and roundrect 2023-06-26 19:04:13 -04:00
SleeplessOne1917
6021d20559
Merge branch 'main' into bug/fix-image-collapse-upon-vote 2023-06-26 18:47:49 -04:00
SleeplessOne1917
165d1aa181
Merge branch 'main' into create_space_between_cancel_and_ban_button 2023-06-26 18:46:22 -04:00
Jay Sitter
d62424d491 Merge remote-tracking branch 'lemmy/main' into fix/wider-max-width-1536
* lemmy/main:
  fix vote button alignment
  Fix feedback on banning an unbanning
  remove icon (#1618)
  Indicate valid and invalid fields in signup form (#1450)
  capitalize button (#1616)
  Move password reset form to separate route, view (#1390)
  feat(UI): Reduce base font size (#1591)
  Fix: missing semantic css classes and html elements (#1583)
2023-06-26 18:24:31 -04:00
Jay Sitter
43253b01d2
Merge branch 'main' into feat/hide-avatars-on-listings 2023-06-26 18:12:04 -04:00
Alec Armbruster
03a4bfad46
remove toUpperCase since the translation is uppercase 2023-06-26 17:19:34 -04:00
SleeplessOne1917
1c5e2f1c04
Merge branch 'main' into bugfix/vote-button-position 2023-06-26 21:15:53 +00:00
Alec Armbruster
937ebfc649
fix vote button alignment 2023-06-26 17:10:39 -04:00
SleeplessOne1917
70e8b05509
Merge branch 'main' into fix_feedback_on_ban_and_unban 2023-06-26 21:08:32 +00:00
Alec Armbruster
2b1647c9b8
partially revert change 2023-06-26 17:04:19 -04:00
Pascal de Vink
6dc9c6376b
Add space between cancel and ban button
When banning a user, the modal has two buttons: cancel and ban. These
buttons are so close to each other that it's hard to see they are
separate buttons.
By putting each button on their own row, there is more space between
them.
2023-06-26 21:58:16 +01:00
Alec Armbruster
1faa9f354b
add tooltip 2023-06-26 16:49:09 -04:00
Pascal de Vink
170bd7d693
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 21:45:56 +01:00
Alec Armbruster
b69ad1264d
make post creator badge stand out more 2023-06-26 16:41:14 -04:00
Alec Armbruster
16f2f0d244
remove icon (#1618)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 16:09:11 -04:00
dullbananas
6810742757
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 15:57:23 -04:00
Alec Armbruster
6d92c07c89
Merge branch 'main' into feat/pureblack-theme 2023-06-26 15:50:14 -04:00
Alec Armbruster
7ea9f26a1c
capitalize button (#1616)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 15:25:22 -04:00
Alec Armbruster
96cf021105
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 14:54:38 -04:00
Jay Sitter
aee7e4d45b
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 14:53:37 -04:00
Anansi
cb6ab15254
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 14:51:04 -04:00
Alec Armbruster
cff56a9875
Merge branch 'main' into feat/pureblack-theme 2023-06-26 14:35:03 -04:00
Jay Sitter
20d54a7e51 Merge remote-tracking branch 'lemmy/main' into fix/wider-max-width-1536
* lemmy/main:
  fix: Remove unnecessary class
  fix: Remove unnecessary classes
  fix: Restore removed classes
  fix: Remove wrapping li's
  fix: Remove extraneous classes
  fix: Move things back to where they were
  chore: Separate post mod buttons into functions
2023-06-26 14:25:29 -04:00
Alec Armbruster
500a0113c4
Merge branch 'main' into bug/fix-image-collapse-upon-vote 2023-06-26 14:02:16 -04:00
Alec Armbruster
81131d2804
remove hook entirely 2023-06-26 12:16:32 -04:00
Jay Sitter
a6a65d9519
Merge branch 'main' into chore/separate-mod-button-functions 2023-06-26 12:03:26 -04:00
Jay Sitter
b4fdf88915 Merge remote-tracking branch 'lemmy/main' into fix/wider-max-width-1536
* lemmy/main:
  chore(DX): Add prettier to eslint config for use with editors
  fix: Remove unnecessary string interpolations
2023-06-26 11:31:01 -04:00
Alec Armbruster
3730cc6d82
run prettier 2023-06-26 10:41:21 -04:00
Alec Armbruster
94d223b162
add darkly-pureblack theme 2023-06-26 10:37:39 -04:00
Alec Armbruster
e6909d4cd1
fix bug collapsing previews when voting 2023-06-26 09:25:00 -04:00
Jay Sitter
8700f65a7c
Merge branch 'main' into chore/fix-unnecessary-string-interpolation 2023-06-26 08:50:54 -04:00
Jay Sitter
c04ce03cf4
Merge branch 'main' into feat/hide-avatars-on-listings 2023-06-26 08:50:41 -04:00
Jay Sitter
c16ff6c187
Merge branch 'main' into feat/toggle-body-1595 2023-06-26 08:50:34 -04:00
Jay Sitter
7999dd1ba8
Merge branch 'main' into fix/wider-max-width-1536 2023-06-26 08:50:12 -04:00
SleeplessOne1917
7f3d1c4ebd
Merge branch 'main' into chore/fix-unnecessary-string-interpolation 2023-06-26 10:18:14 +00:00
SleeplessOne1917
08ad1fb183
Merge branch 'main' into comment-border 2023-06-26 10:15:27 +00: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
ce3c308961 fix: Fix image/title wrapping on small 2023-06-25 20:06:34 -04:00
Jay Sitter
271425b963 fix: Fix post listing vote/image/title widths 2023-06-25 20:00:43 -04:00
Jay Sitter
a90c34eb7f fix: Fix a too-small thumbnail column 2023-06-25 19:46:27 -04:00
Jay Sitter
424d29847b fix: Set max height on post listing thumbnails 2023-06-25 19:40:49 -04:00
Jay Sitter
d0f6fdbe4a fix: Remove unnecessary string interpolations 2023-06-25 19:36:19 -04:00
Jay Sitter
5fdbaa0dd9 fix: Tidy up divs 2023-06-25 19:29:31 -04:00
Jay Sitter
4800a408fd fix: Make navbar container full screen width #1536 2023-06-25 19:29:31 -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
90b69f8cdd
Merge branch 'main' into chore/separate-mod-button-functions 2023-06-25 18:19:24 -04:00
Jay Sitter
0bab91948c fix: Remove unnecessary class 2023-06-25 18:18:47 -04:00
Jay Sitter
e7889c4f69 fix: Remove unnecessary classes 2023-06-25 18:18:16 -04:00
Jay Sitter
7259472254 fix: Restore removed classes 2023-06-25 18:15:59 -04:00
Jay Sitter
6c2ee399b9 fix: Remove wrapping li's 2023-06-25 18:13:13 -04:00
Jay Sitter
69966369d3 fix: Remove extraneous classes 2023-06-25 18:11:12 -04:00
Jay Sitter
c1e86f43a1 fix: Move things back to where they were 2023-06-25 18:08:26 -04:00
Jay Sitter
ba5cafef08 chore: Separate post mod buttons into functions 2023-06-25 18:01:55 -04:00
Jay Sitter
6b5ea004a6
Merge branch 'main' into fix/wider-max-width-1536 2023-06-25 17:51:21 -04:00
Jay Sitter
6773fe83d8
Merge branch 'main' into feat/toggle-body-1595 2023-06-25 17:50:02 -04:00
Jay Sitter
a9feae7da0 Merge remote-tracking branch 'lemmy/main' into feat/hide-avatars-on-listings
* lemmy/main:
  feat(UI): Fix some link hover colors
2023-06-25 17:49:37 -04:00
Jay Sitter
f4793d2a33
Merge branch 'main' into fix/wider-max-width-1536 2023-06-25 17:41:26 -04:00
Jay Sitter
937dd5f86a feat(UI): Fix some link hover colors 2023-06-25 17:18:25 -04:00
Jay Sitter
528aed7f58 feat(UI): Hide avatars on listings 2023-06-25 16:33:11 -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
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
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