Commit graph

131 commits

Author SHA1 Message Date
SleeplessOne1917
24adbf71bb
Regenerate themes (#2554) 2024-06-18 08:27:22 -04:00
SleeplessOne1917
1f7c8dd1b0
Fix video thumbnail override issue (#2474)
* Fix video thumbnail override issue

* Cleanup

* Make thumbnails always show up, even on mobile

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-05-21 14:25:21 -04:00
SleeplessOne1917
d89dc07e71
Mod action history (#2437)
* Add action for viewing moderation history

* Add translations

* Remove unnecessary function

* Update packageManager

* Package manager
2024-04-23 22:34:52 -04:00
SleeplessOne1917
c1b8946875
Add fallback image for broken images (#2434)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-04-22 11:54:04 -04:00
SleeplessOne1917
643c1f6f01
Make confirm popup for adult consent (#2419)
* Make confirm popup for adult consent

* Fix import

* Fix blur and adjust user settings

* Make confirmation popup more stylish

* Add setting to site settings form

* Fix modal bug

* Put adult consent logic all in one place

* Make modal use markdown

* Fix consent modal showing up for currently logged in admin

* Add go-back redirect countdown

* Center modal title

* Handle enable_nsfw correctly

* Blur background of modal to hide spicy things

* Add translations
2024-04-18 19:54:16 -04:00
Richard
bbe9c610be
fix: add a default margin bottom to ul and ol in a comment field (#2414)
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-04-10 08:46:49 -04:00
SleeplessOne1917
a860bdd700
Community visibility setting (#2376)
* Update deps

* Add community visibility to community form for editing and creating

* Add translations

* Make visibility display

* Add translations

---------

Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-03-14 12:09:11 -04:00
SleeplessOne1917
7cfe9a1a40
Fix scroll bug when modal closes from browser vack button (#2363)
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-02-16 08:15:12 -05:00
Jack Linhart
ae5a2817aa
increase font sizes on all themes (#2352)
* increase font sizes on all themes

* update SCSS variables so auto-gen themes properly in build
2024-02-04 16:17:38 -05:00
SleeplessOne1917
b41aa874bf
Fix compact theme letter tail cutoff bug (#2301)
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2024-01-04 12:54:24 -05:00
Pseudochron
ab74d3ad90
Fix dark theme highlight color for recent comments, restores colors to 0.18 values (#2297)
* Update darkly-compact.css to set highlight-bg for dark theme

* Revert main.css

* Update darkly-pureblack.css to set highlight-bg for dark theme

* Update darkly-red.css to set highlight-bg for dark theme

* Update darkly.css to set highlight-bg for dark theme

* Update vaporwave-dark.css to set highlight-bg for dark theme

* Update i386.css to set highlight-bg for dark theme

* Update _variables.darkly-pureblack.scss to set $mark-bg-dark

* Update _variables.darkly.scss to set $mark-bg-dark

* Update _variables.i386.scss to set $mark-bg-dark

* Update _variables.vaporwave-dark.scss
2023-12-21 04:39:27 +00:00
SleeplessOne1917
9e68dbef20
Use highlight color for new comments on dark themes that won't burn your (#2295)
eyes out

Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2023-12-19 15:41:13 -05:00
SleeplessOne1917
8594a30a53
Moderation/content action overhaul (#2258)
* Fix remove post dialog

* Consolidate mod action logic

* Make mod action form less janky

* Move content action dropdown to its own component

* Make reusable component for content action buttons

* Finish up mod dropdown

* Introduce new content dropdown component to post listing

* Fix cancel moderation button bug

* Add icons, tweak UI

* Handle delete/undelete icons

* The thing

* Fix some of the banning related bugs

* Fix mod form ban bugs

* Fix some more bugs

* Make comments use dropdown menu

* Use mod action form with comments

* Make confirmation modal

* Make all the mod action dialogs modals

* Tweak modal

* Fix bug with mod form submit

* Tweak modal more

* More modal tweaking and some feedback toasts

* Use icon pairs for on/off

* Make modals auto focus input

* Implement PR suggestions

* Make UI use async functions where needed

* Make loading state for context action modals

* Hide context actions that users should not be able to do

* Add loading state to confirmation modals

* Use updated translations

* PR feedback

* Add forgotten trnslations

* Fix scrolling bug

---------

Co-authored-by: SleeplessOne <insomnia-void@protonmail.com>
2023-12-06 18:17:02 -05:00
Dessalines
7f4493d4db
Revert "Ignore autogenerated css files from being tracked in the repo (#2256)" (#2259)
This reverts commit a41258c793.
2023-11-30 05:28:14 -05:00
SleeplessOne1917
a41258c793
Ignore autogenerated css files from being tracked in the repo (#2256)
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2023-11-29 14:48:02 -05:00
Benjamin Barbeau
2b5068187c
Add code highlighting (#2195)
* Add highlighting

* Adds it to mdNoImages as well

* Revert "Adds it to mdNoImages as well"

This reverts commit 2f8e3bb0cc.

* Revert "Add highlighting"

This reverts commit 80bcddd4df.

* Prevent yarn.lock from massively updating

* Add code themes locally

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-10-20 11:18:13 -04:00
Daniel Lo Nigro
42d60fe3d5
Simplify favicon (#2176)
Removes Inkscape metadata and resulting unneeded XML namespaces
2023-10-08 00:31:02 +00:00
SleeplessOne1917
c6d6107ddc
feat: Accomodate 2FA changes in UI
* feat: Add modal for totp settings

* Make inputs show up on totp modal

* Make modal work when enabling and disabling 2FA

* Give user better feedback when en/disabling totp

* Use new 2FA flow for login

* Refactor 2fa modal to prevent implementation details from leaking

* chore: Use constant objects where appropriate

* Incorporate translations
2023-10-04 21:24:23 -04:00
cmp
b2927c36a2
Update spoiler icon to diamond shape. (#2102) 2023-08-30 12:42:30 -04:00
Domenic Horner
9fd75faa16
Frontend Settings - "Blur NSFW" and "Auto Expand" (#1640)
* fix for en-AU locale

* add setting checkboxes for auto-expand and blur nsfw

* mappings for backend

* blur and nsfw settings

* add icon blur

* fix lint

* revert remove en-au
2023-08-07 13:48:55 -04:00
Dessalines
9f2289d466
Upgrading deps, running prettier. (#1987) 2023-07-28 16:15:42 -04:00
SleeplessOne1917
b7ec7ae311
Add show/hide button to password fields (#1861)
* Make working password inputs

* Make show/hide password button use icon

* Tweak look

* Handle delete account form separately from change settings form

* Adjust password strengthometer position

* Incorporate PR feedback

* Add translations
2023-07-14 13:33:24 -04:00
SleeplessOne1917
45333d8c10
Darkly tweak (#1811)
* Make outline buttons have better contrast in dark themes

* Change secondary color for darkly themes

* Put compact styles back to how they were before

* Forgot to build themes
2023-07-07 14:27:25 -04:00
SleeplessOne1917
f854a51090
Dark theme tweaks (#1840)
* Make post titles visible on i386

* Make post titles visible on vaporwave dark

* Undo unnecessary changes
2023-07-07 08:23:25 -04:00
Jay Sitter
9ce164245f
fix: Fix mobile thumbnail being too small (#1814)
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-07-05 15:31:08 -04:00
SleeplessOne1917
f6cbc896af
feat(theme): Vaporwave (#1682)
* Make vaporwave dark theme work

* Tweak vaporwave light theme

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-07-04 12:13:31 -04:00
Jay Sitter
8323bc9ab6
fix: Revert smaller text size (#1795) 2023-07-04 11:58:54 -04:00
Jay Sitter
0047c17eb3 fix: Fix avatar image overlay aspect ratio 2023-07-02 17:24:06 -04:00
Jay Sitter
a72cc6807e fix: Fix vote buttons in list view variable width 2023-07-02 11:20:02 -04:00
Alec Armbruster
38a109ba92
Add fixed width/height to PostListing thumbnail parent (#1660)
* add static width/height for post listing thumbnails

* Update src/shared/components/post/post-listing.tsx

Co-authored-by: Jay Sitter <jsit@users.noreply.github.com>

* make hopefully final tweaks

* remove .overflow-hidden

---------

Co-authored-by: Jay Sitter <jsit@users.noreply.github.com>
Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-06-28 22:44:10 -04:00
SleeplessOne1917
5c16be767c
Add i386 theme (#1662)
* Add i386 theme

* Make searchable selects display properly

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-28 16:43:33 -04:00
Alec Armbruster
93e015393c
Merge branch 'main' into feat/pureblack-theme 2023-06-27 11:31:07 -04:00
Alec Armbruster
63337848ed
fix a few colors 2023-06-27 11:30:32 -04:00
SleeplessOne1917
eef3ac41d3
Merge branch 'main' into fix/wider-max-width-1536 2023-06-26 20:29:13 -04:00
Jay Sitter
f57bf3bb8b fix: Restore icon avatars; make smaller and roundrect 2023-06-26 19:04:13 -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
Alec Armbruster
6d92c07c89
Merge branch 'main' into feat/pureblack-theme 2023-06-26 15:50:14 -04:00
Jay Sitter
aee7e4d45b
feat(UI): Reduce base font size (#1591)
* feat: Reduce base font size

* chore: Build themes

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-26 14:53:37 -04:00
Alec Armbruster
3730cc6d82
run prettier 2023-06-26 10:41:21 -04:00
Alec Armbruster
94d223b162
add darkly-pureblack theme 2023-06-26 10:37:39 -04:00
Jay Sitter
424d29847b fix: Set max height on post listing thumbnails 2023-06-25 19:40:49 -04:00
Jay Sitter
6b5ea004a6
Merge branch 'main' into fix/wider-max-width-1536 2023-06-25 17:51:21 -04:00
Jay Sitter
937dd5f86a feat(UI): Fix some link hover colors 2023-06-25 17:18:25 -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
Jay Sitter
e09b1f53d3 Merge remote-tracking branch 'lemmy/main' into fix/a11y-fixes-2
* lemmy/main: (38 commits)
  chore: Empty commit to re-trigger Woodpecker
  fix(a11y): Fix non-list item being inside ul list in navbar
  fix: Fix non-unique ID attribute on re-used element
  fix: Fix another class
  fix: Fix some Bootstrap 5 font classes
  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
  ...
2023-06-25 01:05:36 -04:00
Jay Sitter
dccfc72e73 fix(a11y): Change image remove button to true button element 2023-06-24 19:44:22 -04:00
Jay Sitter
5ed7352359 fix: Emoji picker can be closed with escape key, other a11y fixes 2023-06-24 01:58:21 -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