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
Zetaphor
73147ae37c
Use shorter regex in community link parser
2023-06-22 15:33:45 -03:00
Zetaphor
fc0c063426
Move regex pattern to config
2023-06-22 15:17:34 -03:00
Jay Sitter
443c128e05
fix: Revert to old mobile vote style
2023-06-22 14:02:15 -04:00
Jay Sitter
7c13b8dba1
feat: Move vote buttons to separate component
2023-06-22 13:36:38 -04:00
Zetaphor
c5779cd9b1
Update community link markdown parsing
...
Remove links without remote servers, add kbin support, add user support
2023-06-22 14:28:32 -03:00
SleeplessOne1917
732d40493f
Merge branch 'main' into enable-zoom
2023-06-22 16:53:43 +00:00
SleeplessOne1917
aa72a7d805
Fix avatar alignment issue ( #1475 )
2023-06-22 12:52:47 -04:00
SleeplessOne1917
a9c3c5d0f8
Merge branch 'enable-zoom' of https://github.com/LemmyNet/lemmy-ui into enable-zoom
2023-06-22 12:50:42 -04:00
SleeplessOne1917
51a6681d15
Omit user-scalable to use default
2023-06-22 12:50:05 -04:00
Zetaphor
07235d7a5b
Update getHttpBase dependency reference
2023-06-22 13:44:43 -03:00
Zetaphor
8eb588da1b
Merge branch 'main' into main
2023-06-22 13:38:04 -03:00
SleeplessOne1917
e76513acd1
Merge branch 'main' into enable-zoom
2023-06-22 16:31:19 +00:00
SleeplessOne1917
955ca826cd
Enable users to zoom on mobile
2023-06-22 12:28:27 -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
bf5564f3f8
Merge branch 'main' into main
2023-06-22 16:08:04 +01:00
dankxiaobong
37ac318806
Merge branch 'main' into added-darkly-compact-552
2023-06-22 16:53:00 +02:00
Alec Armbruster
a1d935991b
rethink it a bit
2023-06-22 10:43:03 -04:00
Ivo Barros
7fc35ff699
Merge branch 'main' into main
2023-06-22 15:36:05 +01:00
Alec Armbruster
5512ee205a
add fallback style tag
2023-06-22 10:32:39 -04:00
Zetaphor
8a64322c3b
Merge branch 'main' into main
2023-06-22 11:07:21 -03: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
Scott
0247f8a2cf
Fix buildThemeList() function to ensure no duplicates ( #1466 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-22 08:55:11 -04:00
Alec Armbruster
9fc3da0264
Fix grave ReferenceError: fetch is not defined
error ( #1460 )
...
* use cross-fetch
* remove from utils usage
2023-06-22 07:42:57 -04:00
dankxiaobong
dfe394adca
Merge branch 'LemmyNet:main' into added-darkly-compact-552
2023-06-22 12:29:01 +02:00
Jay Sitter
f0375889d3
feat: Default language dropdowns to user's primary language
2023-06-22 00:54:07 -04:00
Zetaphor
02717be15c
Add community link class
2023-06-22 01:07:33 -03:00
Ivo Barros
c06d386337
prettier
2023-06-22 04:52:04 +01:00
Zetaphor
92482cbe6b
Add local community link parser plugin for Markdown-It
2023-06-22 00:48:09 -03:00
Ivo Barros
aa36fe6e5e
Merge branch 'main' into main
2023-06-22 04:23:35 +01:00
SleeplessOne1917
cda9bd0a79
Regenerate manifest on HTTPBase external change ( #1459 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-21 22:45:21 -04: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
3664b0600b
(Hopefully) fix webmanifest different origin issue ( #1457 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-21 21:04:28 -04:00
SleeplessOne1917
090adeece5
Merge branch 'main' into expand-video-embeds-to-fullwidth
2023-06-22 00:56:01 +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
SleeplessOne1917
8ffe153f63
Merge branch 'main' into fix/fix-i18n-user-service-import
2023-06-21 23:27:07 +00:00
Jay Sitter
8e711c6b54
fix: Fix i18n UserService import issue
2023-06-21 19:26:51 -04:00
Jay Sitter
3f4f319160
fix: Fix i18n UserService import issue
2023-06-21 19:24:01 -04:00
David Palmer
5109118525
Merge branch 'main' into expand-video-embeds-to-fullwidth
2023-06-22 10:52:56 +12:00
91ab497e95
Merge branch 'main' into remove_markdown_it_emoji
2023-06-21 18:31:53 -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
David Palmer
3fca825f1f
Merge branch 'main' into expand-video-embeds-to-fullwidth
2023-06-22 09:25:50 +12:00
SleeplessOne1917
9c88c68e2f
Merge branch 'main' into remove_markdown_it_emoji
2023-06-21 21:16:17 +00:00
SleeplessOne1917
1ba0d0f408
Merge branch 'main' into fix_new_comments_badge
2023-06-21 21:14:40 +00:00
SleeplessOne1917
6052f4d6dc
Merge branch 'main' into remove_markdown_it_emoji
2023-06-21 21:09:38 +00:00
SleeplessOne1917
a1ead2b90f
Merge branch 'main' into fix_new_comments_badge
2023-06-21 21:06:14 +00:00
SleeplessOne1917
6c2fc35450
Merge branch 'main' into center_emojis
2023-06-21 20:42:18 +00:00
Ivo Barros
0e052602ad
Merge branch 'main' into main
2023-06-21 20:45:58 +01:00
Dessalines
5c55b41971
Upgrade lemmy-js-client to 0.18.0-rc.2
( #1445 )
...
* Updating translations.
* Upgrading lemmy-js-client.
2023-06-21 15:08:21 -04:00
3e6236ada3
Cleaning up new comment badge. Fixes #1443
2023-06-21 15:02:23 -04:00
9480e6337b
Commenting out markdown_it_emoji, because it breaks bolds.
...
- Fixes #1439
2023-06-21 14:46:29 -04:00
0c78cf22a7
Centering emojimart in view.
2023-06-21 14:44:37 -04:00
dankxiaobong
c5542e9e9c
Merge branch 'LemmyNet:main' into added-darkly-compact-552
2023-06-21 17:24:15 +02:00
101b830d87
Remove docs translations from links ( #1441 )
...
See https://github.com/LemmyNet/lemmy-docs/pull/223
There are redirects in place so this is not urgent.
2023-06-21 10:41:08 -04:00
dankxiaobong
a8320c2fa4
Merge branch 'main' into added-darkly-compact-552
2023-06-21 16:29:01 +02: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
dankxiaobong
376ca28f1d
Merge branch 'main' into added-darkly-compact-552
2023-06-21 14:22:22 +02: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
3db4fdddcd
Store manifest in memory so it does not need to be generated for every page request ( #1433 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-21 07:55:27 -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
dankxiaobong
1c0f4f6002
added litely-compact
2023-06-21 13:46:31 +02:00
dankxiaobong
6d13c84f69
changed where custom compact code goes
2023-06-21 12:29:00 +02:00
dankxiaobong
d56aeb95ca
added darkly-compact - issue 552
2023-06-21 11:19:30 +02: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
SleeplessOne1917
dd9838a7a7
Merge branch 'main' into feat/shorten-comments-button-text
2023-06-21 00:27:52 +00:00
Ivo Barros
747bc943a9
refactor if into switch case
2023-06-21 01:21:14 +01:00
Ivo Barros
ced7b887d2
Merge branch 'main' of github.com:L3v3L/lemmy-ui into main
2023-06-21 01:19:33 +01:00
SleeplessOne1917
bc658a80a4
Fix mobile navbar bug ( #1428 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-20 20:09:45 -04: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
n3oney
a7d91d3f2c
Merge branch 'main' into patch-1
2023-06-21 00:40:25 +02:00
Ivo Barros
a07fc75972
Merge branch 'main' into main
2023-06-20 23:07:57 +01:00
SleeplessOne1917
4da34c1370
Merge branch 'main' into breakout-role-utils
2023-06-20 21:12:18 +00:00
SleeplessOne1917
5960b85e46
Merge branch 'main' into feat/component-classes-v2
2023-06-20 21:09:17 +00:00
Alec Armbruster
671d903166
fix main.css vars ( #1424 )
2023-06-20 17:01:35 -04:00
Alec Armbruster
cc4ecb585e
forgot an import
2023-06-20 15:51:37 -04: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
Alec Armbruster
2d4c9dd1c2
make suggested changes
2023-06-20 10:21:31 -04:00
Alec Armbruster
b8fd516f02
Merge branch 'main' into breakout-role-utils
2023-06-20 10:17:52 -04:00
Alec Armbruster
b874eaa38d
Merge branch 'breakout-role-utils' of https://github.com/alectrocute/lemmy-ui into breakout-role-utils
2023-06-20 10:17:29 -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
SleeplessOne1917
4807619b6c
Merge branch 'main' into fix/fix-post-action-button-sizes
2023-06-20 11:10:29 +00:00
sunaurus
c9b48e4980
Fix redirect after successful password reset
2023-06-20 13:45:40 +03:00
Jay Sitter
5e30e7b1a8
fix: Shrink and normalize some post action button colors and sizes
2023-06-20 00:35:50 -04:00
Alec Armbruster
79bdb7e8e8
Merge branch 'main' into breakout-role-utils
2023-06-19 21:49:01 -04:00
Alec Armbruster
69a123b6d8
update imports
2023-06-19 21:48:38 -04:00
Alec Armbruster
b4ac5b9f56
Merge branch 'breakout-role-utils' of https://github.com/alectrocute/lemmy-ui into breakout-role-utils
2023-06-19 21:12:59 -04:00
Alec Armbruster
f53d5db007
export default everything, will fix type errors next
2023-06-19 21:12:42 -04:00
SleeplessOne1917
33cbc8b50e
Merge branch 'main' into fix_language_select_custom
2023-06-20 00:21:43 +00:00
SleeplessOne1917
41cc3d35ea
Merge branch 'main' into breakout-role-utils
2023-06-20 00:14:00 +00:00
SleeplessOne1917
fd2e8fb90a
Merge branch 'main' into fix/fix-wrong-litely-red-import
2023-06-20 00:08:51 +00:00
SleeplessOne1917
13df4b9c56
Merge branch 'main' into fix/add-aria-label-to-featured-pins
2023-06-19 23:32:00 +00:00
Alec Armbruster
b1b0fdf5f8
fix missing imports
2023-06-19 19:10:53 -04:00
Dessalines
0c95172993
Merge branch 'main' into breakout-role-utils
2023-06-19 18:48:59 -04:00
Jay Sitter
7dc06199f2
fix: Litely Red was importing the wrong vars
2023-06-19 17:21:08 -04:00
Jay Sitter
e8dfaa458a
fix: Always show advanced post buttons dropdown
2023-06-19 15:56:55 -04:00
b7da6851aa
Fixing missing class for language select.
2023-06-19 11:53:18 -04:00
Jay Sitter
94274a1e7f
feat(post): Move post domain beneath post title ( #1363 )
...
* feat(post): Move post domain and preview button beneath post title
* fix: Move the 'show body' button back to actions line; only show if there is something to show; add 'active' color
* fix: Fix some margins
2023-06-19 11:26:29 -04:00
Dessalines
02ffa85b58
Merge branch 'main' into breakout-role-utils
2023-06-19 10:04:19 -04:00
ayan4m1
5ccd8922da
feat(css): make vertical rhythm more consistent for post listings
2023-06-18 23:55:04 -04:00
Jay Sitter
2348bbbf5b
Merge branch 'main' into fix/fix-post-creator-alignment
2023-06-18 23:45:06 -04:00
SleeplessOne1917
edf13f39e6
Merge branch 'main' into fix/fix-post-creator-alignment
2023-06-19 03:36:32 +00:00
Jay Sitter
6e4b2004dd
Merge branch 'main' into fix/add-labels-to-block-report
2023-06-18 23:23:44 -04:00
SleeplessOne1917
61586459ea
Merge branch 'main' into fix/fix-intense-hr-color
2023-06-19 03:20:59 +00:00
Jay Sitter
ad984c8584
fix: Use classnames
2023-06-18 23:19:56 -04:00
Jay Sitter
b55cf01e72
Merge remote-tracking branch 'origin/main' into fix/fix-post-creator-alignment
...
* origin/main:
fix: Prettier ignore generated themes, as they aren't written by humans
feat: Badge-ify NSFW and removed by mod title info
2023-06-18 23:18:03 -04:00
Jay Sitter
7f818921d2
fix(post): Fix missing labels on block/report buttons in new dropdown
2023-06-18 16:02:55 -04:00
Jay Sitter
eb9bc1d4fb
fix: Add compiled theme stylesheets
2023-06-18 15:45:01 -04:00
Jay Sitter
473406d1da
fix: Fix too-intense hr color between posts
2023-06-18 15:38:16 -04:00
Jay Sitter
90cd24b8ca
fix: Fix post creator text alignment
2023-06-18 12:46:31 -04:00
Jay Sitter
28fd28f6d3
feat: Badge-ify NSFW and removed by mod title info
2023-06-18 10:47:29 -04:00
Jay Sitter
3e0ad0d56d
fix: Fix display inline of post title
2023-06-18 10:19:42 -04:00
Jay Sitter
fbd2b727cb
fix: Only post title should be inside h5, not the additional metadata icons
2023-06-18 10:19:40 -04:00
Jay Sitter
dcf576ff41
fix: Use btn-sm for advanced menu dropdown buttons
2023-06-18 10:18:17 -04:00
Jay Sitter
2e98e28e71
fix: Remove some extra classes on flag/report buttons
2023-06-18 10:18:17 -04:00
Jay Sitter
b4c83b214b
fix: Fix vertical alignment and border radius of advanced dropdown menu items
2023-06-18 10:18:17 -04:00
Jay Sitter
fb2c9f7491
fix(a11y): Add aria-controls for advanced button dropdown
2023-06-18 10:18:17 -04:00
Jay Sitter
fc1c4f3279
fix: Fix some button labels and tippy text
2023-06-18 10:18:17 -04:00
Jay Sitter
96a4df220a
fix: Remove unused var
2023-06-18 10:18:17 -04:00
Jay Sitter
7c264916a3
feat: Move advanced post menu into dropdown
2023-06-18 10:18:17 -04:00
SleeplessOne1917
0668a52daa
Merge branch 'main' into feat/move-advanced-post-menu-into-dropdown
2023-06-18 13:58:51 +00:00
SleeplessOne1917
37c9d3a9a1
Merge branch 'main' into fix/fix-post-title-element
2023-06-18 13:53:29 +00:00
SleeplessOne1917
30e6cdf29f
Merge branch 'main' into fix/add-aria-label-to-featured-pins
2023-06-18 13:48:45 +00:00
SleeplessOne1917
8df8c71a1f
Merge branch 'main' into main
2023-06-18 13:43:12 +00:00
Jay Sitter
4aacb38de6
Merge branch 'main' into feat/move-advanced-post-menu-into-dropdown
2023-06-18 09:38:25 -04:00
Jay Sitter
137498bfb9
Merge branch 'main' into fix/fix-post-title-element
2023-06-18 09:37:58 -04:00
Jay Sitter
982dbe39da
Merge branch 'main' into fix/add-aria-label-to-featured-pins
2023-06-18 09:37:52 -04:00
sunaurus
3f80010434
Always allow users to control whether they see NSFW content
2023-06-18 14:05:01 +03:00
Jay Sitter
cd0a5a60c6
fix: Fix display inline of post title
2023-06-18 00:41:47 -04:00
Jay Sitter
4da9fcdce9
fix: Use btn-sm for advanced menu dropdown buttons
2023-06-17 21:09:43 -04:00
Jay Sitter
bc69e0116c
fix: Remove some extra classes on flag/report buttons
2023-06-17 21:04:40 -04:00
Jay Sitter
d0ae0f7543
fix: Fix vertical alignment and border radius of advanced dropdown menu items
2023-06-17 21:02:58 -04:00
Ivo Barros
5e9a414dfc
clean code
2023-06-18 00:51:32 +01:00
Jay Sitter
f702cbd256
fix: Fix build error
2023-06-17 19:27:11 -04:00
Jay Sitter
560f1e3c18
Merge branch 'main' into fix/fix-post-title-element
2023-06-17 19:22:39 -04:00
Jay Sitter
ffaa3c4fc5
fix: Remove unused var
2023-06-17 19:16:52 -04:00
Jay Sitter
0d35d9a8d2
Merge branch 'main' into fix/site-sidebar-collapse
2023-06-17 19:12:29 -04:00
Jay Sitter
a7b0e2002d
fix(a11y): Add aria-controls for advanced button dropdown
2023-06-17 19:10:53 -04:00
Jay Sitter
c48ee703c0
fix: Fix some button labels and tippy text
2023-06-17 18:28:35 -04:00
Jay Sitter
57ef993b82
fix: Remove unused var
2023-06-17 18:17:22 -04:00
Jay Sitter
086b0c0cc9
feat: Move advanced post menu into dropdown
2023-06-17 18:03:12 -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
0d302c0e40
fix: Cleaner logic
2023-06-17 15:32:29 -04:00
Jay Sitter
cf5c8a1c07
fix(a11y): Fix some mobile styles for Sidebar Cards
2023-06-17 15:24:55 -04:00
SleeplessOne1917
f0283ac9b3
Merge branch 'main' into fix/add-aria-label-to-featured-pins
2023-06-17 19:15:06 +00:00
Jay Sitter
072d253baa
fix(a11y): Apply same accordion/collapse markup to Subscribed Communities sidebar card
2023-06-17 15:09:10 -04:00
SleeplessOne1917
1347ec6cbb
Merge branch 'main' into refactor-server-tidy
2023-06-17 19:01:44 +00: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
Jay Sitter
ec1d3726ed
fix(a11y): Add aria-label to fetaured pins
2023-06-17 13:08:56 -04:00
Jay Sitter
84887b6feb
fix: Only post title should be inside h5, not the additional metadata icons
2023-06-17 12:32:12 -04:00
Alec Armbruster
e21029602b
Merge branch 'main' into refactor-server-tidy
2023-06-17 12:08:37 -04:00
Jay Sitter
c5e55fb286
fix: Remove some unused vars
2023-06-17 11:16:04 -04:00
SleeplessOne1917
b52b18939c
Merge branch 'main' into refactor-server-tidy
2023-06-17 15:06:09 +00:00
Jay Sitter
77ab1f9e85
fix: Fix some references to ; they should refer to a specific gray in case changes
2023-06-17 10:58:22 -04:00
Jay Sitter
77a3e57f94
fix: Move var to grays area
2023-06-17 10:56:17 -04:00
Jay Sitter
6bb44191ae
fix: Fix broken theme overrides; group theme variable files by variable type
2023-06-17 10:54:49 -04:00
SleeplessOne1917
2f1e349e17
Merge branch 'main' into chore/sass-cleanup
2023-06-17 14:15:09 +00:00
Alec Armbruster
f8fd90cc2e
fix accidental changes
2023-06-17 08:47:43 -04:00
Alec Armbruster
571b1faf70
remove comments
2023-06-17 08:46:19 -04:00
Alec Armbruster
7f48a38b72
Merge branch 'main' into breakout-role-utils
2023-06-17 08:44:47 -04:00
Alec Armbruster
96abf25d00
fix merge conflicts
2023-06-17 08:07:25 -04:00
Alec Armbruster
e6005daadf
Merge branch 'main' into refactor-server-tidy
2023-06-17 08:02:46 -04:00
SleeplessOne1917
4bdddb1710
Add default profile picture for users who do not set one ( #1339 )
2023-06-17 08:00:13 -04:00
Marcin Mróz
7c2a471031
feat(navbar): Add labels for navbar items on mobile ( #1323 )
...
* feat(navbar): Add labels for navbar items on mobile
* fix(navbar): Fix icons positioning on desktop
---------
Co-authored-by: Marcin Mróz <marcin.mroz@displate.com>
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-17 07:55:59 -04:00
Ivo Barros
3ca24607fb
add hours as sorting options
2023-06-17 09:37:03 +01:00
Jay Sitter
fef03525f1
fix: Fix rounded top corners in markdown textarea
2023-06-17 01:43:05 -04:00
Jay Sitter
b59ddb1810
fix: Fix input-bg for darkly theme
2023-06-17 01:39:48 -04:00
Jay Sitter
9885bc31eb
chore: Fix a missing theme color
2023-06-17 01:20:49 -04:00
Jay Sitter
f0bbbd181d
chore: Remove some more redundancies
2023-06-17 01:19:45 -04:00
Jay Sitter
87cf5d9b6c
chore: Remove some more redundancies
2023-06-17 01:18:35 -04:00
Jay Sitter
d2dac88cd8
chore: Fix vars
2023-06-17 00:53:44 -04:00
Jay Sitter
fb60612066
Merge remote-tracking branch 'origin/main' into chore/sass-cleanup
...
* origin/main:
Revert "fix: Sass files don't need to refer to full node_modules path"
2023-06-17 00:39:13 -04:00
Jay Sitter
42c46c18ca
chore: Remove some redundant Sass variable declarations and re-organize them
2023-06-17 00:38:30 -04:00
Jay Sitter
a41079929d
fix: Fix imports
2023-06-17 00:12:01 -04:00
Jay Sitter
366acfe106
Revert "fix: Sass files don't need to refer to full node_modules path"
...
This reverts commit ab92d7264d
.
2023-06-16 23:32:59 -04:00
Jay Sitter
ab92d7264d
fix: Sass files don't need to refer to full node_modules path
2023-06-16 23:14:39 -04:00
Jay Sitter
cd259cd416
Merge branch 'main' into fix/markdown-bootstrap-classes
2023-06-16 21:48:33 -05:00
Jay Sitter
133951bc84
fix: Remove inline styles and use Bootstrap classes
2023-06-16 22:43:46 -04:00
Jay Sitter
fb678d10f8
Merge branch 'main' into feat/add-badges-common-component
2023-06-16 21:35:14 -05:00
Jay Sitter
4ec7c26707
Merge branch 'main' into feat/add-badges-common-component
2023-06-16 21:31:03 -05:00
SleeplessOne1917
72655e0714
Merge branch 'main' into fix-nsfw-blur-spill
2023-06-17 02:29:33 +00:00
Jay Sitter
d951fb57da
fix: Fix missing prop
2023-06-16 22:25:35 -04:00
SleeplessOne1917
6c998ed862
Merge branch 'main' into route-data-refactor
2023-06-17 02:25:18 +00:00
SleeplessOne1917
61cbbfe57f
Merge branch 'main' into route-data-refactor
2023-06-17 02:22:36 +00:00
SleeplessOne1917
28023bb3a6
Merge branch 'main' into generate-theme-css
2023-06-17 02:22:10 +00:00
SleeplessOne1917
9165433282
Merge branch 'main' into 1117-jump-to-main-content
2023-06-17 02:19:59 +00:00
SleeplessOne1917
5033d03ed2
Merge branch 'main' into generate-theme-css
2023-06-17 02:17:45 +00:00
SleeplessOne1917
879e3b6f70
Merge branch 'main' into fix-nsfw-blur-spill
2023-06-17 02:17:04 +00:00
SleeplessOne1917
8b2bcd5a99
Merge branch 'main' into feat/markdown-format-bar-above
2023-06-17 02:16:36 +00:00
SleeplessOne1917
7a105942b0
Merge branch 'main' into feat/add-badges-common-component
2023-06-17 02:08:34 +00:00
Jay Sitter
ba3a565d2b
fix: Vertically align icons in post listing
2023-06-16 21:50:31 -04:00
Jay Sitter
f7f8ddcd7c
fix: Add total users in site sidebar
2023-06-16 21:44:45 -04:00
Jay Sitter
fe64edd2fc
fix: Re-add 'number of communities' to site sidebar
2023-06-16 20:56:01 -04:00
Jay Sitter
cb72180f97
fix: Fix broken link
2023-06-16 20:54:13 -04: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
Jay Sitter
e540b1e4a9
Merge branch 'main' into feat/markdown-format-bar-above
2023-06-16 19:14:48 -05:00
Jay Sitter
f037220d5e
fix: Fix rounded textarea in Markdown box
2023-06-16 20:13:25 -04:00
Jay Sitter
3d24a108ae
feat: Fix some colors on dark mode
2023-06-16 20:02:07 -04:00
Jay Sitter
f9f4caf260
feat: Redesign the format bar / textarea into a single bordered area with divider
2023-06-16 19:49:28 -04:00
Alec Armbruster
b3a25a3bb3
hopefully last merge fiasco cleanup
2023-06-16 19:20:43 -04:00
Alec Armbruster
fbc13249ca
more cleanup
2023-06-16 19:18:06 -04:00
Alec Armbruster
768ed8ea94
even more cleanup
2023-06-16 19:16:00 -04:00
Alec Armbruster
8fcde4bdd0
more cleanup
2023-06-16 19:14:35 -04:00
Alec Armbruster
e164a3b9a1
attempt to fix crazy merge fiasco
2023-06-16 19:10:25 -04:00
Alec Armbruster
3ee47d38b8
Merge branch 'LemmyNet:main' into breakout-role-utils
2023-06-16 18:57:20 -04:00
Alec Armbruster
6c6ddd5b51
reset, merge issues
2023-06-16 18:56:23 -04:00
Alec Armbruster
6105c1e035
Merge branch 'main' into refactor-server-tidy
2023-06-16 18:41:44 -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
Alec Armbruster
d773f8c262
Merge branch 'main' into refactor-server-tidy
2023-06-16 18:21:14 -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
Zetaphor
e13d6145cb
Remove extra div in post sidebar
2023-06-16 18:56:06 -03:00
Jay Sitter
ebba5bdd80
feat: Move text formatting bar above textarea
2023-06-16 17:47:43 -04:00
Zetaphor
a03bee512a
Add a class to the more button on a comment node
2023-06-16 18:47:37 -03:00
Alec Armbruster
9c37cea106
Merge branch 'main' into breakout-role-utils
2023-06-16 17:33:46 -04:00
Zetaphor
f38630b224
Merge branch 'feature/add-ids-and-classes' of github.com:Zetaphor/lemmy-ui into feature/add-ids-and-classes
2023-06-16 18:29:29 -03:00
Zetaphor
fe54ae9715
Switch navbar classes to ids
2023-06-16 18:28:50 -03:00
Alec Armbruster
976ed12d07
break out browser and helper methods
2023-06-16 17:25:53 -04:00
Sean Spade
d3e181222a
feat: Adds Jump to main content functionality
...
feat: Adds media query for prefers reduced motion
chore: remove <a/> from index.tsx
chore: remove tranisiton for skip link
chore: remove omitted error variable
update translations
chore: update translations
chore: Covert <a/> jump to content from html to Inferno JSX
chore: add translation
feat: add main as a parent to routes so jump to content always skips navigation on every page
chore: Use bootstrap classes
feat: Tidy Jump to content feature with some basic JS
feat: Jump to main content
2023-06-16 17:22:05 -04:00
Sean Spade
4da2438638
chore: ensures validURL function does not throw exception
2023-06-16 17:18:11 -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
SleeplessOne1917
242eeb5646
Merge branch 'main' into generate-theme-css
2023-06-16 21:07:49 +00:00
Dessalines
e0cc7ba3c3
Adding a few more 0.18.0 API changes. ( #1324 )
...
- Removes number_online
2023-06-16 17:06:14 -04:00
Zetaphor
9a943e1f2e
Use aside semantic HTML tag for sidebars
2023-06-16 17:27:55 -03:00
Zetaphor
5d7e5cac33
Use article semantic HTML tag for posts/comments
2023-06-16 17:27:41 -03:00
Zetaphor
c4146cc66a
Use footer semantic HTML tag
2023-06-16 17:26:58 -03:00
SleeplessOne1917
d3a19751d5
Merge branch 'main' into generate-theme-css
2023-06-16 20:00:46 +00:00
SleeplessOne1917
65079cf61e
Merge branch 'main' into fix-nsfw-blur-spill
2023-06-16 19:57:12 +00:00
Alec Armbruster
ea61cbbd46
Merge branch 'main' into refactor-server-tidy
2023-06-16 14:09:02 -04:00
Zetaphor
e597e59bfe
Add lemmy-site class for easier detection
2023-06-16 14:21:01 -03:00
Zetaphor
6a9b936d08
Merge branch 'main' into feature/add-ids-and-classes
2023-06-16 14:14:10 -03:00
Zetaphor
da1a4f81df
Add ID's and classes to sidebars
2023-06-16 14:12:27 -03:00
Zetaphor
2d79ad32b5
Add clases and ID's to post form/listing
2023-06-16 14:12:07 -03:00
Zetaphor
3ca2bce9f0
Add classes to post and comment repy textareas
2023-06-16 14:10:56 -03:00
Zetaphor
a5dc5c0b3f
Rename markdown-textarea ID's
2023-06-16 14:09:35 -03:00
Zetaphor
197b736f3e
Add nav and footer ID's
2023-06-16 14:08:53 -03:00
Jordan Enterkin
afcffce572
fix block community functionality in sidebar ( #1316 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-16 13:01:09 -04:00
Michał
ad2bf18ab4
fix: fix loading custom themes with a custom LEMMY_UI_EXTRA_THEMES_FOLDER
2023-06-16 18:32:21 +02:00
Alec Armbruster
96f6152a15
Merge branch 'main' into refactor-server-tidy
2023-06-16 11:54:09 -04:00
Alec Armbruster
80e2c9602e
Admin Settings: Bugfixes ( #1313 )
...
* move loading state to AdminSettings, pass as prop, tweak margin on some labels, add missing bind
* default loading state to false on setup.tsx, add util
* rename util to make more sense
* make @dessalines suggested changes
2023-06-16 11:52:47 -04:00
Alec Armbruster
90bad6d077
Merge branch 'main' into refactor-server-tidy
2023-06-16 11:04:31 -04:00
Alec Armbruster
64191f2d21
set loading state attribute to false if createPost fails ( #1311 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-16 11:02:28 -04:00
Sunny
1c26a85fff
Make community IDs more easily selectable ( #1306 )
...
* Make community IDs more easily selectable
* Use T component for alert
* Use T component for alert
---------
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-16 11:00:01 -04:00
Jay Sitter
b228214cd0
Re-arrange elements beneath markdown textarea #1057 ( #1288 )
...
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-16 10:53:46 -04:00
Alec Armbruster
c3f3c14a1c
Merge branch 'main' into refactor-server-tidy
2023-06-16 10:50:18 -04:00
Dessalines
b44ae192d2
Merge branch 'main' into fix-nsfw-blur-spill
2023-06-16 10:49:42 -04:00
Yuri Pieters
882efe128a
Match more specific locales to supported ones ( #1241 )
...
To do this, replace the current system for choosing the language with one that makes use of i18next features.
Co-authored-by: Yuri Pieters <yuri@zopatista.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-16 10:49:23 -04:00
Alec Armbruster
7727a4a3a3
Merge branch 'main' into refactor-server-tidy
2023-06-16 10:45:31 -04:00
Alec Armbruster
b568756b83
formatting
2023-06-16 10:42:35 -04:00
Alec Armbruster
dba041fb90
use tsx ext only when needed
2023-06-16 10:38:40 -04:00
Alec Armbruster
88780ba9ab
refactor server, tidy up, use handlers/middleware/utils pattern
2023-06-16 10:34:36 -04:00
Florian Heft
3afd636b9e
Fixed color scheme variables of litely-red
...
* Adapted variables to the actual color that
was used before
2023-06-16 10:53:26 +02:00
abias
2a16c85ed0
Cleanup
2023-06-15 22:39:04 -04:00
abias
88842a52c0
Merge branch 'main' into route-data-refactor
2023-06-15 22:11:19 -04:00
abias
9265fc5894
Merge branch 'main' into route-data-refactor
2023-06-15 22:08:14 -04:00
Andrew DeLisa
79f4009541
Improve the look of tables ( #1299 )
...
* feat(css): remove table styling that overrides bootstrap
* feat(utils): style MD tables appropriately with bootstrap class
2023-06-15 17:42:22 -04:00
SleeplessOne1917
f39b3019c0
Merge branch 'main' into main
2023-06-15 17:24:53 +00:00
Marcin Mróz
e470db3fde
feat(post-listing): Add link to post for mobile preview
2023-06-15 19:21:42 +02:00
Alec Armbruster
565071ef13
Merge branch 'main' into go-back-after-login
2023-06-15 12:41:29 -04:00
Alec Armbruster
114ad262c3
use .replace() instead
2023-06-15 12:38:42 -04:00
Alec Armbruster
4da9bcd793
go back if last history action was push, fix bug preventing navigation to / working from login
2023-06-15 12:29:24 -04:00
SleeplessOne1917
5e8c0ef45c
Merge branch 'main' into add-user-scalable-no
2023-06-15 15:56:39 +00:00
SleeplessOne1917
4c67ff255b
Merge branch 'main' into generate-theme-css
2023-06-15 15:51:52 +00:00
Alec Armbruster
09ac948d4a
add user-scalable=no to meta tag
2023-06-15 11:48:30 -04:00
ayan4m1
1dd8cb0994
remove explicit types
2023-06-15 08:31:36 -04:00
ayan4m1
1ed148d3d2
fix: <hr> is almost invisible in darkly theme
2023-06-15 08:23:55 -04:00
Dessalines
1088ee293b
Merge branch 'main' into fix-nsfw-blur-spill
2023-06-15 07:55:09 -04:00
Florian Heft
535e9ae337
Removed duplicated CSS rule
...
* Bootstrap has us covered already
2023-06-15 09:00:29 +02:00
abias
97f23821f5
Merge branch 'comment-depth' of https://github.com/LemmyNet/lemmy-ui into comment-depth
2023-06-14 21:23:21 -04:00
abias
b0189658a2
Address PR feedback
2023-06-14 21:14:21 -04:00
SleeplessOne1917
a880db43a1
Merge branch 'main' into comment-depth
2023-06-15 00:53:20 +00:00
abias
ab0805432d
Make comment border colors semi-transparent
2023-06-14 20:52:31 -04:00
Dessalines
89be27bb9d
Add long polling to update unread counts in navbar. ( #1271 )
...
* Upping version.
* Add long-polling to update unread counts in navbar.
- Fixes #1148
* Using async for polling.
* Update src/shared/utils.ts
Co-authored-by: Sander Saarend <sander@saarend.com>
* Adding window visibility check, removing generic sleep.
---------
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Sander Saarend <sander@saarend.com>
2023-06-14 20:28:20 -04:00
SleeplessOne1917
8ce6e5bc32
Merge branch 'main' into comment-depth
2023-06-15 00:22:29 +00:00
SleeplessOne1917
f86b9ede07
Merge branch 'main' into AA/remove-pictrsdeletetoast-from-postform
2023-06-15 00:05:27 +00:00
SleeplessOne1917
31e61e7449
Merge branch 'main' into comment-depth
2023-06-14 23:46:11 +00:00
SleeplessOne1917
506839610e
Merge branch 'main' into AA/missing-tooltip-from-post-listing
2023-06-14 23:28:43 +00:00
SleeplessOne1917
81187c85d8
Merge branch 'main' into AA/trim-all-username-inputs
2023-06-14 23:25:59 +00:00
SleeplessOne1917
39e20e5c67
Merge branch 'main' into patch-1
2023-06-14 23:23:11 +00:00
SleeplessOne1917
d84af4a3ef
Merge branch 'main' into fix-nsfw-blur-spill
2023-06-14 23:16:26 +00:00
Alec Armbruster
aa48adc2c3
Merge branch 'AA/remove-pictrsdeletetoast-from-postform' of https://github.com/alectrocute/lemmy-ui into AA/remove-pictrsdeletetoast-from-postform
2023-06-14 16:46:03 -04:00
Alec Armbruster
44e45bb84d
make button a tad smaller
2023-06-14 16:45:56 -04:00
Alec Armbruster
12298c3132
Merge branch 'main' into AA/remove-pictrsdeletetoast-from-postform
2023-06-14 16:41:28 -04:00
Alec Armbruster
d75e4365c4
remove pictrsDeleteToast usage from PostForm, add delete image button, fix infinite loading bug if upload error occured
2023-06-14 16:29:04 -04:00
Alec Armbruster
84a380606c
Merge branch 'main' into AA/missing-tooltip-from-post-listing
2023-06-14 12:05:53 -04:00
Alec Armbruster
66dc499864
Merge branch 'main' into AA/trim-all-username-inputs
2023-06-14 12:05:42 -04:00
Alec Armbruster
99f81f8d63
adds missing tooltip
2023-06-14 10:03:00 -04:00
Alec Armbruster
520efdcada
trim all username state input
2023-06-14 09:47:33 -04:00
Alec Armbruster
cd9de0b2e0
update prop name
2023-06-14 09:39:19 -04:00
Alec Armbruster
b076427e8d
handle loading state on community-form.tsx
2023-06-14 09:32:25 -04:00
SleeplessOne1917
2b1af707c3
Use http client ( #1081 )
...
* Beginning work on websocket -> http client conversion.
* About 30% done.
* half done.
* more done.
* Almost passing lint.
* Passing lint, but untested.
* Add back in event listeners.
* Fixing some community forms.
* Remove webpack cache.
* fixing some more.
* Fixed ISOwrappers.
* A few more fixes.
* Refactor utils
* Fix instance add/remove buttons
* Not catching errors in isoWrapper.
* Wrap Http client
* Fixing up tagline and ratelimit forms.
* Make all http client wrapping be in one place
* Reworking some more forms.
* Upgrading lemmy-js-client.
* Fixing verify email.
* Fix linting errors
* Upgrading woodpecker node.
* Fix comment scrolling rerender bug.
* Fixing a few things, commenting out props for now.
* v0.18.0-beta.1
* Trying to fix woodpecker, 1.
* Trying to fix woodpecker, 2.
* Handroll prompt
* Add navigation prompt to other pages
* Fix prompt navigation bug
* Fix prompt bug introduced from last bug fix
* Fix PWA bug
* Fix isoData not working
* Fix search page update url
* Fix sharp issue.
* v0.18.0-beta.2
* Make create post pre-fetch communities
* Fix bug from last commit
* Fix issue of posts/comments not being switched when changing select options
* Fix unnecessary fetches on home screen
* Make circular icon buttons not look stupid
* Prevent unnecessary fetches
* Make login experience smoother
* Add PWA shortcuts
* Add related application to PWA
* Update translations
* Forgot to add post editing.
* Fixing site setup.
* Deploy script setup.
* v0.18.0-beta.4
* Sanitize again.
* Adding sanitize json function.
* Upping version.
* Another sanitize fix.
* Upping version.
* Prevent search nav item from disappearing when on search page
* Allow admin and mod actions on non-local comments.
* Fix mobile menu collapse bug
* Completely fix prompt component
* Fix undefined value checks in use_http_client_2 (#1230 )
* fix: filter out undefined from posts
* fix: emoji initialisation passing undefined
* fix: || => ?? to be more explicit
* linting
---------
Co-authored-by: Alex Maras <alexmaras@gmail.com>
* Re-add accidentally removed state
* Fix dropdown bug
* Use linkEvent where appropriate
* Fix navigation warnings.
---------
Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Alex Maras <dev@alexmaras.com>
Co-authored-by: Alex Maras <alexmaras@gmail.com>
2023-06-14 08:20:40 -04:00
Camel Coder
be60dae9f8
Horizontally scrollable code blocks, instead of wrapping.
...
This disables word wrapping for code generated from markdown, and instead enables a horizontal scroll bar.
2023-06-14 12:00:13 +00:00
Florian Heft
14775734fa
Fixed NSFW image blur spilling outside the preview
...
* Hide overflow of wrapping picture element
to contain the blur of the inner img element.
* This aligns the visible image area to the
clickable area.
* fixes #1245
2023-06-14 10:11:27 +02:00
Florian Heft
20c3b6bfb3
Recompiled theme files using latest Bootstrap 4
...
* Rebuild the existing theme files using the
new build system (93f00c9e).
* Files should be functionally the same apart
from possibly some Bootstrap fixes. Most
of the diff is reordering and formatting
(e.g. color values).
2023-06-14 01:14:18 +02:00
Florian Heft
a170a0cc74
Added npm scripts to rebuild theme files
...
* Add Bootstrap 4 dependency
* Add scripts to compile theme files using SASS
* Remove circular dependency of theme variables
and Bootstrap base variables
2023-06-14 01:14:18 +02:00
Zetaphor
31257b9dd4
Add title to pictrs-image
...
This adds a title tag to images, uses the alt tag value. This improves accessibility for sighted users and screen readers.
2023-06-13 12:24:15 -05:00
cmp
0d67c64af9
Make the community title in the sidebar link to the local community. ( #1161 )
...
* Make the community title in the sidebar link to the local community.
* Ternary erudaStr for PR.
---------
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-13 06:34:21 -04:00
SleeplessOne1917
5f5ef404d2
Fix prompt component ( #1223 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-13 06:33:27 -04:00
SleeplessOne1917
2053c4e4e1
Fix mobile menu collapse bug ( #1222 )
2023-06-12 22:24:24 -04:00
SleeplessOne1917
8dedeb6824
Merge branch 'main' into fix-button-click-area
2023-06-12 23:02:28 +00:00
SleeplessOne1917
800c1655fe
Merge branch 'main' into avatar-aspect-ratio-fix
2023-06-12 21:12:49 +00:00
Dessalines
a605c72859
Another try at sanitize. ( #1208 )
...
* Sanitize again.
* Adding sanitize json function.
* Using serialize instead.
2023-06-12 16:17:57 -04:00
Raymond Berger
de230a5e2f
remove unused theme files ( #1202 )
...
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-12 14:57:52 -04:00
SleeplessOne1917
a7450325a1
Make preview button say "edit" when in preview mode ( #1164 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-12 14:14:03 -04:00
SleeplessOne1917
1f12ce9790
Add shortcut for submitting post ( #1163 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-12 14:13:33 -04:00
Alec Armbruster
636d87e4cc
Merge branch 'main' into avatar-aspect-ratio-fix
2023-06-12 13:10:25 -04:00
Alec Armbruster
0d868d9005
format with prettier
2023-06-12 13:09:50 -04:00
Alec Armbruster
1aa934584f
add .img-cover class, implement
2023-06-12 13:00:18 -04:00
SleeplessOne1917
3438dac98b
Merge branch 'main' into fix-button-click-area
2023-06-12 14:33:28 +00:00
Ikko Eltociear Ashimine
b0b3d526cf
Fix typo in post-listing.tsx ( #1181 )
...
recieve -> receive
2023-06-12 10:05:36 -04:00
Florian Heft
170949f34f
Fixed unclickable button paddings
...
* Remove the wrapping <button> element that
visually seems clickable but has no click
handling (only its child link can be
clicked)
* fixes #1193
2023-06-12 11:40:44 +02:00
Yuri Pieters
10a29f053f
Set html lang attr to the interface language
2023-06-12 00:26:01 +01:00
Yuri Pieters
6462cd5208
Run prettier
2023-06-11 22:47:57 +01:00
Alec Armbruster
5932fadc3a
make suggested change
2023-06-11 10:06:10 -04:00
Alec Armbruster
b90c0b2bbe
move expand/collapse button
2023-06-11 09:53:08 -04:00
Adam Shea
1f118e8bcc
Remove unnecessary comments
2023-06-10 12:12:48 +00:00
Adam Shea
cc64f71072
Added additional keybinds
2023-06-10 09:15:22 +00:00
SleeplessOne1917
cd6a2f47a1
Merge branch 'main' into 1078-language-select-disable-warning
2023-06-10 00:58:04 +00:00
Florian Heft
b54be0586d
Only show 'saved' tab on own profile page
...
* Users can't view saved posts of other users.
* fixes #1090
2023-06-10 01:08:08 +02:00
Adam Shea
400f345182
Added Ctrl-K keybind
2023-06-09 21:30:12 +00:00
SleeplessOne1917
2c9fd462b2
Merge branch 'main' into 1078-language-select-disable-warning
2023-06-09 16:41:28 +00:00
2a5c690bdc
Fix quotes ( #1131 )
...
Need to replace before rendering markdown, not after
2023-06-09 09:00:45 -04:00
4867e455f8
Alternative way to sanitize isoData ( #1129 )
...
* Alternative way to sanitize isoData
* use split/join instead of replaceAll
* Use sanitize, then restore > chars for markdown render
2023-06-09 08:17:02 -04:00
Sean Spade
23c4b685ed
chore: switched to enabling language warning by prop rather than disabling
2023-06-08 23:36:35 -04:00
Sean Spade
9d45b4afe3
fix: Adds ability to hide language warning
2023-06-08 23:36:35 -04:00
Marcin Mróz
7366846849
styles( #1067 ): Run prettier
2023-06-08 21:08:28 +02:00
Marcin Mróz
7dfda39db0
fix( #1067 ): Fix language not updating when editing post
2023-06-08 20:48:32 +02:00
0xDEADCADE
22a4fae0c2
Fix isoData can contain user generated content ( #1114 )
...
* Fix isoData can contain user generated content
* Fix formatting
2023-06-08 11:15:03 -04:00
Thomas
6a9d61a6dd
Add media-src * to Content-Security-Policy header
2023-06-06 13:45:17 +01:00
SleeplessOne1917
21a290a940
Merge branch 'main' into fix/1039
2023-06-05 23:27:50 +00:00
James Whitmarsh
0754b9ba19
Refactor lets to consts
2023-06-05 22:31:12 +01:00
James Whitmarsh
3cb3fc6b1e
Fix aria-label for language select
2023-06-05 22:06:54 +01:00
SleeplessOne1917
400e62b21c
Add aria attribute to track toggle status of up/down votes. ( #1074 )
2023-06-05 11:49:03 -04:00
SleeplessOne1917
48c16cc977
Make comment depth easier to track visually
2023-06-03 23:49:49 -04:00
abias
b12399de5f
Make comments nested lists
2023-06-03 22:02:07 -04:00
mezzode
1df655d40d
Fix sorting help link
2023-06-02 22:18:00 -07:00
abias
72b4d14b47
Merge branch 'main' into route-data-refactor
2023-05-29 20:41:54 -04:00
abias
feb4c434d1
Refactor route data
2023-05-29 20:40:00 -04:00
SleeplessOne1917
7720e37a63
Do not refresh when community is selected in create post ( #1042 )
2023-05-29 09:01:52 -04:00
8837cf568e
remove badge-muted
2023-05-25 10:52:34 +02:00
SleeplessOne1917
7b96c89dcb
Merge branch 'main' into language-tag-changes
2023-05-24 13:34:04 +00:00
SleeplessOne1917
2ca53fae5b
Merge branch 'main' into rate-limiting-tab
2023-05-24 13:31:12 +00:00
15f75a26e9
use badge-muted
2023-05-24 12:22:24 +02:00
SleeplessOne1917
42ebb57b22
Navbar fix 2 ( #1038 )
...
* Fix navbar not closing on mobile when it should
* Get rid of unnecessary HTML tags
* Forgot to include this
2023-05-23 20:42:19 -04:00
abias
98167b50dc
Add translations
2023-05-23 19:31:33 -04:00
abias
7face53efd
Merge branch 'main' into rate-limiting-tab
2023-05-23 19:14:44 -04:00
90a9f72817
Changes to language tag
...
- Dont use bright white color because its not that important
- Hide tag in case of undetermined (doesnt add any information)
2023-05-23 22:16:54 +02:00
abias
06a553c7a4
Hopefully stop lint command from erroring
2023-05-23 08:34:20 -04:00
SleeplessOne1917
c311bca8d2
Merge branch 'main' into nicer-error-hnadling
2023-05-23 12:07:08 +00:00
abias
5af62ebd84
Merge branch 'main' into nicer-error-hnadling
2023-05-23 08:01:09 -04:00
abias
ee95bd05fb
Always replace host with internal host
2023-05-22 19:15:11 -04:00
abias
19408b26bf
Revert "User HTTP instead of HTTPS when fetching icon in docker internal network"
...
This reverts commit 498de660ba
.
2023-05-22 18:42:05 -04:00
abias
fd39b21b12
Revert "Add debug statement."
...
This reverts commit 7fbb12a4bd
.
2023-05-22 18:41:33 -04:00
abias
7fbb12a4bd
Add debug statement.
2023-05-22 18:15:44 -04:00
abias
498de660ba
User HTTP instead of HTTPS when fetching icon in docker internal network
2023-05-22 18:10:16 -04:00
abias
51c0c98faa
Add error message paragraph
2023-05-22 12:57:52 -04:00
abias
83fc9f3949
Make error code always display
2023-05-22 08:38:05 -04:00
abias
fe69f8ee5f
Merge branch 'main' into nicer-error-hnadling
2023-05-22 07:47:17 -04:00
SleeplessOne1917
ffe95ee1c6
Navbar hide menu fix ( #1033 )
...
* Fix navbar not closing on mobile when it should
* Get rid of unnecessary HTML tags
2023-05-21 23:31:08 -04:00
Dessalines
26de38a869
Show parent comment for comment link. Fixes #1030 ( #1032 )
...
* Show parent comment for comment link. Fixes #1030
* Changing let to const.
2023-05-21 21:30:13 -04:00
abias
f51cc697a7
Merge branch 'rate-limiting-tab' of https://github.com/SleeplessOne1917/lemmy-ui into rate-limiting-tab
2023-05-21 15:32:00 -04:00
abias
9998d64d75
Add heading tag to rate limit form
2023-05-21 15:31:42 -04:00
SleeplessOne1917
f051eee8e9
Merge branch 'main' into rate-limiting-tab
2023-05-21 19:13:03 +00:00
abias
132f241e63
Remove console log
2023-05-21 15:11:20 -04:00
abias
117e85a967
Include forgotten translation
2023-05-21 14:42:17 -04:00
abias
a8e2b43952
Remove console logs
2023-05-21 14:41:41 -04:00
SleeplessOne1917
0bd9a17009
Add web share for browsers that have it enabled ( #1029 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-05-21 14:17:56 -04:00
SleeplessOne1917
a447e432db
Show language on posts and comments ( #1026 )
...
* Show language on posts and comments
* Revert "Show language on posts and comments"
This reverts commit 54267903fc
.
* Change language indicator look
2023-05-21 14:13:25 -04:00
abias
e542aa872d
Incorporate translations
2023-05-21 14:13:06 -04:00
abias
cf58a0c451
Allow user to submit rate limit changes
2023-05-21 12:40:22 -04:00
abias
2e3c1a6cfa
Put rate limit options in its own tab
2023-05-21 09:07:22 -04:00
abias
b1a7a679f0
Refactor tabs into reuseable component
2023-05-20 15:39:12 -04:00
abias
cbee588484
Merge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy-ui into nicer-error-hnadling
2023-05-19 13:06:34 -04:00
abias
75d2fb8d27
Replace link to issue tracker with proper support spaces
2023-05-19 13:06:14 -04:00
SleeplessOne1917
7241abc25e
Merge branch 'main' into nicer-error-hnadling
2023-05-17 01:10:51 +00:00
abias
256420b303
Fix isoData bug
2023-05-16 21:07:57 -04:00
abias
4f1d357b5b
Refactor how error data is passed from server to client
2023-05-16 20:34:15 -04:00
SleeplessOne1917
0d30f4c731
Make admin UI for allowing/blocking instances easier to work with ( #1012 )
...
* Make admin UI for allowing/blocking instances easier to work with
* Tweak styles
* Remove log statements
* Trim instance names and slight refactor
* Use linkEvent
2023-05-16 09:08:52 -04:00
abias
24c4427c82
Get rid or forced error
2023-05-15 21:02:34 -04:00
abias
900bf2099b
Cleanup
2023-05-15 20:56:08 -04:00
abias
5068df6bf5
Merge branch 'main' into nicer-error-hnadling
2023-05-15 20:34:45 -04:00
3143788d19
Changing all bigints to numbers
2023-05-15 15:53:29 -04:00
SleeplessOne1917
d56d20d0be
Redirect from pages that require auth on logout ( #1016 )
...
* Redirect fomr pages that require auth on logout
* Extract helper function
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-05-15 11:22:35 -04:00
abias
dbee2533a2
Fix things not working in production build
2023-05-14 23:45:21 -04:00
abias
23d7751523
Fix error page not showing when site not fetched and adjust styles
2023-05-14 23:01:39 -04:00
abias
3996cdaae3
Handle error when site not returned
2023-05-14 19:49:55 -04:00
abias
025daaa582
Use node env instead of version for environment specific logic
2023-05-14 16:25:03 -04:00
abias
76f0292862
Redirect to login and remove duplicated code
2023-05-14 15:28:38 -04:00
abias
8f2d964062
Fix server redirect error
2023-05-14 14:59:42 -04:00
abias
d944140a76
Merge branch 'main' into nicer-error-hnadling
2023-05-14 11:09:13 -04:00
abias
bcee6aad5b
Set up logic for handling errors
2023-05-14 11:08:06 -04:00
abias
ab3fed3ddf
Extract helper function
2023-05-13 23:09:05 -04:00
1683a745b5
Dont preselect new post language ( #1008 )
...
Lemmy-ui currently preselects the first language in the user
settings when creating a new post or comment. This is a bad
idea because this language might not actually be allowed in
the community. It is better to pass the language as None if
the user didnt specify it explicitly, because then the backend
can smartly choose a language based on the overlap of user
languages and community languages.
This fixes the problem described in
[this thread](https://lemmy.ml/post/1066608 ), where a user
tries to post in a community that has only English allowed,
with all languages enabled in user settings. In this case
lemmy-ui preselects "undetermined language" as default, which
is not allowed and results in an error. This PR fixes the issue
because it lets the backend automatically select the correct
language (English).
2023-05-13 16:07:05 -04:00
SleeplessOne1917
f31cd42d8e
Redirect fomr pages that require auth on logout
2023-05-13 10:38:43 -04:00
8c06eb9749
Remove "banned" badge from posts and comments (fixes 899) ( #1011 )
...
It doesnt need to be emphasized so much that a user is banned.
Anyway this can already be seen in the mod log. For users who
are banned from the entire site it is still shown on the profile.
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-05-11 21:15:04 -04:00
SleeplessOne1917
b19b51c78c
Add support for PWA ( #1005 )
...
* Add logic for dynamically generating web manifest
* Make PWA icon get autogenerated
* Make service worker work
* Tweak things for PWA
* Handle apple icons and refactor
* Update prod dockerfile
* Remove jimp
* Remove unnecessary option
* Use different function syntax
2023-05-11 21:07:59 -04:00
Dessalines
c5fd084577
Using auto-generated types from ts-rs. ( #1003 )
...
* Using auto-generated types from ts-rs.
- Fixes #998
- Added support for new `GetFederatedInstances`
- Fixed a few bugs in the process.
* Update imports to use SleeplessOne1917's fix.
2023-05-11 14:32:32 -04:00
Dessalines
06bfb7eadf
Fixing some outdated docs links. Fixes #1006 ( #1007 )
2023-05-11 13:13:09 -04:00
Dessalines
f7ace27477
Upgrading deps. ( #1004 )
2023-05-11 13:06:32 -04:00
Dessalines
457187693f
Prettier css ( #995 )
...
* Add prettier lint for css and scss files.
* Fixing eslint issue.
* Run prettier
2023-05-03 22:09:27 -04:00
SleeplessOne1917
3a88f6e854
Add content warning to modlog and fix modlog routing bug ( #994 )
...
* Add content warning to modlog and fix modlog routing bug
* Add translation logic
2023-05-03 22:06:59 -04:00
SleeplessOne1917
a027595eaa
Get rid of "No Results" showing while search is still loading. ( #997 )
2023-05-03 21:47:37 -04:00
SleeplessOne1917
2e78191dae
Handle when logged out ( #986 )
...
* Add logged out messages to profile and community
* Remove errors when not logged in
* Add logged out translations
2023-05-03 12:09:47 -04:00
SleeplessOne1917
3526baf465
Make pages use query params instead of route params where appropriate ( #977 )
...
* feat: Add multiple image upload
* refactor: Slight cleanup
* feat: Add progress bar for multi-image upload
* fix: Fix progress bar
* fix: Messed up fix last time
* refactor: Use await where possible
* Add query params to search page
* Update translation logic
* Did suggested PR changes
* Updating translations
* Fix i18 issue
* Make prettier actually check src in hopes it will fix CI issue
* Make home page use query params in URL
* Remove unnecessary part of private message url
* Make communities page use query params
* Make community page use query params
* Make user profile use query params
* Make modlog use query params
* Replace choices.js searchable select entirely
* Make 404 screen show up when expected
* Refactor query params code
* Remove unnecessary boolean literal
* Fix query param bug
* Address bug with searchable select and initial fetch
* Only import what is needed from bootstrap
* Undo change to comment nodes component
* Convert closure style functions to normal functions
* Updated translations
* Use translation for loading
* Fix create post select community bug
* Fix community query params bug
2023-04-15 10:47:10 -04:00
SleeplessOne1917
699c3ff4b1
Multiple image upload ( #971 )
...
* feat: Add multiple image upload
* refactor: Slight cleanup
* feat: Add progress bar for multi-image upload
* fix: Fix progress bar
* fix: Messed up fix last time
* refactor: Use await where possible
* Update translation logic
* Did suggested PR changes
* Updating translations
* Fix i18 issue
* Make prettier actually check src in hopes it will fix CI issue
2023-04-04 08:40:00 -04:00