Commit graph

232 commits

Author SHA1 Message Date
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
SleeplessOne1917
353d4c7e39
Update post-listing.tsx
Removed unnecessary bootstrap class
2023-06-25 15:13:27 -04:00
SleeplessOne1917
6a69d6b063 Use spae instead of margin 2023-06-25 13:28:00 -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
SleeplessOne1917
c7aa92706b
Merge branch 'main' into feat/vote-components 2023-06-25 06:13:28 +00:00
Jay Sitter
0cc354b264 fix(a11y): Change divs and links to buttons 2023-06-25 01:35:34 -04:00
Jay Sitter
88811f9ecb fix: Fix some Bootstrap 5 font classes 2023-06-25 01:11:27 -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
Jay Sitter
a5c5922408 fix: Fix non-unique ID attribute on re-used element 2023-06-24 18:44:39 -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
8184e33c9f fix: Fix up some interface language logic and design 2023-06-24 00:44:01 -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
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
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
e9341e791b fix: Remove unused prop 2023-06-23 12:14:48 -04:00
Jay Sitter
094429ff1e fix: Rework some vote buttons architecture 2023-06-22 23:48:53 -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
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
Alec Armbruster
7571f7ac69
bandaid fix our video embeds 2023-06-22 14:45:09 -04:00
Jay Sitter
7c13b8dba1 feat: Move vote buttons to separate component 2023-06-22 13:36:38 -04:00
Alec Armbruster
8e767f2331
fix merge conflicts 2023-06-22 09:04:25 -04:00
Alec Armbruster
fc40b473d7
move env utils into folder 2023-06-22 09:02:48 -04:00
Alec Armbruster
98cedb8832
fix capitalization (#1467)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-22 08:58:51 -04:00
Jay Sitter
f0375889d3 feat: Default language dropdowns to user's primary language 2023-06-22 00:54:07 -04:00
SleeplessOne1917
32e1fa747e
Merge branch 'main' into remove-i18-circle 2023-06-22 01:06:23 +00:00
SleeplessOne1917
eae0990442 Fix I18 next circular reference 2023-06-21 20:54:35 -04:00
David Palmer
924e670699
remove embed prefix until a translation can be added 2023-06-22 12:23:36 +12:00
Jay Sitter
bf0f80e798 fix: Add post body preview to desktop post listing view 2023-06-21 19:40:24 -04:00
David Palmer
5109118525
Merge branch 'main' into expand-video-embeds-to-fullwidth 2023-06-22 10:52:56 +12: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
David Palmer
3fca825f1f
Merge branch 'main' into expand-video-embeds-to-fullwidth 2023-06-22 09:25:50 +12:00
3e6236ada3 Cleaning up new comment badge. Fixes #1443 2023-06-21 15:02:23 -04:00
d2f2d7442a Fixing handlePostNsfwChange. 2023-06-21 08:16:11 -04:00
Dessalines
c1e2168a43
Merge branch 'main' into fix/create-post-form-adjustments 2023-06-21 08:07:12 -04:00
SleeplessOne1917
638ab2c462
Com create post (#1431)
* Fix create post for community not having community selected by default

* Fix issue where fields would reset when creating post

* Run prettier and lint
2023-06-21 07:52:32 -04:00
David Palmer
121ed585dc
Merge branch 'main' into expand-video-embeds-to-fullwidth 2023-06-21 16:31:13 +12:00
David Palmer
c16c00db0d
add a prefix to hint to screenreaders what this iframe is 2023-06-21 16:28:27 +12:00
Jay Sitter
deed524a7f fix: Small adjustments to create post form 2023-06-21 00:20:05 -04:00
David Palmer
9858514bb4
wrap video embeds in the ratio container
This should correctly size the embedded video iframe to the full
available width, which looks better and is compatible with mobile
devices.

Also add the "allowfullscreen" modifier to the iframe so that the video
can be expanded to the browser's fullscreen mode.

Also add the post.embed_title as the iframe "title" attribute.
2023-06-21 16:15:02 +12:00