Commit graph

95 commits

Author SHA1 Message Date
Jay Sitter
7be10eb35b Revert #1463, markdown default lang select 2023-06-28 08:44:39 -04:00
Alec Armbruster
874ae62fba
remove hard-coded text foreground color classes (#1658)
Signed-off-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>
2023-06-27 19:08:01 -04:00
Alec Armbruster
8f1b0ad559
refactor 2023-06-27 15:49:14 -04:00
Alec Armbruster
4e161f5f91
refactor again 2023-06-27 15:00:35 -04:00
Alec Armbruster
4944f19143
change me-2 to me-1, no need for me-2 width 2023-06-27 14:39:30 -04:00
Alec Armbruster
f333710077
make mod shrunken label text-primary 2023-06-27 14:36:19 -04:00
Alec Armbruster
0b7e2b7e4d
oops 2023-06-27 14:31:53 -04:00
Alec Armbruster
086052a69a
refactor x2 2023-06-27 14:29:44 -04:00
Alec Armbruster
6d65abc3ee
refactor 2023-06-27 14:10:05 -04:00
Alec Armbruster
c020debf6d
use span 2023-06-27 11:44:17 -04:00
Alec Armbruster
9e1eb5fe19
always show badge on mobile 2023-06-27 11:42:00 -04:00
Alec Armbruster
03a4bfad46
remove toUpperCase since the translation is uppercase 2023-06-26 17:19:34 -04:00
Alec Armbruster
1faa9f354b
add tooltip 2023-06-26 16:49:09 -04:00
Alec Armbruster
b69ad1264d
make post creator badge stand out more 2023-06-26 16:41:14 -04:00
Jay Sitter
8700f65a7c
Merge branch 'main' into chore/fix-unnecessary-string-interpolation 2023-06-26 08:50:54 -04:00
Jay Sitter
d0f6fdbe4a fix: Remove unnecessary string interpolations 2023-06-25 19:36:19 -04:00
SleeplessOne1917
c2b44db2ac Only give child comments colored borders 2023-06-25 15:20:06 -04:00
Jay Sitter
88811f9ecb fix: Fix some Bootstrap 5 font classes 2023-06-25 01:11:27 -04:00
Jay Sitter
93da81c210
Merge branch 'main' into feat/vote-components 2023-06-24 16:33:45 -04:00
Jay Sitter
ffa98c8e3a
Merge branch 'main' into feat/vote-components 2023-06-24 15:00:52 -04:00
Jay Sitter
8184e33c9f fix: Fix up some interface language logic and design 2023-06-24 00:44:01 -04:00
Jay Sitter
35d20491ea
Merge branch 'main' into feat/default-to-user-primary-lang 2023-06-24 00:12:34 -04:00
SleeplessOne1917
e8dda77d4b
Fix comments expanding when they're not supposed to (#1540) 2023-06-24 00:06:19 -04:00
Jay Sitter
ccf0a6dbaa fix: Fix language selection bug 2023-06-23 17:24:07 -04:00
Jay Sitter
bf54d40433 fix: Use Interface Language instead 2023-06-23 17:24:07 -04:00
Jay Sitter
0c87ee9dab
Merge branch 'main' into feat/default-to-user-primary-lang 2023-06-23 15:37:54 -04:00
Jay Sitter
41c9b3baf9 fix: Specify vote content type so buttons work for both comments and posts 2023-06-23 12:14:49 -04:00
Jay Sitter
787a75396b fix!: Try to get Vote Buttons component working in Comments 2023-06-23 12:14:48 -04:00
SleeplessOne1917
d0dff77377 Replace momentjs with date-fns 2023-06-22 19:33:02 -04:00
Jay Sitter
f0375889d3 feat: Default language dropdowns to user's primary language 2023-06-22 00:54:07 -04:00
SleeplessOne1917
eae0990442 Fix I18 next circular reference 2023-06-21 20:54:35 -04:00
Alec Armbruster
043b522ff1
utils.ts organization, round two (#1427)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update src/shared/utils/app/convert-comment-sort-type.ts

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>

* prettier pass

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-21 18:28:24 -04:00
SleeplessOne1917
4da34c1370
Merge branch 'main' into breakout-role-utils 2023-06-20 21:12:18 +00:00
djvs
5033b024f6 component classes v2 2023-06-20 14:46:16 -04:00
Alec Armbruster
b8fd516f02
Merge branch 'main' into breakout-role-utils 2023-06-20 10:17:52 -04:00
Alec Armbruster
e4f9c31cfa
make suggested changes 2023-06-20 10:17:16 -04:00
Jay Sitter
c77086a9d5
feat: Bootstrap 5 (#1378)
* feat: Use Bootstrap 5; remove Bootstrap 4

* feat: Add link decoration override global var

* fix: Change sr-only to visually-hidden

* fix: Fix missing toggle button classes

* fix: Use darker green to pass 3:1 contrast and allow foreground color generation

* fix: Replace all mr- and ml- classes with me- (end) and ms- (start) classes

* fix: Replace all pr- and pl- classes with pe- (end) and ps- (start) classes

* fix: Replace custom-select with form-select d-inline-block

* fix: Change max-width to Bootstrap 4's max-width

* fix: Fix badge colors

* fix: Replace deprecated btn-block class with d-block

* fix: Temporary fix for missing btn-block styles

* fix: Fix margin-left auto and margin-right auto

* fix: Fix default border color

* fix: Fix some button widths

* fix: Fix form row margins

* fix: Remove theme color maps; no longer necessary in Bootstrap 5

* fix: Remove unused gray

* test commit

* fix: Fix deprecated input-group-append usage

* fix: Add missing col-form-label classes

* fix: Fix some column widths

* fix: Fix language dropdown style regression

* fix: Fix toast background color

* fix: Fix missing colors in red themes

* fix: Fix default radio button appearance for toggles

* fix: Fix missing margin in search form

* fix: Fix search form widths

* fix: Fix rate limit form columns

* fix: Fix search filters layout

* fix: Fix weird table background issue; re-compile from main updates

* fix: Fix modlog filter layout

* fix: Fix some horizontal margins

* fix: Fix incorrect usage of input-group

* chore: Empty commit to re-trigger Woodpecker job

* fix: Fix incorrect Bootstrap 5 padding class

* fix: Tighten up the home filter bars for the hell of it

* fix: Fix home filter bar gap

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-20 08:01:29 -04:00
Alec Armbruster
f53d5db007
export default everything, will fix type errors next 2023-06-19 21:12:42 -04:00
Alec Armbruster
3ee47d38b8
Merge branch 'LemmyNet:main' into breakout-role-utils 2023-06-16 18:57:20 -04:00
Zetaphor
a03bee512a Add a class to the more button on a comment node 2023-06-16 18:47:37 -03:00
Alec Armbruster
0854af3794
break out all role utils 2023-06-16 17:07:55 -04:00
Zetaphor
5d7e5cac33 Use article semantic HTML tag for posts/comments 2023-06-16 17:27:41 -03:00
Zetaphor
3ca2bce9f0 Add classes to post and comment repy textareas 2023-06-16 14:10:56 -03:00
abias
b0189658a2 Address PR feedback 2023-06-14 21:14:21 -04:00
abias
ab0805432d Make comment border colors semi-transparent 2023-06-14 20:52:31 -04:00
SleeplessOne1917
31e61e7449
Merge branch 'main' into comment-depth 2023-06-14 23:46:11 +00: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
5f5ef404d2
Fix prompt component (#1223)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-13 06:33:27 -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
6462cd5208 Run prettier 2023-06-11 22:47:57 +01:00