Commit graph

1656 commits

Author SHA1 Message Date
Alec Armbruster 9e1eb5fe19
always show badge on mobile 2023-06-27 11:42:00 -04:00
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
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 ef3924507b
Merge pull request #1596 from jsit/feat/toggle-body-1595
feat(UI): Always put post body behind toggle on post listings
2023-06-27 09:13:20 -04:00
Jay Sitter 3cf84f5693
Merge branch 'main' into feat/toggle-body-1595 2023-06-27 09:11:01 -04:00
SleeplessOne1917 4923b1a38d
Merge pull request #1642 from LemmyNet/fix_docker_build_webpack_analyzer
Moving webpack-bundle-analyzer require inside mode check to fix docker.
2023-06-27 09:04:11 -04:00
Jay Sitter 8dfe3c6106
Merge branch 'main' into feat/toggle-body-1595 2023-06-27 08:57:06 -04:00
Dessalines 20757fa769 Moving webpack-bundle-analyzer require inside mode check to fix docker. 2023-06-27 08:47:39 -04:00
Dessalines d8f4cc328e v0.18.1-rc.1 2023-06-27 08:10:42 -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
SleeplessOne1917 7cdbc42c5c
Merge pull request #1620 from pascaldevink/create_space_between_cancel_and_ban_button
Add space between cancel and ban button
2023-06-27 07:56:04 -04:00
Dessalines 857b0d9db3
Merge branch 'main' into create_space_between_cancel_and_ban_button 2023-06-27 07:46:25 -04:00
SleeplessOne1917 773176084c
Merge pull request #1629 from jsit/fix/remove-body-preview
fix: Remove body preview
2023-06-26 20:40:30 -04:00
Jay Sitter 5da6f27227 fix: Remove body preview 2023-06-26 20:37:28 -04:00
SleeplessOne1917 8766c5cf8e
Merge pull request #1590 from jsit/fix/wider-max-width-1536
fix(UI): Make max-width wider, and make sidebar narrower on wide screens (#1536)
2023-06-26 20:34:32 -04:00
SleeplessOne1917 eef3ac41d3
Merge branch 'main' into fix/wider-max-width-1536 2023-06-26 20:29:13 -04:00
SleeplessOne1917 531630c1e7
Merge pull request #1597 from jsit/feat/hide-avatars-on-listings
feat(UI): Make post listing (icon) avatars smaller (line-height)
2023-06-26 20:27:41 -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 87a01e7246 Merge remote-tracking branch 'lemmy/main' into feat/toggle-body-1595
* lemmy/main:
  fix vote button alignment
  partially revert change
  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)
  remove hook entirely
  chore(DX): Add prettier to eslint config for use with editors
  fix bug collapsing previews when voting
  fix: Remove unnecessary string interpolations
  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 20:15:56 -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 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 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 a5fc6bf5f1
Merge pull request #1608 from LemmyNet/bug/fix-image-collapse-upon-vote
Prevent `PostListing` previews from collapsing when voting
2023-06-26 18:51:05 -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