Commit graph

1191 commits

Author SHA1 Message Date
Jay Sitter
077603b43e feat: Use plus/minus expand button in title for showing body/preview 2023-06-25 19:10:10 -04:00
Jay Sitter
90b69f8cdd
Merge branch 'main' into chore/separate-mod-button-functions 2023-06-25 18:19:24 -04:00
Jay Sitter
0bab91948c fix: Remove unnecessary class 2023-06-25 18:18:47 -04:00
Jay Sitter
e7889c4f69 fix: Remove unnecessary classes 2023-06-25 18:18:16 -04:00
Jay Sitter
7259472254 fix: Restore removed classes 2023-06-25 18:15:59 -04:00
Jay Sitter
6c2ee399b9 fix: Remove wrapping li's 2023-06-25 18:13:13 -04:00
Jay Sitter
69966369d3 fix: Remove extraneous classes 2023-06-25 18:11:12 -04:00
Jay Sitter
c1e86f43a1 fix: Move things back to where they were 2023-06-25 18:08:26 -04:00
Jay Sitter
ba5cafef08 chore: Separate post mod buttons into functions 2023-06-25 18:01:55 -04:00
Jay Sitter
6b5ea004a6
Merge branch 'main' into fix/wider-max-width-1536 2023-06-25 17:51:21 -04:00
Jay Sitter
6773fe83d8
Merge branch 'main' into feat/toggle-body-1595 2023-06-25 17:50:02 -04:00
Jay Sitter
a9feae7da0 Merge remote-tracking branch 'lemmy/main' into feat/hide-avatars-on-listings
* lemmy/main:
  feat(UI): Fix some link hover colors
2023-06-25 17:49:37 -04:00
Jay Sitter
f4793d2a33
Merge branch 'main' into fix/wider-max-width-1536 2023-06-25 17:41:26 -04:00
Jay Sitter
937dd5f86a feat(UI): Fix some link hover colors 2023-06-25 17:18:25 -04:00
Jay Sitter
528aed7f58 feat(UI): Hide avatars on listings 2023-06-25 16:33:11 -04:00
Jay Sitter
a92dd541a7 feat(UI): Always put post body behind togggle on post listings (home/community) #1595 2023-06-25 16:21:58 -04:00
SleeplessOne1917
c2b44db2ac Only give child comments colored borders 2023-06-25 15:20:06 -04:00
SleeplessOne1917
1ce6eb3284
Merge branch 'main' into csp_media_src_data_urls 2023-06-25 19:16:46 +00:00
SleeplessOne1917
353d4c7e39
Update post-listing.tsx
Removed unnecessary bootstrap class
2023-06-25 15:13:27 -04:00
Dominic Mazzoni
434502c678 CSP should allow data urls for media-src or the audio captcha won't work 2023-06-25 12:12:32 -07:00
Jay Sitter
c9c70065fe
Merge branch 'main' into fix/wider-max-width-1536 2023-06-25 14:05:17 -04:00
Jay Sitter
71b7375773 fix(UI): Make max-width wider, and make sidebar narrower on wide screens #1536 2023-06-25 14:00:55 -04:00
SleeplessOne1917
fe1124ef7d
Merge branch 'main' into new-comment-space 2023-06-25 17:29:02 +00:00
SleeplessOne1917
6a69d6b063 Use spae instead of margin 2023-06-25 13:28:00 -04:00
Alec Armbruster
9f6b48c665
Merge branch 'main' into double-search 2023-06-25 13:18:55 -04:00
SleeplessOne1917
25cab15cfa Fix search request being called twice on search page 2023-06-25 13:07:18 -04:00
Jay Sitter
e4ee7f334f
Merge branch 'main' into bug/cant-set-headers-after-sent-fix 2023-06-25 12:41:28 -04:00
SleeplessOne1917
d8963d9bfe Add margin to new comment text 2023-06-25 12:09:53 -04:00
Alec Armbruster
462c7ab748
handle embedded iframe content better 2023-06-25 11:01:40 -04:00
Alec Armbruster
9938ac6ee4
fix lint error 2023-06-25 10:47:21 -04:00
Alec Armbruster
d1cf01061b
fix error on prod 2023-06-25 10:43:58 -04:00
SleeplessOne1917
c7aa92706b
Merge branch 'main' into feat/vote-components 2023-06-25 06:13:28 +00:00
Jay Sitter
a127eea3d8 fix: Add type=button to buttons 2023-06-25 01:40:21 -04:00
Jay Sitter
3f0f053968 fix: Fix some classes on private message collapse/expand button 2023-06-25 01:37:36 -04:00
Jay Sitter
0cc354b264 fix(a11y): Change divs and links to buttons 2023-06-25 01:35:34 -04:00
Jay Sitter
7aa2860bd6 fix: Remove invalid class 2023-06-25 01:34:49 -04:00
Jay Sitter
731c407e31 Merge remote-tracking branch 'lemmy/main' into feat/vote-components
* lemmy/main:
  fix(a11y): Restore aria-activedescendant
  chore: Empty commit to re-trigger Woodpecker
  fix(a11y): Make foreground of 'remove image button' white
  fix(a11y): Add alt text to emojis form
  fix(a11y): Fix some a11y markup in Searchable Select component
  fix(a11y): Change image remove button to true button element
  fix: Ignore rule for clickaway div; 'Esc' works for this
  fix: Fix another class
  fix: Fix some Bootstrap 5 font classes
