No description
Find a file
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
.github feat: Add PR template (#1785) 2023-07-03 14:18:22 -04:00
.husky Extra lints (#192) 2021-02-21 21:24:09 -05:00
lemmy-translations@b3343aef72 Moderation/content action overhaul (#2258) 2023-12-06 18:17:02 -05:00
src Moderation/content action overhaul (#2258) 2023-12-06 18:17:02 -05:00
.babelrc Lint fix (#1035) 2023-05-23 18:55:36 -04:00
.dockerignore Somewhat working dockerfile, without the networking. 2020-09-09 18:56:02 -05:00
.eslintignore Merge branch 'main' into nicer-error-hnadling 2023-05-23 23:07:23 +00:00
.eslintrc.json ES-Lint tweak (#2001) 2023-07-28 16:07:16 -04:00
.gitignore Revert "Ignore autogenerated css files from being tracked in the repo (#2256)" (#2259) 2023-11-30 05:28:14 -05:00
.gitmodules Test submodules (#6) 2020-09-10 15:22:21 -04:00
.prettierignore Add code highlighting (#2195) 2023-10-20 11:18:13 -04:00
.prettierrc.json Adding Community Language fixes. #783 (#868) 2022-12-19 10:57:29 -05:00
.woodpecker.yml Multi-platform Dockerfile (#2235) 2023-11-27 07:32:04 -05:00
accessibility_tests.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
CONTRIBUTING.md Remove docs translations from links (#1441) 2023-06-21 10:41:08 -04:00
deploy.sh Use http client (#1081) 2023-06-14 08:20:40 -04:00
dev.dockerfile Updating for new v19 changes. (#2191) 2023-10-19 20:47:28 -04:00
Dockerfile Revert "fix: Build on native platform (#2261)" (#2262) 2023-12-01 07:17:54 -05:00
generate_translations.js Update translation submodule (#2023) 2023-08-04 16:24:13 -04:00
LICENSE Adding prettier 2020-08-23 00:04:58 -04:00
package.json v0.19.0-rc.11 2023-11-29 12:59:52 -05:00
README.md Use http client (#1081) 2023-06-14 08:20:40 -04:00
test_deploy.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
tsconfig.json Com create post (#1431) 2023-06-21 07:52:32 -04:00
update_translations.sh Fixing follow from subscribe page. Fixes #2215 (#2229) 2023-11-22 22:44:42 +00:00
webpack.config.js Remote follow (#1875) 2023-09-25 23:32:37 -04:00
yarn.lock Fixing cross-fetch issues. (#2254) 2023-11-29 12:46:48 -05:00

Lemmy-UI

The official web app for Lemmy, written in inferno.

Based off of MrFoxPro's inferno-isomorphic-template.

Configuration

The following environment variables can be used to configure lemmy-ui:

ENV_VAR type default description
LEMMY_UI_HOST string 0.0.0.0:1234 The IP / port that the lemmy-ui isomorphic node server is hosted at.
LEMMY_UI_LEMMY_INTERNAL_HOST string 0.0.0.0:8536 The internal IP / port that lemmy is hosted at. Often lemmy:8536 if using docker.
LEMMY_UI_LEMMY_EXTERNAL_HOST string 0.0.0.0:8536 The external IP / port that lemmy is hosted at. Often DOMAIN.TLD.
LEMMY_UI_HTTPS bool false Whether to use https.
LEMMY_UI_EXTRA_THEMES_FOLDER string ./extra_themes A location for additional lemmy css themes.
LEMMY_UI_DEBUG bool false Loads the Eruda debugging utility.
LEMMY_UI_DISABLE_CSP bool false Disables CSP security headers
LEMMY_UI_CUSTOM_HTML_HEADER string Injects a custom script into <head>.