Commit graph

500 commits

Author SHA1 Message Date
Marcin Mróz
e470db3fde feat(post-listing): Add link to post for mobile preview 2023-06-15 19:21:42 +02:00
ayan4m1
1dd8cb0994 remove explicit types 2023-06-15 08:31:36 -04:00
ayan4m1
1ed148d3d2 fix: <hr> is almost invisible in darkly theme 2023-06-15 08:23:55 -04:00
abias
97f23821f5 Merge branch 'comment-depth' of https://github.com/LemmyNet/lemmy-ui into comment-depth 2023-06-14 21:23:21 -04:00
abias
b0189658a2 Address PR feedback 2023-06-14 21:14:21 -04:00
SleeplessOne1917
a880db43a1
Merge branch 'main' into comment-depth 2023-06-15 00:53:20 +00:00
abias
ab0805432d Make comment border colors semi-transparent 2023-06-14 20:52:31 -04:00
Dessalines
89be27bb9d
Add long polling to update unread counts in navbar. (#1271)
* Upping version.

* Add long-polling to update unread counts in navbar.

- Fixes #1148

* Using async for polling.

* Update src/shared/utils.ts

Co-authored-by: Sander Saarend <sander@saarend.com>

* Adding window visibility check, removing generic sleep.

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Sander Saarend <sander@saarend.com>
2023-06-14 20:28:20 -04:00
SleeplessOne1917
8ce6e5bc32
Merge branch 'main' into comment-depth 2023-06-15 00:22:29 +00:00
SleeplessOne1917
f86b9ede07
Merge branch 'main' into AA/remove-pictrsdeletetoast-from-postform 2023-06-15 00:05:27 +00:00
SleeplessOne1917
31e61e7449
Merge branch 'main' into comment-depth 2023-06-14 23:46:11 +00:00
SleeplessOne1917
506839610e
Merge branch 'main' into AA/missing-tooltip-from-post-listing 2023-06-14 23:28:43 +00:00
Alec Armbruster
aa48adc2c3
Merge branch 'AA/remove-pictrsdeletetoast-from-postform' of https://github.com/alectrocute/lemmy-ui into AA/remove-pictrsdeletetoast-from-postform 2023-06-14 16:46:03 -04:00
Alec Armbruster
44e45bb84d
make button a tad smaller 2023-06-14 16:45:56 -04:00
Alec Armbruster
12298c3132
Merge branch 'main' into AA/remove-pictrsdeletetoast-from-postform 2023-06-14 16:41:28 -04:00
Alec Armbruster
d75e4365c4
remove pictrsDeleteToast usage from PostForm, add delete image button, fix infinite loading bug if upload error occured 2023-06-14 16:29:04 -04:00
Alec Armbruster
84a380606c
Merge branch 'main' into AA/missing-tooltip-from-post-listing 2023-06-14 12:05:53 -04:00
Alec Armbruster
66dc499864
Merge branch 'main' into AA/trim-all-username-inputs 2023-06-14 12:05:42 -04:00
Alec Armbruster
99f81f8d63
adds missing tooltip 2023-06-14 10:03:00 -04:00
Alec Armbruster
520efdcada
trim all username state input 2023-06-14 09:47:33 -04:00
Alec Armbruster
cd9de0b2e0
update prop name 2023-06-14 09:39:19 -04:00
Alec Armbruster
b076427e8d
handle loading state on community-form.tsx 2023-06-14 09:32:25 -04:00
SleeplessOne1917
2b1af707c3
Use http client (#1081)
* Beginning work on websocket -> http client conversion.

* About 30% done.

* half done.

* more done.

* Almost passing lint.

* Passing lint, but untested.

* Add back in event listeners.

* Fixing some community forms.

* Remove webpack cache.

* fixing some more.

* Fixed ISOwrappers.

* A few more fixes.

* Refactor utils

* Fix instance add/remove buttons

* Not catching errors in isoWrapper.

* Wrap Http client

* Fixing up tagline and ratelimit forms.

* Make all http client wrapping be in one place

* Reworking some more forms.

* Upgrading lemmy-js-client.

* Fixing verify email.

* Fix linting errors

* Upgrading woodpecker node.

* Fix comment scrolling rerender bug.

* Fixing a few things, commenting out props for now.

* v0.18.0-beta.1

* Trying to fix woodpecker, 1.

* Trying to fix woodpecker, 2.

* Handroll prompt

* Add navigation prompt to other pages

* Fix prompt navigation bug

* Fix prompt bug introduced from last bug fix

* Fix PWA bug

* Fix isoData not working

* Fix search page update url

* Fix sharp issue.

* v0.18.0-beta.2

* Make create post pre-fetch communities

* Fix bug from last commit

* Fix issue of posts/comments not being switched when changing select options

* Fix unnecessary fetches on home screen

* Make circular icon buttons not look stupid

* Prevent unnecessary fetches

* Make login experience smoother

* Add PWA shortcuts

* Add related application to PWA

* Update translations

* Forgot to add post editing.

* Fixing site setup.

* Deploy script setup.

* v0.18.0-beta.4

* Sanitize again.

* Adding sanitize json function.

* Upping version.

* Another sanitize fix.

* Upping version.

* Prevent search nav item from disappearing when on search page

* Allow admin and mod actions on non-local comments.

* Fix mobile menu collapse bug

* Completely fix prompt component

* Fix undefined value checks in use_http_client_2 (#1230)

* fix: filter out undefined from posts

* fix: emoji initialisation passing undefined

* fix: || => ?? to be more explicit

* linting

---------

Co-authored-by: Alex Maras <alexmaras@gmail.com>

* Re-add accidentally removed state

* Fix dropdown bug

* Use linkEvent where appropriate

* Fix navigation warnings.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Alex Maras <dev@alexmaras.com>
Co-authored-by: Alex Maras <alexmaras@gmail.com>
2023-06-14 08:20:40 -04:00
Zetaphor
31257b9dd4
Add title to pictrs-image
This adds a title tag to images, uses the alt tag value. This improves accessibility for sighted users and screen readers.
2023-06-13 12:24:15 -05:00
cmp
0d67c64af9
Make the community title in the sidebar link to the local community. (#1161)
* Make the community title in the sidebar link to the local community.

* Ternary erudaStr for PR.

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-13 06:34:21 -04:00
SleeplessOne1917
5f5ef404d2
Fix prompt component (#1223)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-13 06:33:27 -04:00
SleeplessOne1917
2053c4e4e1
Fix mobile menu collapse bug (#1222) 2023-06-12 22:24:24 -04:00
SleeplessOne1917
8dedeb6824
Merge branch 'main' into fix-button-click-area 2023-06-12 23:02:28 +00:00
SleeplessOne1917
800c1655fe
Merge branch 'main' into avatar-aspect-ratio-fix 2023-06-12 21:12:49 +00:00
SleeplessOne1917
a7450325a1
Make preview button say "edit" when in preview mode (#1164)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-12 14:14:03 -04:00
SleeplessOne1917
1f12ce9790
Add shortcut for submitting post (#1163)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-12 14:13:33 -04:00
Alec Armbruster
636d87e4cc
Merge branch 'main' into avatar-aspect-ratio-fix 2023-06-12 13:10:25 -04:00
Alec Armbruster
0d868d9005
format with prettier 2023-06-12 13:09:50 -04:00
Alec Armbruster
1aa934584f
add .img-cover class, implement 2023-06-12 13:00:18 -04:00
SleeplessOne1917
3438dac98b
Merge branch 'main' into fix-button-click-area 2023-06-12 14:33:28 +00:00
Ikko Eltociear Ashimine
b0b3d526cf
Fix typo in post-listing.tsx (#1181)
recieve -> receive
2023-06-12 10:05:36 -04:00
Florian Heft
170949f34f Fixed unclickable button paddings
* Remove the wrapping <button> element that
  visually seems clickable but has no click
  handling (only its child link can be
  clicked)
* fixes #1193
2023-06-12 11:40:44 +02:00
Yuri Pieters
10a29f053f Set html lang attr to the interface language 2023-06-12 00:26:01 +01:00
Yuri Pieters
6462cd5208 Run prettier 2023-06-11 22:47:57 +01:00
Alec Armbruster
5932fadc3a
make suggested change 2023-06-11 10:06:10 -04:00
Alec Armbruster
b90c0b2bbe
move expand/collapse button 2023-06-11 09:53:08 -04:00
Adam Shea
1f118e8bcc
Remove unnecessary comments 2023-06-10 12:12:48 +00:00
Adam Shea
cc64f71072
Added additional keybinds 2023-06-10 09:15:22 +00:00
SleeplessOne1917
cd6a2f47a1
Merge branch 'main' into 1078-language-select-disable-warning 2023-06-10 00:58:04 +00:00
Florian Heft
b54be0586d Only show 'saved' tab on own profile page
* Users can't view saved posts of other users.
* fixes #1090
2023-06-10 01:08:08 +02:00
Adam Shea
400f345182
Added Ctrl-K keybind 2023-06-09 21:30:12 +00:00
Sean Spade
23c4b685ed chore: switched to enabling language warning by prop rather than disabling 2023-06-08 23:36:35 -04:00
Sean Spade
9d45b4afe3 fix: Adds ability to hide language warning 2023-06-08 23:36:35 -04:00
Marcin Mróz
7366846849 styles(#1067): Run prettier 2023-06-08 21:08:28 +02:00
Marcin Mróz
7dfda39db0 fix(#1067): Fix language not updating when editing post 2023-06-08 20:48:32 +02:00