lemmy-ui.git
17 months agoRecompiled theme files using latest Bootstrap 4
Florian Heft [Tue, 13 Jun 2023 23:14:05 +0000 (01:14 +0200)]
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).

17 months agoAdded npm scripts to rebuild theme files
Florian Heft [Tue, 13 Jun 2023 23:04:53 +0000 (01:04 +0200)]
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

17 months agoMerge pull request #1237 from Zetaphor/patch-1
SleeplessOne1917 [Tue, 13 Jun 2023 22:42:59 +0000 (22:42 +0000)]
Merge pull request #1237 from Zetaphor/patch-1

17 months agoAdd title to pictrs-image
Zetaphor [Tue, 13 Jun 2023 17:24:15 +0000 (12:24 -0500)]
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.

17 months agoMake the community title in the sidebar link to the local community. (#1161)
cmp [Tue, 13 Jun 2023 10:34:21 +0000 (05:34 -0500)]
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>
17 months agoFix prompt component (#1223)
SleeplessOne1917 [Tue, 13 Jun 2023 10:33:27 +0000 (10:33 +0000)]
Fix prompt component (#1223)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
17 months agoFix mobile menu collapse bug (#1222)
SleeplessOne1917 [Tue, 13 Jun 2023 02:24:24 +0000 (02:24 +0000)]
Fix mobile menu collapse bug (#1222)

17 months agoMerge pull request #1195 from fheft/fix-button-click-area
SleeplessOne1917 [Mon, 12 Jun 2023 23:11:20 +0000 (23:11 +0000)]
Merge pull request #1195 from fheft/fix-button-click-area

Fix unclickable button paddings

17 months agoMerge branch 'main' into fix-button-click-area
SleeplessOne1917 [Mon, 12 Jun 2023 23:02:28 +0000 (23:02 +0000)]
Merge branch 'main' into fix-button-click-area

17 months agoMerge pull request #1210 from alectrocute/avatar-aspect-ratio-fix
SleeplessOne1917 [Mon, 12 Jun 2023 21:15:18 +0000 (21:15 +0000)]
Merge pull request #1210 from alectrocute/avatar-aspect-ratio-fix

Fix avatar/icon aspect ratio

17 months agoMerge branch 'main' into avatar-aspect-ratio-fix
SleeplessOne1917 [Mon, 12 Jun 2023 21:12:49 +0000 (21:12 +0000)]
Merge branch 'main' into avatar-aspect-ratio-fix

17 months agoAnother try at sanitize. (#1208)
Dessalines [Mon, 12 Jun 2023 20:17:57 +0000 (16:17 -0400)]
Another try at sanitize. (#1208)

* Sanitize again.

* Adding sanitize json function.

* Using serialize instead.

17 months agoremove unused theme files (#1202)
Raymond Berger [Mon, 12 Jun 2023 18:57:52 +0000 (20:57 +0200)]
remove unused theme files (#1202)

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
17 months agoissue templates in yml format (#1211)
Raymond Berger [Mon, 12 Jun 2023 18:49:53 +0000 (20:49 +0200)]
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

17 months agoMake preview button say "edit" when in preview mode (#1164)
SleeplessOne1917 [Mon, 12 Jun 2023 18:14:03 +0000 (18:14 +0000)]
Make preview button say "edit" when in preview mode (#1164)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
17 months agoAdd shortcut for submitting post (#1163)
SleeplessOne1917 [Mon, 12 Jun 2023 18:13:33 +0000 (18:13 +0000)]
Add shortcut for submitting post (#1163)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
17 months agoMerge branch 'main' into avatar-aspect-ratio-fix
Alec Armbruster [Mon, 12 Jun 2023 17:10:25 +0000 (13:10 -0400)]
Merge branch 'main' into avatar-aspect-ratio-fix

17 months agoformat with prettier
Alec Armbruster [Mon, 12 Jun 2023 17:09:50 +0000 (13:09 -0400)]
format with prettier

17 months agoadd .img-cover class, implement
Alec Armbruster [Mon, 12 Jun 2023 17:00:18 +0000 (13:00 -0400)]
add .img-cover class, implement

17 months agoMerge branch 'main' into fix-button-click-area
SleeplessOne1917 [Mon, 12 Jun 2023 14:33:28 +0000 (14:33 +0000)]
Merge branch 'main' into fix-button-click-area

17 months agoFix typo in post-listing.tsx (#1181)
Ikko Eltociear Ashimine [Mon, 12 Jun 2023 14:05:36 +0000 (23:05 +0900)]
Fix typo in post-listing.tsx (#1181)

recieve -> receive

17 months agoFixed unclickable button paddings
Florian Heft [Mon, 12 Jun 2023 08:30:37 +0000 (10:30 +0200)]
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

17 months agoMerge pull request #1176 from MageJohn/main
SleeplessOne1917 [Mon, 12 Jun 2023 08:50:16 +0000 (08:50 +0000)]
Merge pull request #1176 from MageJohn/main

17 months agoSet html lang attr to the interface language
Yuri Pieters [Sun, 11 Jun 2023 15:21:41 +0000 (16:21 +0100)]
Set html lang attr to the interface language

17 months agoMerge pull request #1185 from MageJohn/run-prettier
SleeplessOne1917 [Sun, 11 Jun 2023 23:24:43 +0000 (23:24 +0000)]
Merge pull request #1185 from MageJohn/run-prettier

17 months agoRun prettier
Yuri Pieters [Sun, 11 Jun 2023 21:47:57 +0000 (22:47 +0100)]
Run prettier

17 months agoMerge pull request #1173 from alectrocute/collapse-expand-align-comment
SleeplessOne1917 [Sun, 11 Jun 2023 14:16:38 +0000 (14:16 +0000)]
Merge pull request #1173 from alectrocute/collapse-expand-align-comment

Left-align comment collapse/expand button

17 months agoMerge branch 'collapse-expand-align-comment' of https://github.com/alectrocute/lemmy...
Alec Armbruster [Sun, 11 Jun 2023 14:06:27 +0000 (10:06 -0400)]
Merge branch 'collapse-expand-align-comment' of https://github.com/alectrocute/lemmy-ui into collapse-expand-align-comment

17 months agomake suggested change
Alec Armbruster [Sun, 11 Jun 2023 14:06:10 +0000 (10:06 -0400)]
make suggested change

17 months agoMerge branch 'main' into collapse-expand-align-comment
SleeplessOne1917 [Sun, 11 Jun 2023 14:01:24 +0000 (14:01 +0000)]
Merge branch 'main' into collapse-expand-align-comment

17 months agomove expand/collapse button
Alec Armbruster [Sun, 11 Jun 2023 13:53:08 +0000 (09:53 -0400)]
move expand/collapse button

17 months agoMerge pull request #1170 from MageJohn/main
SleeplessOne1917 [Sun, 11 Jun 2023 13:19:50 +0000 (13:19 +0000)]
Merge pull request #1170 from MageJohn/main

17 months agoSpecify package manager version in package.json
Yuri Pieters [Sun, 11 Jun 2023 12:37:53 +0000 (13:37 +0100)]
Specify package manager version in package.json

This setting is picked up by Corepack, and it's a way for others to concretely know which package manager they should use.

17 months agoMerge pull request #1145 from Adam-Shea/main
SleeplessOne1917 [Sat, 10 Jun 2023 12:15:03 +0000 (12:15 +0000)]
Merge pull request #1145 from Adam-Shea/main

Added additional keybinds

17 months agoRemove unnecessary comments
Adam Shea [Sat, 10 Jun 2023 12:12:48 +0000 (12:12 +0000)]
Remove unnecessary comments

17 months agoAdded additional keybinds
Adam Shea [Sat, 10 Jun 2023 09:15:22 +0000 (09:15 +0000)]
Added additional keybinds

17 months agoMerge pull request #1125 from skspade/1078-language-select-disable-warning
SleeplessOne1917 [Sat, 10 Jun 2023 01:00:34 +0000 (01:00 +0000)]
Merge pull request #1125 from skspade/1078-language-select-disable-warning

fix: Adds ability to hide language warning

17 months agoMerge branch 'main' into 1078-language-select-disable-warning
SleeplessOne1917 [Sat, 10 Jun 2023 00:58:04 +0000 (00:58 +0000)]
Merge branch 'main' into 1078-language-select-disable-warning

17 months agoMerge pull request #1140 from fheft/hide_saved_profile_tab
SleeplessOne1917 [Sat, 10 Jun 2023 00:50:14 +0000 (00:50 +0000)]
Merge pull request #1140 from fheft/hide_saved_profile_tab

Only show 'saved' tab on own profile page

17 months agoOnly show 'saved' tab on own profile page
Florian Heft [Fri, 9 Jun 2023 23:08:08 +0000 (01:08 +0200)]
Only show 'saved' tab on own profile page

* Users can't view saved posts of other users.
* fixes #1090

17 months agoMerge pull request #1136 from Adam-Shea/main
SleeplessOne1917 [Fri, 9 Jun 2023 22:29:47 +0000 (22:29 +0000)]
Merge pull request #1136 from Adam-Shea/main

17 months agoAdded Ctrl-K keybind
Adam Shea [Fri, 9 Jun 2023 21:30:12 +0000 (21:30 +0000)]
Added Ctrl-K keybind

17 months agoMerge branch 'main' into 1078-language-select-disable-warning
SleeplessOne1917 [Fri, 9 Jun 2023 16:41:28 +0000 (16:41 +0000)]
Merge branch 'main' into 1078-language-select-disable-warning

17 months agoFix quotes (#1131)
Nutomic [Fri, 9 Jun 2023 13:00:45 +0000 (15:00 +0200)]
Fix quotes (#1131)

Need to replace before rendering markdown, not after

17 months agoAlternative way to sanitize isoData (#1129)
Nutomic [Fri, 9 Jun 2023 12:17:02 +0000 (14:17 +0200)]
Alternative way to sanitize isoData (#1129)

* Alternative way to sanitize isoData

* use split/join instead of replaceAll

* Use sanitize, then restore > chars for markdown render

17 months agochore: switched to enabling language warning by prop rather than disabling
Sean Spade [Fri, 9 Jun 2023 03:29:24 +0000 (23:29 -0400)]
chore: switched to enabling language warning by prop rather than disabling

17 months agofix: Adds ability to hide language warning
Sean Spade [Thu, 8 Jun 2023 23:42:39 +0000 (19:42 -0400)]
fix: Adds ability to hide language warning

17 months agoMerge pull request #1118 from mr00z/main
SleeplessOne1917 [Thu, 8 Jun 2023 19:34:34 +0000 (19:34 +0000)]
Merge pull request #1118 from mr00z/main

17 months agostyles(#1067): Run prettier
Marcin Mróz [Thu, 8 Jun 2023 19:08:28 +0000 (21:08 +0200)]
styles(#1067): Run prettier

17 months agofix(#1067): Fix language not updating when editing post
Marcin Mróz [Thu, 8 Jun 2023 18:48:32 +0000 (20:48 +0200)]
fix(#1067): Fix language not updating when editing post

17 months agoFix isoData can contain user generated content (#1114)
0xDEADCADE [Thu, 8 Jun 2023 15:15:03 +0000 (15:15 +0000)]
Fix isoData can contain user generated content (#1114)

* Fix isoData can contain user generated content

* Fix formatting

17 months agoMerge pull request #1092 from thomasdouwes/patch-1
SleeplessOne1917 [Tue, 6 Jun 2023 13:15:47 +0000 (13:15 +0000)]
Merge pull request #1092 from thomasdouwes/patch-1

17 months agoAdd media-src * to Content-Security-Policy header
Thomas [Tue, 6 Jun 2023 12:45:17 +0000 (13:45 +0100)]
Add media-src * to Content-Security-Policy header

17 months agoMerge pull request #1089 from jwhitmarsh/fix/1039
SleeplessOne1917 [Mon, 5 Jun 2023 23:30:31 +0000 (23:30 +0000)]
Merge pull request #1089 from jwhitmarsh/fix/1039

Refactor lets to consts

17 months agoMerge branch 'main' into fix/1039
SleeplessOne1917 [Mon, 5 Jun 2023 23:27:50 +0000 (23:27 +0000)]
Merge branch 'main' into fix/1039

17 months agoMerge pull request #1088 from jwhitmarsh/fix/1079
SleeplessOne1917 [Mon, 5 Jun 2023 23:26:23 +0000 (23:26 +0000)]
Merge pull request #1088 from jwhitmarsh/fix/1079

Fix aria-label for language select

17 months agoRefactor lets to consts
James Whitmarsh [Mon, 5 Jun 2023 21:31:12 +0000 (22:31 +0100)]
Refactor lets to consts

17 months agoFix aria-label for language select
James Whitmarsh [Mon, 5 Jun 2023 21:06:54 +0000 (22:06 +0100)]
Fix aria-label for language select

17 months agoAdd aria attribute to track toggle status of up/down votes. (#1074)
SleeplessOne1917 [Mon, 5 Jun 2023 15:49:03 +0000 (15:49 +0000)]
Add aria attribute to track toggle status of up/down votes. (#1074)

17 months agoMerge pull request #1063 from mezzode/fix-sorting-help-url
SleeplessOne1917 [Sat, 3 Jun 2023 19:34:10 +0000 (19:34 +0000)]
Merge pull request #1063 from mezzode/fix-sorting-help-url

Fix sorting help link

17 months agoMerge branch 'main' into fix-sorting-help-url
SleeplessOne1917 [Sat, 3 Jun 2023 19:32:06 +0000 (19:32 +0000)]
Merge branch 'main' into fix-sorting-help-url

17 months agoMerge pull request #1064 from mezzode/fix-contributing-link
SleeplessOne1917 [Sat, 3 Jun 2023 19:25:13 +0000 (19:25 +0000)]
Merge pull request #1064 from mezzode/fix-contributing-link

Fix CONTRIBUTING link

17 months agoFix CONTRIBUTING link
mezzode [Sat, 3 Jun 2023 05:25:40 +0000 (22:25 -0700)]
Fix CONTRIBUTING link

17 months agoFix sorting help link
mezzode [Sat, 3 Jun 2023 05:18:00 +0000 (22:18 -0700)]
Fix sorting help link

17 months agoDo not refresh when community is selected in create post (#1042)
SleeplessOne1917 [Mon, 29 May 2023 13:01:52 +0000 (13:01 +0000)]
Do not refresh when community is selected in create post (#1042)

17 months agoUpdate translations (#1041)
SleeplessOne1917 [Mon, 29 May 2023 10:07:31 +0000 (10:07 +0000)]
Update translations (#1041)

17 months agoMerge pull request #1036 from LemmyNet/language-tag-changes
SleeplessOne1917 [Sun, 28 May 2023 23:01:43 +0000 (23:01 +0000)]
Merge pull request #1036 from LemmyNet/language-tag-changes

Changes to language tag

17 months agoremove badge-muted
Felix Ableitner [Thu, 25 May 2023 08:52:00 +0000 (10:52 +0200)]
remove badge-muted

17 months agoMerge branch 'main' into language-tag-changes
SleeplessOne1917 [Wed, 24 May 2023 13:34:04 +0000 (13:34 +0000)]
Merge branch 'main' into language-tag-changes

17 months agoMerge pull request #1031 from SleeplessOne1917/rate-limiting-tab
SleeplessOne1917 [Wed, 24 May 2023 13:33:05 +0000 (13:33 +0000)]
Merge pull request #1031 from SleeplessOne1917/rate-limiting-tab

Rate limiting tab

17 months agoMerge branch 'main' into rate-limiting-tab
SleeplessOne1917 [Wed, 24 May 2023 13:31:12 +0000 (13:31 +0000)]
Merge branch 'main' into rate-limiting-tab

17 months agouse badge-muted
Felix Ableitner [Wed, 24 May 2023 10:22:24 +0000 (12:22 +0200)]
use badge-muted

17 months agoNavbar fix 2 (#1038)
SleeplessOne1917 [Wed, 24 May 2023 00:42:19 +0000 (00:42 +0000)]
Navbar fix 2 (#1038)

* Fix navbar not closing on mobile when it should

* Get rid of unnecessary HTML tags

* Forgot to include this

17 months agoMerge branch 'rate-limiting-tab' of https://github.com/SleeplessOne1917/lemmy-ui...
abias [Tue, 23 May 2023 23:31:58 +0000 (19:31 -0400)]
Merge branch 'rate-limiting-tab' of https://github.com/SleeplessOne1917/lemmy-ui into rate-limiting-tab

17 months agoAdd translations
abias [Tue, 23 May 2023 23:31:33 +0000 (19:31 -0400)]
Add translations

17 months agoMerge branch 'main' into rate-limiting-tab
abias [Tue, 23 May 2023 23:14:44 +0000 (19:14 -0400)]
Merge branch 'main' into rate-limiting-tab

17 months agoMerge pull request #1024 from SleeplessOne1917/nicer-error-hnadling
SleeplessOne1917 [Tue, 23 May 2023 23:09:41 +0000 (23:09 +0000)]
Merge pull request #1024 from SleeplessOne1917/nicer-error-hnadling

Nicer error handling

17 months agoMerge branch 'main' into nicer-error-hnadling
SleeplessOne1917 [Tue, 23 May 2023 23:07:23 +0000 (23:07 +0000)]
Merge branch 'main' into nicer-error-hnadling

17 months agoMerge branch 'main' into rate-limiting-tab
SleeplessOne1917 [Tue, 23 May 2023 23:06:38 +0000 (23:06 +0000)]
Merge branch 'main' into rate-limiting-tab

17 months agoLint fix (#1035)
SleeplessOne1917 [Tue, 23 May 2023 22:55:36 +0000 (22:55 +0000)]
Lint fix (#1035)

* User HTTP instead of HTTPS when fetching icon in docker internal network

* Add debug statement.

* Revert "Add debug statement."

This reverts commit 7fbb12a4bde29d72c1bf55e0d0a954f19c863b4a.

* Revert "User HTTP instead of HTTPS when fetching icon in docker internal network"

This reverts commit 498de660bac1bffe15fef74a898c6d669794196a.

* Always replace host with internal host

* Fix lint script

* Remove prettier from pre-commit

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
17 months agoChanges to language tag
Felix Ableitner [Tue, 23 May 2023 20:16:54 +0000 (22:16 +0200)]
Changes to language tag

- Dont use bright white color because its not that important
- Hide tag in case of undetermined (doesnt add any information)

17 months agoHopefully stop lint command from erroring
abias [Tue, 23 May 2023 12:34:20 +0000 (08:34 -0400)]
Hopefully stop lint command from erroring

17 months agoMerge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy...
abias [Tue, 23 May 2023 12:10:28 +0000 (08:10 -0400)]
Merge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy-ui into nicer-error-hnadling

17 months agoRun prettier
abias [Tue, 23 May 2023 12:10:13 +0000 (08:10 -0400)]
Run prettier

17 months agoMerge branch 'main' into nicer-error-hnadling
SleeplessOne1917 [Tue, 23 May 2023 12:07:08 +0000 (12:07 +0000)]
Merge branch 'main' into nicer-error-hnadling

17 months agoMerge branch 'main' into nicer-error-hnadling
abias [Tue, 23 May 2023 12:01:09 +0000 (08:01 -0400)]
Merge branch 'main' into nicer-error-hnadling

17 months agoAlways replace host with internal host
abias [Mon, 22 May 2023 23:15:11 +0000 (19:15 -0400)]
Always replace host with internal host

17 months agoRevert "User HTTP instead of HTTPS when fetching icon in docker internal network"
abias [Mon, 22 May 2023 22:42:05 +0000 (18:42 -0400)]
Revert "User HTTP instead of HTTPS when fetching icon in docker internal network"

This reverts commit 498de660bac1bffe15fef74a898c6d669794196a.

17 months agoRevert "Add debug statement."
abias [Mon, 22 May 2023 22:41:33 +0000 (18:41 -0400)]
Revert "Add debug statement."

This reverts commit 7fbb12a4bde29d72c1bf55e0d0a954f19c863b4a.

17 months agoAdd debug statement.
abias [Mon, 22 May 2023 22:15:44 +0000 (18:15 -0400)]
Add debug statement.

17 months agoUser HTTP instead of HTTPS when fetching icon in docker internal network
abias [Mon, 22 May 2023 22:10:16 +0000 (18:10 -0400)]
User HTTP instead of HTTPS when fetching icon in docker internal network

17 months agoAdd error message paragraph
abias [Mon, 22 May 2023 16:57:52 +0000 (12:57 -0400)]
Add error message paragraph

17 months agoMerge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy...
abias [Mon, 22 May 2023 12:38:33 +0000 (08:38 -0400)]
Merge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy-ui into nicer-error-hnadling

17 months agoMake error code always display
abias [Mon, 22 May 2023 12:38:05 +0000 (08:38 -0400)]
Make error code always display

17 months agoMerge branch 'main' into nicer-error-hnadling
abias [Mon, 22 May 2023 11:47:17 +0000 (07:47 -0400)]
Merge branch 'main' into nicer-error-hnadling

17 months agoNavbar hide menu fix (#1033)
SleeplessOne1917 [Mon, 22 May 2023 03:31:08 +0000 (03:31 +0000)]
Navbar hide menu fix (#1033)

* Fix navbar not closing on mobile when it should

* Get rid of unnecessary HTML tags

17 months agoMerge branch 'main' into nicer-error-hnadling
SleeplessOne1917 [Mon, 22 May 2023 02:44:29 +0000 (02:44 +0000)]
Merge branch 'main' into nicer-error-hnadling

17 months agoShow parent comment for comment link. Fixes #1030 (#1032)
Dessalines [Mon, 22 May 2023 01:30:13 +0000 (21:30 -0400)]
Show parent comment for comment link. Fixes #1030 (#1032)

* Show parent comment for comment link. Fixes #1030

* Changing let to const.

17 months agoMerge branch 'rate-limiting-tab' of https://github.com/SleeplessOne1917/lemmy-ui...
abias [Sun, 21 May 2023 19:32:00 +0000 (15:32 -0400)]
Merge branch 'rate-limiting-tab' of https://github.com/SleeplessOne1917/lemmy-ui into rate-limiting-tab

17 months agoAdd heading tag to rate limit form
abias [Sun, 21 May 2023 19:31:42 +0000 (15:31 -0400)]
Add heading tag to rate limit form