Commit graph

47 commits

Author SHA1 Message Date
abias
9fb1a28763 Merge branch 'main' into route-data-refactor 2023-06-16 18:23:06 -04:00
abias
4d716e039b Merge branch 'main' into route-data-refactor 2023-06-16 18:17:17 -04:00
Zetaphor
e13d6145cb Remove extra div in post sidebar 2023-06-16 18:56:06 -03:00
SleeplessOne1917
e456121137
Merge branch 'main' into feature/add-ids-and-classes 2023-06-16 21:17:48 +00:00
Dessalines
e0cc7ba3c3
Adding a few more 0.18.0 API changes. (#1324)
- Removes number_online
2023-06-16 17:06:14 -04:00
Zetaphor
5d7e5cac33 Use article semantic HTML tag for posts/comments 2023-06-16 17:27:41 -03:00
Zetaphor
6a9b936d08 Merge branch 'main' into feature/add-ids-and-classes 2023-06-16 14:14:10 -03:00
Zetaphor
3ca2bce9f0 Add classes to post and comment repy textareas 2023-06-16 14:10:56 -03:00
Jordan Enterkin
afcffce572
fix block community functionality in sidebar (#1316)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-16 13:01:09 -04:00
abias
9265fc5894 Merge branch 'main' into route-data-refactor 2023-06-15 22:08:14 -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
James Whitmarsh
0754b9ba19 Refactor lets to consts 2023-06-05 22:31:12 +01:00
abias
feb4c434d1 Refactor route data 2023-05-29 20:40:00 -04:00
3143788d19 Changing all bigints to numbers 2023-05-15 15:53:29 -04:00
Dessalines
c5fd084577
Using auto-generated types from ts-rs. (#1003)
* Using auto-generated types from ts-rs.

- Fixes #998
- Added support for new `GetFederatedInstances`
- Fixed a few bugs in the process.

* Update imports to use SleeplessOne1917's fix.
2023-05-11 14:32:32 -04:00
Dessalines
b1dcd222ab
Check to make sure post is correct. Fixes #934 (#949) 2023-02-21 15:52:34 -05:00
Dessalines
1dd86fdf91
Fix showing crosspost dupes. Fixes #900 (#912) 2023-02-02 21:15:36 -05:00
Dessalines
e03d3c40e6
Fix live updating postres edit. Fixes #908 (#911) 2023-02-02 21:15:21 -05:00
Dessalines
87c30705ef
Fixing post setState error. Fixes #902 (#903) 2023-01-31 20:09:51 -05:00
Dessalines
b64f47cfe9
Removing monads. Fixes #884 (#886)
* Removing monads. Fixes #884

* Fixing post fetching.

* Dont show not_logged_in error for navbar.

* Adding the lemmy-js-client RC.

* Fixing registration application mode
2023-01-04 11:56:24 -05:00
Dessalines
afeb64009b
Adding Community Language fixes. #783 (#868)
* Partially done with language tagging. #783

* A few more updates.
2022-12-19 10:57:29 -05:00
Anon
003b177f6e
Add FeaturedPost Support (#873) 2022-12-14 10:03:18 -05:00
Dessalines
24548ccba8
Adding new site setup fields. (#840) 2022-11-09 14:53:07 -05:00
umamawme
d412baf758
Change for container divs to container-lg (#813)
* Change for container divs to container-lg

* Apply container-lg to footer.tsx
2022-10-03 14:16:36 -04:00
Dessalines
c6e3a4213a
Hide create community (#787)
* Adding post and comment language tagging. Fixes #771

* Hiding create community button. Fixes #754
2022-09-22 11:14:58 -04:00
Dessalines
6320357d21
Upgrade inferno v8.0.0 try2 (#790)
* Upgrade non-breaking deps.

* Upgrade to Inferno v8. Fixes #731

* Upgrading inferno-i18next-dess
2022-09-22 11:03:35 -04:00
Dessalines
3bf1cc2797
Adding mod / admin distinguish. (#744) 2022-08-17 19:26:50 -04:00
Dessalines
b0cfb4fe4a
Fixing post_view glitch. Fixes #740 (#741) 2022-08-04 16:28:58 +02:00
Dessalines
69b623b8fb
Comment Tree paging (#726)
* Updating translations.

* Forgot to add comment-sort-select

* Upgrading deps
2022-07-30 15:28:08 +02:00
Dessalines
96583bee47
Adding purging of comments, posts, communities, and users. (#459)
* Starting on admin purge.

* Updating translations.

* Finishing up item purging.
2022-06-23 15:44:05 -04:00
Dessalines
75d52f1e4e
Removing save and read config hjson. Fixes #695 (#696) 2022-06-23 10:05:56 -04:00
Dessalines
d905c91e1b
Adding option types 2 (#689)
* Not working, because of wrong API types.

* Adding Rust-style Result and Option types.

- Fixes #646

* Updating to use new lemmy-js-client with Options.
2022-06-21 17:42:29 -04:00
Dessalines
321339c6c5
Don't render markdown for summaries. Fixes #658 (#659) 2022-05-23 11:13:41 +00:00
Dessalines
a1125ddbf0
Fix comment jumping. Fixes #529 (#576) 2022-02-14 19:10:11 +00:00
Dessalines
399149b278
Don't allow transfer site. (#551)
* Don't allow transfer site.

* Updating translations.

* Adding leave admin team.
2022-02-14 12:27:43 -05:00
Dessalines
5074165226
Dont receive post room comments from blocked users. (#516) 2021-12-02 11:46:41 -05:00
d6f651568b A few fixes. 2021-11-22 15:04:20 -05:00
aff768edaa Fix comment scroll bug. Fixes #492 2021-11-18 10:37:24 -05:00
Dessalines
83b8bcd5e1
Fixing unload (#487) 2021-11-16 10:37:40 -05:00
Dessalines
fac71d1749
Adding post comment scrolling hack. Fixes #480 (#486) 2021-11-16 09:46:12 -05:00
Dessalines
06099fee8a
Reporting (#434)
* Updating translations.

* A first pass at reporting. Fixes #102
2021-09-28 10:38:59 +00:00
Dessalines
6091f07d20
Fix comment scrolling bug. Fixes #394 (#397) 2021-09-04 01:20:34 -04:00
Dessalines
b27d982a7b
Feature/user community block (#362)
* Extracting user settings and profile page.

- Auto-collapsing dropdown and navbar on link clicks.
- Fixes #180

* Adding User and Community blocking. Fixes #295

- Added a new settings page.
- Switched to myUserInfo.
- Removing GetFollowedCommunities endpoint

* Fixing blocks
2021-08-19 22:56:18 -04:00
5e5695c3ea Cleaning up scroll to comments 2021-08-11 21:06:54 -04:00
hammsvietro
3870703b12
Scroll to comments on post's x comments button (#312)
* scroll to comments on post's x comments button

* scrolls down to comments using url params
2021-08-11 21:00:26 -04:00
Dessalines
3a593addfd
Collapse sidebar on mobile. Fixes #335 (#340) 2021-07-17 23:56:33 -04:00
Dessalines
eed07b66aa
Re-organized components folder. (#339)
* Fixing too many large spinners

* Re-organized components folder.

- Cleaned up spans. Fixes #173
- Fixes #320

* Fixing miscolored edit
2021-07-17 16:42:55 -04:00
Renamed from src/shared/components/post.tsx (Browse further)