Commit graph

143 commits

Author SHA1 Message Date
Jay Sitter
d0f6fdbe4a fix: Remove unnecessary string interpolations 2023-06-25 19:36:19 -04:00
Jay Sitter
0b6f7ad8f3 Merge remote-tracking branch 'lemmy/main' into fix/fix-font-classes-bs5
* lemmy/main: (35 commits)
  fix(a11y): Fix non-list item being inside ul list in navbar
  fix: Fix non-unique ID attribute on re-used element
  fix: Fix some emoji escape logic
  fix: Button doesn't need tabindex
  fix: Fix incorrect function reference
  fix: Emoji picker can be closed with escape key, other a11y fixes
  fix: Fix some a11y issues on jump to content button
  fix: Clarify a comment
  fix: Fix merge error
  Remove federation worker count
  fix: Add triangle alert icon to language warning
  added litely-compact
  changed where custom compact code goes
  added darkly-compact - issue 552
  Refactor first load handling
  Fix issue when navigating awat from settings
  Give function better name
  Change function name
  Make date distance format use correct verbiage
  Extract date fns setup
  ...
2023-06-25 00:56:12 -04:00
Jay Sitter
83ab9e4d8e fix: Fix some Bootstrap 5 font classes 2023-06-24 18:41:29 -04:00
Alec Armbruster
77ff6b45f7
Merge branch 'main' into emoji-upload-button 2023-06-24 12:24:23 -04:00
cetra3
3158cacc18 Remove federation worker count 2023-06-24 12:56:49 +09:30
SleeplessOne1917
0ad285b166 Fix emojis being unable to save 2023-06-23 22:46:33 -04:00
SleeplessOne1917
0d797a7033 Refactor first load handling 2023-06-23 15:41:10 -04:00
SleeplessOne1917
5e5e05c808 Fix issue when navigating awat from settings 2023-06-23 15:16:04 -04:00
dudeami0
d06d7f8123 Cache post listings and restore listing state when using browser back navigation buttons. 2023-06-23 14:27:35 -04:00
dudeami0
955afeac3c Fix homepage scrollTo(0, 0) failing when document size changes. 2023-06-23 08:54:55 -04:00
Alec Armbruster
d127b5626d
Fix inability to go to Home from Settings (#1506) 2023-06-23 02:46:38 +00:00
Alec Armbruster
63b14accec
rethink it a bit 2023-06-22 11:22:36 -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
Jay Sitter
40eefb0c67
fix(tabs): Fix tab semantics and a11y (#1382)
* fix: Fix tab semantics for Settings page

* fix: Use new tabpanel markup for admin settings

* fix: Remove unused currentTab behavior

* fix: Remove Bootstrap tab JS dependency

* fix: Add tabpanel role to rate limit tab panels

* fix: Fix style of tabs

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-21 08:27:27 -04:00
Jay Sitter
1d0e96dbc4
fix: Remove Bootstrap JS in sidebars (#1434)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-21 08:05:32 -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
69a123b6d8
update imports 2023-06-19 21:48:38 -04:00
Dessalines
02ffa85b58
Merge branch 'main' into breakout-role-utils 2023-06-19 10:04:19 -04:00
SleeplessOne1917
8df8c71a1f
Merge branch 'main' into main 2023-06-18 13:43:12 +00:00
sunaurus
3f80010434
Always allow users to control whether they see NSFW content 2023-06-18 14:05:01 +03:00
Jay Sitter
f702cbd256 fix: Fix build error 2023-06-17 19:27:11 -04:00
Jay Sitter
ffaa3c4fc5 fix: Remove unused var 2023-06-17 19:16:52 -04:00
Jay Sitter
3564c6c379 fix: Fix some small style issues 2023-06-17 17:01:14 -04:00
Jay Sitter
c8758317f7 fix: Fix Trending sidebar card too 2023-06-17 15:32:49 -04:00
Jay Sitter
cf5c8a1c07 fix(a11y): Fix some mobile styles for Sidebar Cards 2023-06-17 15:24:55 -04:00
Jay Sitter
072d253baa fix(a11y): Apply same accordion/collapse markup to Subscribed Communities sidebar card 2023-06-17 15:09:10 -04:00
Jay Sitter
878e0f0f85 fix: Add .accordion wrapper around sidebar to obtain negative bottom margin 2023-06-17 14:24:13 -04:00
Jay Sitter
ff4d37d03a fix(a11y): Fix some a11y issues in Site Sidebar and use native Bootstrap Collapse and Card classes 2023-06-17 13:52:23 -04:00
Alec Armbruster
7f48a38b72
Merge branch 'main' into breakout-role-utils 2023-06-17 08:44:47 -04:00
Jay Sitter
4ec7c26707
Merge branch 'main' into feat/add-badges-common-component 2023-06-16 21:31:03 -05:00
Jay Sitter
8bbb6c9652 Merge remote-tracking branch 'origin/main' into feat/add-badges-common-component
* origin/main:
  handle login failures correctly
  wrap login call in try/catch for error handling
  Remove extra div in post sidebar
  Add a class to the more button on a comment node
  Switch navbar classes to ids
  Adding a few more 0.18.0 API changes. (#1324)
  Use aside semantic HTML tag for sidebars
  Use article semantic HTML tag for posts/comments
  Use footer semantic HTML tag
  Adding codeowners.
  Add lemmy-site class for easier detection
  Add ID's and classes to sidebars
  Add clases and ID's to post form/listing
  Add classes to post and comment repy textareas
  Rename markdown-textarea ID's
  Add nav and footer ID's
2023-06-16 20:35:44 -04:00
Alec Armbruster
3ee47d38b8
Merge branch 'LemmyNet:main' into breakout-role-utils 2023-06-16 18:57:20 -04:00
Jay Sitter
f8f1f49250 feat: Move Badges to common component 2023-06-16 18:31:47 -04:00
SleeplessOne1917
f0a7b58ee3
Merge branch 'main' into route-data-refactor 2023-06-16 22:24:29 +00:00
abias
9fb1a28763 Merge branch 'main' into route-data-refactor 2023-06-16 18:23:06 -04:00
SleeplessOne1917
7e01c9e166
Merge branch 'main' into feature/login-error 2023-06-16 22:21:12 +00:00
ayan4m1
93e3598328 handle login failures correctly 2023-06-16 18:18:36 -04:00
ayan4m1
55512a2eae wrap login call in try/catch for error handling 2023-06-16 18:18:36 -04:00
abias
4d716e039b Merge branch 'main' into route-data-refactor 2023-06-16 18:17:17 -04:00
abias
71336002e7 Fix first loads not working 2023-06-16 18:12:14 -04:00
Alec Armbruster
9c37cea106
Merge branch 'main' into breakout-role-utils 2023-06-16 17:33:46 -04:00
Alec Armbruster
976ed12d07
break out browser and helper methods 2023-06-16 17:25:53 -04:00
SleeplessOne1917
e456121137
Merge branch 'main' into feature/add-ids-and-classes 2023-06-16 21:17:48 +00:00
Alec Armbruster
0854af3794
break out all role utils 2023-06-16 17:07:55 -04:00
Dessalines
e0cc7ba3c3
Adding a few more 0.18.0 API changes. (#1324)
- Removes number_online
2023-06-16 17:06:14 -04:00