Commit graph

67 commits

Author SHA1 Message Date
Jay Sitter
fbd2b727cb fix: Only post title should be inside h5, not the additional metadata icons 2023-06-18 10:19:40 -04:00
Jay Sitter
dcf576ff41 fix: Use btn-sm for advanced menu dropdown buttons 2023-06-18 10:18:17 -04:00
Jay Sitter
2e98e28e71 fix: Remove some extra classes on flag/report buttons 2023-06-18 10:18:17 -04:00
Jay Sitter
b4c83b214b fix: Fix vertical alignment and border radius of advanced dropdown menu items 2023-06-18 10:18:17 -04:00
Jay Sitter
fb2c9f7491 fix(a11y): Add aria-controls for advanced button dropdown 2023-06-18 10:18:17 -04:00
Jay Sitter
fc1c4f3279 fix: Fix some button labels and tippy text 2023-06-18 10:18:17 -04:00
Jay Sitter
96a4df220a fix: Remove unused var 2023-06-18 10:18:17 -04:00
Jay Sitter
7c264916a3 feat: Move advanced post menu into dropdown 2023-06-18 10:18:17 -04:00
Jay Sitter
ec1d3726ed fix(a11y): Add aria-label to fetaured pins 2023-06-17 13:08:56 -04:00
Jay Sitter
ba3a565d2b fix: Vertically align icons in post listing 2023-06-16 21:50:31 -04:00
Zetaphor
5d7e5cac33 Use article semantic HTML tag for posts/comments 2023-06-16 17:27:41 -03:00
Zetaphor
2d79ad32b5 Add clases and ID's to post form/listing 2023-06-16 14:12:07 -03:00
Marcin Mróz
e470db3fde feat(post-listing): Add link to post for mobile preview 2023-06-15 19:21:42 +02:00
Alec Armbruster
99f81f8d63
adds missing tooltip 2023-06-14 10:03:00 -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
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
James Whitmarsh
0754b9ba19 Refactor lets to consts 2023-06-05 22:31:12 +01:00
SleeplessOne1917
400e62b21c
Add aria attribute to track toggle status of up/down votes. (#1074) 2023-06-05 11:49:03 -04:00
8837cf568e remove badge-muted 2023-05-25 10:52:34 +02:00
15f75a26e9 use badge-muted 2023-05-24 12:22:24 +02:00
90a9f72817 Changes to language tag
- Dont use bright white color because its not that important
- Hide tag in case of undetermined (doesnt add any information)
2023-05-23 22:16:54 +02:00
SleeplessOne1917
0bd9a17009
Add web share for browsers that have it enabled (#1029)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-05-21 14:17:56 -04:00
SleeplessOne1917
a447e432db
Show language on posts and comments (#1026)
* Show language on posts and comments

* Revert "Show language on posts and comments"

This reverts commit 54267903fc.

* Change language indicator look
2023-05-21 14:13:25 -04:00
3143788d19 Changing all bigints to numbers 2023-05-15 15:53:29 -04:00
8c06eb9749
Remove "banned" badge from posts and comments (fixes 899) (#1011)
It doesnt need to be emphasized so much that a user is banned.
Anyway this can already be seen in the mod log. For users who
are banned from the entire site it is still shown on the profile.

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-05-11 21:15:04 -04:00
SleeplessOne1917
b19b51c78c
Add support for PWA (#1005)
* Add logic for dynamically generating web manifest

* Make PWA icon get autogenerated

* Make service worker work

* Tweak things for PWA

* Handle apple icons and refactor

* Update prod dockerfile

* Remove jimp

* Remove unnecessary option

* Use different function syntax
2023-05-11 21:07:59 -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
SleeplessOne1917
3526baf465
Make pages use query params instead of route params where appropriate (#977)
* feat: Add multiple image upload

* refactor: Slight cleanup

* feat: Add progress bar for multi-image upload

* fix: Fix progress bar

* fix: Messed up fix last time

* refactor: Use await where possible

* Add query params to search page

* Update translation logic

* Did suggested PR changes

* Updating translations

* Fix i18 issue

* Make prettier actually check src in hopes it will fix CI issue

* Make home page use query params in URL

* Remove unnecessary part of private message url

* Make communities page use query params

* Make community page use query params

* Make user profile use query params

* Make modlog use query params

* Replace choices.js searchable select entirely

* Make 404 screen show up when expected

* Refactor query params code

* Remove unnecessary boolean literal

* Fix query param bug

* Address bug with searchable select and initial fetch

* Only import what is needed from bootstrap

* Undo change to comment nodes component

* Convert closure style functions to normal functions

* Updated translations

* Use translation for loading

* Fix create post select community bug

* Fix community query params bug
2023-04-15 10:47:10 -04:00
Dessalines
8df9aa1d5a
Adding ban_from_community to be more clear. Fixes #872 (#943) 2023-02-21 16:12:00 -05:00
Dessalines
49acf514e9
Let any mod feature and lock posts. Fixes #875 (#944)
* Let any mod feature and lock posts. Fixes #875

* Change to amAdmin
2023-02-21 15:53:51 -05:00
Dessalines
a09b301429
Fixing line formatting. (#947) 2023-02-21 15:53:15 -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
36c1c1f262
Fix wrong comment link. Fixes #714 (#865) 2022-11-18 23:39:32 -05:00
Dessalines
765ed9549a
Dont render images in tippy. Fixes #776 (#864) 2022-11-18 21:02:38 -05:00
Dessalines
f90fa6dd3b
Hide post report images. Fixes #824 (#861) 2022-11-17 21:11:30 -05:00
Dessalines
78a6a19d8d
Add inline markdown rendering for post titles. Fixes #827 (#860) 2022-11-17 21:01:52 -05:00
Dessalines
80be834867
Adding new unread comments. (#749) 2022-09-27 15:42:24 -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
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
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
9c2f70e5e0
Adding site ban from profile page. Fixes #588 (#627) 2022-04-15 21:22:39 +00:00
Dessalines
6684bbeaf6
Adding nofollow to links. Fixes #542 (#543)
* Adding nofollow to links. Fixes #542

* Running prettier.
2022-02-24 15:31:44 +00:00
Dessalines
67593746e0
Move fedi link in post listing location. Fixes #569 (#583) 2022-02-17 18:28:43 +00:00