Commit graph

1189 commits

Author SHA1 Message Date
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
SleeplessOne1917 c0abfb154e
Merge pull request #1264 from alectrocute/AA/create-community-infinite-loading-bug 2023-06-14 15:50:31 +00: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
Dessalines 4152928331 Upping version. 2023-06-14 08:21:52 -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
Camel Coder be60dae9f8
Horizontally scrollable code blocks, instead of wrapping.
This disables word wrapping for code generated from markdown, and instead enables a horizontal scroll bar.
2023-06-14 12:00:13 +00:00
RayBB 374629f689 add instance url 2023-06-14 12:06:26 +02:00
RayBB 97ef46a256 no comma 2023-06-14 11:41:56 +02:00
RayBB 1f04febd11 reorder questions 2023-06-14 11:39:18 +02:00
Raymond Berger 58954e5bee
improve q for feature request 2023-06-14 11:25:49 +02:00
Raymond Berger eed8876484
make question clearer 2023-06-14 11:24:17 +02:00
Raymond Berger 2d91d31517
Update BUG_REPORT.yml 2023-06-14 11:18:43 +02:00
RayBB 6517d99bfb prettier 2023-06-14 10:31:11 +02:00
RayBB fd123d4f48 add checkboxes to feature requests 2023-06-14 10:22:46 +02:00
RayBB 152aaf77b0 required under label 2023-06-14 10:19:04 +02:00
RayBB 040d56a1a2 indent validations 2023-06-14 10:16:45 +02:00
RayBB 9f337ecdef label array 2023-06-14 10:15:24 +02:00
RayBB 9f5c496130 add checkboxes to issue template 2023-06-14 10:12:32 +02:00
Florian Heft 14775734fa Fixed NSFW image blur spilling outside the preview
* Hide overflow of wrapping picture element
  to contain the blur of the inner img element.
* This aligns the visible image area to the
  clickable area.
* fixes #1245
2023-06-14 10:11:27 +02:00
Florian Heft 20c3b6bfb3 Recompiled theme files using latest Bootstrap 4
* Rebuild the existing theme files using the
  new build system (93f00c9e).
* Files should be functionally the same apart
  from possibly some Bootstrap fixes. Most
  of the diff is reordering and formatting
  (e.g. color values).
2023-06-14 01:14:18 +02:00
Florian Heft a170a0cc74 Added npm scripts to rebuild theme files
* Add Bootstrap 4 dependency
* Add scripts to compile theme files using SASS
* Remove circular dependency of theme variables
  and Bootstrap base variables
2023-06-14 01:14:18 +02:00
SleeplessOne1917 f61037f5d8
Merge pull request #1237 from Zetaphor/patch-1 2023-06-13 22:42:59 +00: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 0197c2a0fc
Merge pull request #1195 from fheft/fix-button-click-area
Fix unclickable button paddings
2023-06-12 23:11:20 +00:00
SleeplessOne1917 8dedeb6824
Merge branch 'main' into fix-button-click-area 2023-06-12 23:02:28 +00:00
SleeplessOne1917 b7f5c0e43e
Merge pull request #1210 from alectrocute/avatar-aspect-ratio-fix
Fix avatar/icon aspect ratio
2023-06-12 21:15:18 +00:00
SleeplessOne1917 800c1655fe
Merge branch 'main' into avatar-aspect-ratio-fix 2023-06-12 21:12:49 +00:00
Dessalines a605c72859
Another try at sanitize. (#1208)
* Sanitize again.

* Adding sanitize json function.

* Using serialize instead.
2023-06-12 16:17:57 -04:00
Raymond Berger de230a5e2f
remove unused theme files (#1202)
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-12 14:57:52 -04:00
Raymond Berger 105bbe4460
issue templates in yml format (#1211)
* add BUG_REPORT.yml

* remove .md file

* fix keys

* cleanup description

* add question.yml

* add hexbear.yml

* remove title

* feature request yml
2023-06-12 14:49:53 -04: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
SleeplessOne1917 d56addf7d6
Merge pull request #1176 from MageJohn/main 2023-06-12 08:50:16 +00:00