Commit graph

328 commits

Author SHA1 Message Date
Jay Sitter
32cc2538d4 fix: Remove unnecessary classes 2023-06-26 18:30:30 -04:00
Jay Sitter
984de714cd fix: Restore removed classes 2023-06-26 18:30:30 -04:00
Jay Sitter
bbe897dc01 fix: Remove wrapping li's 2023-06-26 18:30:30 -04:00
Jay Sitter
1db654ecf5 fix: Remove extraneous classes 2023-06-26 18:30:30 -04:00
Jay Sitter
00d7a8dbb7 fix: Move things back to where they were 2023-06-26 18:30:30 -04:00
Jay Sitter
f27bb07fcd chore: Separate post mod buttons into functions 2023-06-26 18:30:30 -04:00
Jay Sitter
d62424d491 Merge remote-tracking branch 'lemmy/main' into fix/wider-max-width-1536
* lemmy/main:
  fix vote button alignment
  Fix feedback on banning an unbanning
  remove icon (#1618)
  Indicate valid and invalid fields in signup form (#1450)
  capitalize button (#1616)
  Move password reset form to separate route, view (#1390)
  feat(UI): Reduce base font size (#1591)
  Fix: missing semantic css classes and html elements (#1583)
2023-06-26 18:24:31 -04:00
Jay Sitter
43253b01d2
Merge branch 'main' into feat/hide-avatars-on-listings 2023-06-26 18:12:04 -04:00
Alec Armbruster
2b1647c9b8
partially revert change 2023-06-26 17:04:19 -04:00
Alec Armbruster
16f2f0d244
remove icon (#1618)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 16:09:11 -04:00
Anansi
cb6ab15254
Fix: missing semantic css classes and html elements (#1583)
* Fix: missing semantic css classes and html elements.

Now all pages have a main and aside element when a sidebar is present to facilitate custom theming. This does not impact the default behavior of the front.

* Fix: re-added communityref on main element

---------

Co-authored-by: 0xAnansi <0xAnansi@omageni.com>
Co-authored-by: Jay Sitter <jsit@users.noreply.github.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 14:51:04 -04:00
Jay Sitter
20d54a7e51 Merge remote-tracking branch 'lemmy/main' into fix/wider-max-width-1536
* lemmy/main:
  fix: Remove unnecessary class
  fix: Remove unnecessary classes
  fix: Restore removed classes
  fix: Remove wrapping li's
  fix: Remove extraneous classes
  fix: Move things back to where they were
  chore: Separate post mod buttons into functions
2023-06-26 14:25:29 -04:00
Alec Armbruster
500a0113c4
Merge branch 'main' into bug/fix-image-collapse-upon-vote 2023-06-26 14:02:16 -04:00
Alec Armbruster
81131d2804
remove hook entirely 2023-06-26 12:16:32 -04:00
Jay Sitter
a6a65d9519
Merge branch 'main' into chore/separate-mod-button-functions 2023-06-26 12:03:26 -04:00
Jay Sitter
b4fdf88915 Merge remote-tracking branch 'lemmy/main' into fix/wider-max-width-1536
* lemmy/main:
  chore(DX): Add prettier to eslint config for use with editors
  fix: Remove unnecessary string interpolations
2023-06-26 11:31:01 -04:00
Alec Armbruster
e6909d4cd1
fix bug collapsing previews when voting 2023-06-26 09:25:00 -04:00
Jay Sitter
c04ce03cf4
Merge branch 'main' into feat/hide-avatars-on-listings 2023-06-26 08:50:41 -04:00
Jay Sitter
c16ff6c187
Merge branch 'main' into feat/toggle-body-1595 2023-06-26 08:50:34 -04:00
Jay Sitter
7999dd1ba8
Merge branch 'main' into fix/wider-max-width-1536 2023-06-26 08:50:12 -04:00
SleeplessOne1917
7f3d1c4ebd
Merge branch 'main' into chore/fix-unnecessary-string-interpolation 2023-06-26 10:18:14 +00:00
Dominic Mazzoni
af2013059b Associate NSFW label with its checkbox 2023-06-25 21:11:23 -07:00
Jay Sitter
4f398d842e fix: Remove unused comment 2023-06-25 22:01:24 -04:00
Jay Sitter
ce3c308961 fix: Fix image/title wrapping on small 2023-06-25 20:06:34 -04:00
Jay Sitter
271425b963 fix: Fix post listing vote/image/title widths 2023-06-25 20:00:43 -04:00
Jay Sitter
a90c34eb7f fix: Fix a too-small thumbnail column 2023-06-25 19:46:27 -04:00
Jay Sitter
d0f6fdbe4a fix: Remove unnecessary string interpolations 2023-06-25 19:36:19 -04:00
Jay Sitter
5fdbaa0dd9 fix: Tidy up divs 2023-06-25 19:29:31 -04:00
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
78e1ab994e
Merge branch 'main' into feat/create-post-file-upload-a11y 2023-06-25 18:20:04 -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
353d4c7e39
Update post-listing.tsx
Removed unnecessary bootstrap class
2023-06-25 15:13:27 -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
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
Jay Sitter
7d44bc4993 Merge remote-tracking branch 'lemmy/main' into feat/create-post-file-upload-a11y
* lemmy/main:
  fix: Add type=button to buttons
  chore: Empty commit to re-trigger Woodpecker
  fix: Fix some Bootstrap 5 font classes
  fix: Fix some Bootstrap 5 font classes
  fix: Specify vote content type so buttons work for both comments and posts
  v0.18.0
  Fix homepage `scrollTo(0, 0)` failing when document size changes.
  v0.18.0-rc.8
  Moved `!isBrowser()` check to `FirstLoadServer.isFirstLoad`
  Fix server-side rendering after first load.
  fix!: Try to get Vote Buttons component working in Comments
  fix: Remove unused prop
  fix: Rework some vote buttons architecture
  fix: Undo some other extraneous changes
  fix: Undo some extraneous changes
  fix: Remove tippy duplicate functions
  fix: Revert to old mobile vote style
  feat: Move vote buttons to separate component
2023-06-25 02:27:37 -04:00
Jay Sitter
dc43c51b0d fix(a11y): Change the look and behavior of some file upload fields 2023-06-25 02:27:07 -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
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
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
697df71b2d
Merge branch 'breakout-role-utils' of https://github.com/alectrocute/lemmy-ui into breakout-role-utils 2023-06-20 10:21:41 -04:00