2023-06-25 01:15:57 -04:00
Jay Sitter
fa5faf76cf fix: Fix some Bootstrap 5 font classes 2023-06-25 01:12:56 -04:00
Jay Sitter
88811f9ecb fix: Fix some Bootstrap 5 font classes 2023-06-25 01:11:27 -04:00
Jay Sitter
e09b1f53d3 Merge remote-tracking branch 'lemmy/main' into fix/a11y-fixes-2
* lemmy/main: (38 commits)
  chore: Empty commit to re-trigger Woodpecker
  fix(a11y): Fix non-list item being inside ul list in navbar
  fix: Fix non-unique ID attribute on re-used element
  fix: Fix another class
  fix: Fix some Bootstrap 5 font classes
  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
  ...
2023-06-25 01:05:36 -04:00
Jay Sitter
5365d16d62 fix(a11y): Restore aria-activedescendant 2023-06-25 01:03:06 -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
cfd2830d0d
Merge branch 'main' into feat/vote-components 2023-06-25 00:53:48 -04:00
SleeplessOne1917
b770a4ef2e
Merge branch 'main' into emoji-upload-button 2023-06-25 04:50:57 +00:00
SleeplessOne1917
3f7f4e9d2b
Merge branch 'main' into fix/non-list-item-in-navbar 2023-06-25 04:36:20 +00:00
SleeplessOne1917
4630362247
Merge branch 'main' into fix/fix-dropdown-id-unique 2023-06-25 04:33:21 +00:00
SleeplessOne1917
083d7a2f05
Merge branch 'main' into fix/a11y-fixes 2023-06-25 04:29:53 +00:00
SleeplessOne1917
90ee8d3f9b
Merge branch 'main' into emoji-upload-button 2023-06-25 04:27:02 +00:00
Jay Sitter
99de15b10b fix(a11y): Make foreground of 'remove image button' white 2023-06-24 19:58:06 -04:00
Jay Sitter
36c1577718 fix(a11y): Add alt text to emojis form 2023-06-24 19:55:04 -04:00
Jay Sitter
47aafed45f fix(a11y): Fix some a11y markup in Searchable Select component 2023-06-24 19:52:30 -04:00
Jay Sitter
dccfc72e73 fix(a11y): Change image remove button to true button element 2023-06-24 19:44:22 -04:00
Jay Sitter
d3b8943341 fix: Ignore rule for clickaway div; 'Esc' works for this 2023-06-24 19:24:09 -04:00
Jay Sitter
13d0a52dc8 fix(a11y): Fix non-list item being inside ul list in navbar 2023-06-24 18:47:14 -04:00
Jay Sitter
a5c5922408 fix: Fix non-unique ID attribute on re-used element 2023-06-24 18:44:39 -04:00
Jay Sitter
b543ef5ecb fix: Fix another class 2023-06-24 18:43:12 -04:00
Jay Sitter
83ab9e4d8e fix: Fix some Bootstrap 5 font classes 2023-06-24 18:41:29 -04:00
Jay Sitter
93da81c210
Merge branch 'main' into feat/vote-components 2023-06-24 16:33:45 -04:00
Jay Sitter
cf15af7c74
Merge branch 'main' into fix/a11y-fixes 2023-06-24 16:33:17 -04:00
Jay Sitter
f6a40fbb28
Merge branch 'main' into feat/create-private-message-updates 2023-06-24 16:30:35 -04:00
Jay Sitter
b98939dd0f fix: Fix some emoji escape logic 2023-06-24 16:29:41 -04:00
Jay Sitter
b2ef79f5e4 fix: Button doesn't need tabindex 2023-06-24 16:27:29 -04:00
Jay Sitter
2978e18a28 fix: Fix incorrect function reference 2023-06-24 16:23:21 -04:00
Jay Sitter
ffa98c8e3a
Merge branch 'main' into feat/vote-components 2023-06-24 15:00:52 -04:00
Alec Armbruster
77ff6b45f7
Merge branch 'main' into emoji-upload-button 2023-06-24 12:24:23 -04:00
Jay Sitter
5ed7352359 fix: Emoji picker can be closed with escape key, other a11y fixes 2023-06-24 01:58:21 -04:00
Jay Sitter
07c7177a25 fix: Fix some a11y issues on jump to content button 2023-06-24 00:54:22 -04:00
Jay Sitter
8184e33c9f fix: Fix up some interface language logic and design 2023-06-24 00:44:01 -04:00
Jay Sitter
2a5988e0ff Merge remote-tracking branch 'lemmy/main' into feat/create-private-message-updates
* lemmy/main: (21 commits)
  Fix comments expanding when they're not supposed to (#1540)
  Remove federation worker count
  fix: Add triangle alert icon to language warning
  Refactor first load handling
  fix: Add aria-describedby for language warning
  Fix issue when navigating awat from settings
  Give function better name
  Cache post listings and restore listing state when using browser back navigation buttons.
  Change function name
  Make date distance format use correct verbiage
  Extract date fns setup
  Fix homepage `scrollTo(0, 0)` failing when document size changes.
  v0.18.0
  v0.18.0-rc.8
  Moved `!isBrowser()` check to `FirstLoadServer.isFirstLoad`
  Fix server-side rendering after first load.
  Remove unused dep
  Replace momentjs with date-fns
  added litely-compact
  changed where custom compact code goes
  ...
