Commit graph

107 commits

Author SHA1 Message Date
Alec Armbruster
7f48a38b72
Merge branch 'main' into breakout-role-utils 2023-06-17 08:44:47 -04:00
Jay Sitter
fef03525f1 fix: Fix rounded top corners in markdown textarea 2023-06-17 01:43:05 -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
879e3b6f70
Merge branch 'main' into fix-nsfw-blur-spill 2023-06-17 02:17:04 +00: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
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
Jay Sitter
f8f1f49250 feat: Move Badges to common component 2023-06-16 18:31:47 -04:00
Jay Sitter
ebba5bdd80 feat: Move text formatting bar above textarea 2023-06-16 17:47:43 -04:00
Alec Armbruster
9c37cea106
Merge branch 'main' into breakout-role-utils 2023-06-16 17:33:46 -04:00
Alec Armbruster
976ed12d07
break out browser and helper methods 2023-06-16 17:25:53 -04:00
SleeplessOne1917
65079cf61e
Merge branch 'main' into fix-nsfw-blur-spill 2023-06-16 19:57:12 +00:00
Zetaphor
a5dc5c0b3f Rename markdown-textarea ID's 2023-06-16 14:09:35 -03: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
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
SleeplessOne1917
d84af4a3ef
Merge branch 'main' into fix-nsfw-blur-spill 2023-06-14 23:16:26 +00: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
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
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
SleeplessOne1917
5f5ef404d2
Fix prompt component (#1223)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-13 06:33:27 -04:00
SleeplessOne1917
800c1655fe
Merge branch 'main' into avatar-aspect-ratio-fix 2023-06-12 21:12:49 +00: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
Yuri Pieters
10a29f053f Set html lang attr to the interface language 2023-06-12 00:26:01 +01: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
Adam Shea
400f345182
Added Ctrl-K keybind 2023-06-09 21:30:12 +00: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
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