Commit graph

102 commits

Author SHA1 Message Date
3e6236ada3 Cleaning up new comment badge. Fixes #1443 2023-06-21 15:02:23 -04:00
Jay Sitter
3574212c76 feat: Hide 'comments' in post listing comments button; icon and title text is clear 2023-06-20 19:53:55 -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
Jay Sitter
5e30e7b1a8 fix: Shrink and normalize some post action button colors and sizes 2023-06-20 00:35:50 -04:00
Alec Armbruster
69a123b6d8
update imports 2023-06-19 21:48:38 -04:00
SleeplessOne1917
41cc3d35ea
Merge branch 'main' into breakout-role-utils 2023-06-20 00:14:00 +00:00
SleeplessOne1917
13df4b9c56
Merge branch 'main' into fix/add-aria-label-to-featured-pins 2023-06-19 23:32:00 +00:00
Dessalines
0c95172993
Merge branch 'main' into breakout-role-utils 2023-06-19 18:48:59 -04:00
Jay Sitter
e8dfaa458a fix: Always show advanced post buttons dropdown 2023-06-19 15:56:55 -04:00
Jay Sitter
94274a1e7f
feat(post): Move post domain beneath post title (#1363)
* feat(post): Move post domain and preview button beneath post title

* fix: Move the 'show body' button back to actions line; only show if there is something to show; add 'active' color

* fix: Fix some margins
2023-06-19 11:26:29 -04:00
Dessalines
02ffa85b58
Merge branch 'main' into breakout-role-utils 2023-06-19 10:04:19 -04:00
ayan4m1
5ccd8922da feat(css): make vertical rhythm more consistent for post listings 2023-06-18 23:55:04 -04:00
Jay Sitter
2348bbbf5b
Merge branch 'main' into fix/fix-post-creator-alignment 2023-06-18 23:45:06 -04:00
Jay Sitter
6e4b2004dd
Merge branch 'main' into fix/add-labels-to-block-report 2023-06-18 23:23:44 -04:00
Jay Sitter
b55cf01e72 Merge remote-tracking branch 'origin/main' into fix/fix-post-creator-alignment
* origin/main:
  fix: Prettier ignore generated themes, as they aren't written by humans
  feat: Badge-ify NSFW and removed by mod title info
2023-06-18 23:18:03 -04:00
Jay Sitter
7f818921d2 fix(post): Fix missing labels on block/report buttons in new dropdown 2023-06-18 16:02:55 -04:00
Jay Sitter
90cd24b8ca fix: Fix post creator text alignment 2023-06-18 12:46:31 -04:00
Jay Sitter
28fd28f6d3 feat: Badge-ify NSFW and removed by mod title info 2023-06-18 10:47:29 -04:00
Jay Sitter
3e0ad0d56d fix: Fix display inline of post title 2023-06-18 10:19:42 -04:00
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
SleeplessOne1917
0668a52daa
Merge branch 'main' into feat/move-advanced-post-menu-into-dropdown 2023-06-18 13:58:51 +00:00
Jay Sitter
cd0a5a60c6 fix: Fix display inline of post title 2023-06-18 00:41:47 -04:00
Jay Sitter
4da9fcdce9 fix: Use btn-sm for advanced menu dropdown buttons 2023-06-17 21:09:43 -04:00
Jay Sitter
bc69e0116c fix: Remove some extra classes on flag/report buttons 2023-06-17 21:04:40 -04:00
Jay Sitter
d0ae0f7543 fix: Fix vertical alignment and border radius of advanced dropdown menu items 2023-06-17 21:02:58 -04:00
Jay Sitter
a7b0e2002d fix(a11y): Add aria-controls for advanced button dropdown 2023-06-17 19:10:53 -04:00
Jay Sitter
c48ee703c0 fix: Fix some button labels and tippy text 2023-06-17 18:28:35 -04:00
Jay Sitter
57ef993b82 fix: Remove unused var 2023-06-17 18:17:22 -04:00
Jay Sitter
086b0c0cc9 feat: Move advanced post menu into dropdown 2023-06-17 18:03:12 -04:00
Jay Sitter
ec1d3726ed fix(a11y): Add aria-label to fetaured pins 2023-06-17 13:08:56 -04:00
Jay Sitter
84887b6feb fix: Only post title should be inside h5, not the additional metadata icons 2023-06-17 12:32:12 -04:00
Alec Armbruster
7f48a38b72
Merge branch 'main' into breakout-role-utils 2023-06-17 08:44:47 -04:00
Jay Sitter
ba3a565d2b fix: Vertically align icons in post listing 2023-06-16 21:50:31 -04:00
Alec Armbruster
3ee47d38b8
Merge branch 'LemmyNet:main' into breakout-role-utils 2023-06-16 18:57:20 -04:00
Alec Armbruster
976ed12d07
break out browser and helper methods 2023-06-16 17:25:53 -04: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
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