Commit graph

707 commits

Author SHA1 Message Date
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
d735369db0
Update src/shared/components/common/markdown-textarea.tsx
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-24 00:06:40 -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
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
Jay Sitter
b231fd1e5b feat: Clean up the Create Private Message page a bit 2023-06-23 23:13:09 -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
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
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
Alec Armbruster
6af2037625
Merge branch 'main' into fix-video-embeds-on-posts 2023-06-22 15:06:44 -04:00
Alec Armbruster
7571f7ac69
bandaid fix our video embeds 2023-06-22 14:45:09 -04:00
SleeplessOne1917
aa72a7d805
Fix avatar alignment issue (#1475) 2023-06-22 12:52:47 -04:00
Alec Armbruster
5c302cc47e
Merge branch 'main' into grave-scroll-issue-bugfix 2023-06-22 11:28:35 -04:00
Alec Armbruster
63b14accec
rethink it a bit 2023-06-22 11:22:36 -04:00
Ivo Barros
7fc35ff699
Merge branch 'main' into main 2023-06-22 15:36:05 +01: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
Ivo Barros
c06d386337 prettier 2023-06-22 04:52:04 +01:00
Ivo Barros
aa36fe6e5e
Merge branch 'main' into main 2023-06-22 04:23:35 +01:00
Ivo Barros
0beb2a4341 Merge remote-tracking branch 'upstream/main' into main 2023-06-22 02:17:22 +01: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
SleeplessOne1917
1ba0d0f408
Merge branch 'main' into fix_new_comments_badge 2023-06-21 21:14:40 +00:00
Ivo Barros
0e052602ad
Merge branch 'main' into main 2023-06-21 20:45:58 +01:00
3e6236ada3 Cleaning up new comment badge. Fixes #1443 2023-06-21 15:02:23 -04:00
0c78cf22a7 Centering emojimart in view. 2023-06-21 14:44:37 -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
Dessalines
8819cd4976
Merge branch 'main' into fix/1417-communities-search-layout 2023-06-21 08:20:32 -04:00
d2f2d7442a Fixing handlePostNsfwChange. 2023-06-21 08:16:11 -04:00
Dessalines
3e0a32a634
Merge branch 'main' into fix/1417-communities-search-layout 2023-06-21 08:08:23 -04:00
Dessalines
c1e2168a43
Merge branch 'main' into fix/create-post-form-adjustments 2023-06-21 08:07:12 -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
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
Jay Sitter
65703793f6 fix: Fix Communities search/filter header #1417 2023-06-21 00:01:31 -04:00