2023-06-24 00:40:18 -04:00
Jay Sitter
a9e6b47ad8 fix: Clarify a comment 2023-06-24 00:38:17 -04:00
Jay Sitter
d70d252209 fix: Fix merge error 2023-06-24 00:33:12 -04:00
cetra3
1b469d7269 Remove federation worker count 2023-06-24 00:15:04 -04:00
Jay Sitter
f8228b5af9 fix: Add triangle alert icon to language warning 2023-06-24 00:15:04 -04:00
dankxiaobong
158535fee3 added litely-compact 2023-06-24 00:15:04 -04:00
dankxiaobong
d7f7dd8689 changed where custom compact code goes 2023-06-24 00:15:04 -04:00
dankxiaobong
c57ca6cb16 added darkly-compact - issue 552 2023-06-24 00:15:03 -04:00
SleeplessOne1917
175d43d067 Refactor first load handling 2023-06-24 00:14:11 -04:00
SleeplessOne1917
9166491544 Fix issue when navigating awat from settings 2023-06-24 00:14:11 -04:00
SleeplessOne1917
6dd871f42d Give function better name 2023-06-24 00:14:11 -04:00
SleeplessOne1917
8bed597fe0 Change function name 2023-06-24 00:14:11 -04:00
SleeplessOne1917
543de49622 Make date distance format use correct verbiage 2023-06-24 00:14:11 -04:00
SleeplessOne1917
40c236eb9d Extract date fns setup 2023-06-24 00:14:10 -04:00
SleeplessOne1917
de3cdb421e Replace momentjs with date-fns 2023-06-24 00:14:10 -04:00
dudeami0
34e70f3128 Cache post listings and restore listing state when using browser back navigation buttons. 2023-06-24 00:14:10 -04:00
dudeami0
f1a5a46f11 Fix homepage scrollTo(0, 0) failing when document size changes. 2023-06-24 00:14:10 -04:00
dudeami0
9aef820542 Moved !isBrowser() check to FirstLoadServer.isFirstLoad 2023-06-24 00:14:10 -04:00
dudeami0
c627678acd Fix server-side rendering after first load. 2023-06-24 00:14:10 -04:00
Jay Sitter
d78514c665 fix: Add aria-describedby for language warning 2023-06-24 00:14:10 -04:00
Jay Sitter
35d20491ea
Merge branch 'main' into feat/default-to-user-primary-lang 2023-06-24 00:12:34 -04:00
Jay Sitter
d735369db0
Update src/shared/components/common/markdown-textarea.tsx
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-24 00:06:40 -04:00
SleeplessOne1917
e8dda77d4b
Fix comments expanding when they're not supposed to (#1540) 2023-06-24 00:06:19 -04:00
Jay Sitter
4959d342bb
Update src/shared/components/common/markdown-textarea.tsx
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-24 00:06:18 -04:00
Jay Sitter
9eb11bb768
Merge branch 'main' into feat/default-to-user-primary-lang 2023-06-23 23:48:48 -04:00
Jay Sitter
5d85e3a7c9 fix: Disable save button if no text is entered 2023-06-23 23:43:49 -04:00
Jay Sitter
7145e0be27 fix: Fix some more private message form stuff 2023-06-23 23:38:39 -04:00
cetra3
3158cacc18 Remove federation worker count 2023-06-24 12:56:49 +09:30
Jay Sitter
b231fd1e5b feat: Clean up the Create Private Message page a bit 2023-06-23 23:13:09 -04:00
SleeplessOne1917
0ad285b166 Fix emojis being unable to save 2023-06-23 22:46:33 -04:00
Jay Sitter
251592c1bf fix: Use simpler syntax for languageId array 2023-06-23 22:09:27 -04:00
SleeplessOne1917
7cbdfce24c
Merge branch 'main' into feat/default-to-user-primary-lang 2023-06-24 00:53:03 +00:00
Jay Sitter
2bd8fdac33 fix: Add triangle alert icon to language warning 2023-06-23 17:50:30 -04:00
SleeplessOne1917
dac0fa50ad
Merge branch 'main' into fix/add-aria-describedby-lang-warn 2023-06-23 21:34:43 +00: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
SleeplessOne1917
64eb18c234
Merge branch 'main' into first-load-refactor 2023-06-23 15:47:51 -04:00
SleeplessOne1917
0d797a7033 Refactor first load handling 2023-06-23 15:41:10 -04:00
Jay Sitter
0c87ee9dab
Merge branch 'main' into feat/default-to-user-primary-lang 2023-06-23 15:37:54 -04:00
dankxiaobong
0fee7cba3b
Merge branch 'LemmyNet:main' into added-darkly-compact-552 2023-06-23 21:33:39 +02:00
Jay Sitter
87e8ce8d79 fix: Add aria-describedby for language warning 2023-06-23 15:20:49 -04:00
SleeplessOne1917
5e5e05c808 Fix issue when navigating awat from settings 2023-06-23 15:16:04 -04:00
dudeami0
cd139e3dd3 Merge branch 'main' into feature/home-scroll-restoration 2023-06-23 14:52:52 -04:00
SleeplessOne1917
2b8ee2fa31 Give function better name 2023-06-23 14:33:26 -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
Jay Sitter
23b0cf001f
Merge branch 'main' into feat/default-to-user-primary-lang 2023-06-23 14:01:40 -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
dudeami0
340a9496dd Fix homepage scrollTo(0, 0) failing when document size changes. 2023-06-23 12:14:49 -04:00
dudeami0
a6a7d28f2d Moved !isBrowser() check to FirstLoadServer.isFirstLoad 2023-06-23 12:14:48 -04:00
dudeami0
a22fda4b6e Fix server-side rendering after first load. 2023-06-23 12:14:48 -04:00
Jay Sitter
787a75396b fix!: Try to get Vote Buttons component working in Comments 2023-06-23 12:14:48 -04:00
Jay Sitter
e9341e791b fix: Remove unused prop 2023-06-23 12:14:48 -04:00
SleeplessOne1917
25e9acee39 Merge branch 'main' into reduce-bundle 2023-06-23 10:39:01 -04:00
SleeplessOne1917
847b71319b Change function name 2023-06-23 10:36:21 -04:00
SleeplessOne1917
8f9b231487 Make date distance format use correct verbiage 2023-06-23 10:33:07 -04:00
SleeplessOne1917
5d664656a2 Extract date fns setup 2023-06-23 10:10:41 -04:00
dudeami0
955afeac3c Fix homepage scrollTo(0, 0) failing when document size changes. 2023-06-23 08:54:55 -04:00
dudeami0
d706b6ba27 Moved !isBrowser() check to FirstLoadServer.isFirstLoad 2023-06-23 01:04:03 -04:00
Jay Sitter
c79894a11c
Merge branch 'main' into feat/vote-components 2023-06-23 00:28:53 -04:00
Jay Sitter
094429ff1e fix: Rework some vote buttons architecture 2023-06-22 23:48:53 -04:00
SleeplessOne1917
a2568a41f3
Merge branch 'main' into reduce-bundle 2023-06-23 03:31:29 +00:00
dudeami0
2c85c87e44 Fix server-side rendering after first load. 2023-06-22 23:30:42 -04:00
Alec Armbruster
e5e8f29c67
Remove noIndent prop from comment nodes on person view (#1491)
* remove noIdent prop from person details comment nodes

* remove noIndent prop from usage in Inbox
2023-06-22 22:56:51 -04:00
Alec Armbruster
d127b5626d
Fix inability to go to Home from Settings (#1506) 2023-06-23 02:46:38 +00:00
SleeplessOne1917
d0dff77377 Replace momentjs with date-fns 2023-06-22 19:33:02 -04:00
Alec Armbruster
91a07e79fc
fix lack of modlog refetch on mount (#1490)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-22 18:44:15 -04:00
Jay Sitter
380d6f877c Merge remote-tracking branch 'origin/main' into feat/vote-components
* origin/main:
  fix: Add post body preview to desktop post listing view
  fix: Fix i18n UserService import issue
2023-06-22 18:10:22 -04:00
Jay Sitter
a9bcf0567d Merge remote-tracking branch 'origin/main' into feat/add-post-body-preview-to-desktop
* origin/main: (40 commits)
  Adding jsit to codeowners.
  Cleanup, only check for /u/ if /c/ and /m/ checks fail
  Rename function to be more generic, since it parses users
  Typescript linter fixes
  bandaid fix our video embeds
  Remove pipe from community link regex
  Add missing classes
  Use shorter regex in community link parser
  Move regex pattern to config
  Update community link markdown parsing
  Fix avatar alignment issue (#1475)
  Omit user-scalable to use default
  Update getHttpBase dependency reference
  Enable users to zoom on mobile
  rethink it a bit
  rethink it a bit
  add fallback style tag
  move env utils into folder
  fix capitalization (#1467)
  Fix buildThemeList() function to ensure no duplicates (#1466)
  ...
2023-06-22 17:37:10 -04:00
Jay Sitter
5648843f4e
Merge branch 'main' into feat/default-to-user-primary-lang 2023-06-22 17:34:20 -04:00
Jay Sitter
1ea33e8c7e fix: Undo some other extraneous changes 2023-06-22 17:32:24 -04:00
Jay Sitter
d0fb7e6147 fix: Undo some extraneous changes 2023-06-22 17:30:48 -04:00
Jay Sitter
7af899ee75 fix: Remove tippy duplicate functions 2023-06-22 17:06:33 -04:00
Jay Sitter
be6ec3692e Merge remote-tracking branch 'origin/main' into feat/vote-components
* origin/main: (26 commits)
  Adding jsit to codeowners.
  Cleanup, only check for /u/ if /c/ and /m/ checks fail
  Rename function to be more generic, since it parses users
  Typescript linter fixes
  bandaid fix our video embeds
  Remove pipe from community link regex
  Add missing classes
  Use shorter regex in community link parser
  Move regex pattern to config
  Update community link markdown parsing
  Fix avatar alignment issue (#1475)
  Omit user-scalable to use default
  Update getHttpBase dependency reference
  Enable users to zoom on mobile
  rethink it a bit
  rethink it a bit
  add fallback style tag
  Add community link class
  prettier
  Add local community link parser plugin for Markdown-It
  ...
2023-06-22 16:56:08 -04:00
SleeplessOne1917
cefea2a554
Merge branch 'main' into main 2023-06-22 20:22:43 +00:00
Alec Armbruster
6af2037625
Merge branch 'main' into fix-video-embeds-on-posts 2023-06-22 15:06:44 -04:00
Zetaphor
d58fd63113 Cleanup, only check for /u/ if /c/ and /m/ checks fail 2023-06-22 16:05:20 -03:00
Zetaphor
7bd90da1f8 Rename function to be more generic, since it parses users 2023-06-22 16:02:27 -03:00
Zetaphor
ade8e1a9ea
Merge branch 'main' into main 2023-06-22 15:53:50 -03:00
Zetaphor
110be607c5 Typescript linter fixes 2023-06-22 15:51:25 -03:00
Alec Armbruster
7571f7ac69
bandaid fix our video embeds 2023-06-22 14:45:09 -04:00
Zetaphor
773eef5126 Remove pipe from community link regex 2023-06-22 15:43:01 -03:00
Zetaphor
d6e9b20a6c Add missing classes 2023-06-22 15:40:06 -03:00