Commit graph

778 commits

Author SHA1 Message Date
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
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
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
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
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
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