The official web app for lemmy.
Go to file
matc-pub b7fe70d8c1
Render more while reloading only some resources (#2480)
* AdminSettings remove unused currentTab state

* Fix amAdmin check in reports fetchInitialData

* Make CreatePost render earlier

* Include children of auth and anonymous guard in first render.

* Convert DidMount to WillMount where things don't depend on the DOM

`componentDidMount` is called after the first render. A lot of
components used it to call `setState`, which causes a second render.

* Keep route components mounted during same route navigation

Not sure why this wasn't the case without this change. The only
difference here is that the same array is reused in every render.

* Disable mounted same route navigation by default

* Enable mounted same route navigation for some routes

* Render more while loading

* Prettier markup

* Make Post use query params and reload comments independently

* Fix issue with <Prompt /> for forms that remain mounted after "leaving".

* Make Search not rerender the results on every keystroke

* Discard old requests

These used to (mostly) arrive at the old already unmounted components.
Now they would render briefly until the latest response is received.

* Move non breaking space to modlog

* Make show optional for modals
2024-05-22 15:46:13 -04:00
.github Removing alectrocute and jsit from codeowners. (#2391) 2024-03-13 17:19:07 +00:00
.husky Move to pnpm (#2345) 2024-01-28 22:09:08 -05:00
lemmy-translations@2fb2b8277a Updating translations. 2024-05-15 13:42:05 -04:00
src Render more while reloading only some resources (#2480) 2024-05-22 15:46:13 -04:00
.babelrc Use mixins and decorators for scroll restoration and tippy cleanup (#2415) 2024-04-11 13:18:07 -04:00
.dockerignore Somewhat working dockerfile, without the networking. 2020-09-09 18:56:02 -05: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
.npmrc Use non-deprecated QR library (#2475) 2024-05-21 14:20:32 -04:00
.prettierignore Block urls (#2409) 2024-04-11 08:56:56 -04:00
.prettierrc.json Adding Community Language fixes. #783 (#868) 2022-12-19 10:57:29 -05:00
.woodpecker.yml Adding alt_text and custom_thumbnail to post form. (#2404) 2024-04-04 19:59:13 -04:00
accessibility_tests.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
cliff.toml Adding git-cliff to help generate changelogs. (#2386) 2024-03-08 12:14:05 -05:00
CONTRIBUTING.md Remove docs translations from links (#1441) 2023-06-21 10:41:08 -04:00
deploy.sh Move to pnpm (#2345) 2024-01-28 22:09:08 -05:00
dev.dockerfile Fix dev dockerfile (#2444) 2024-05-01 13:21:54 -04:00
Dockerfile Using corepack to install pnpm, instead of npm -g (#2431) 2024-04-18 21:22:50 -04:00
eslint.config.mjs Update dependency eslint to v9 (#2472) 2024-05-15 13:30:03 -04: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 0.19.4-rc.1 2024-05-22 08:57:29 -04:00
pnpm-lock.yaml Update dependency i18next to v23.11.5 (#2477) 2024-05-21 14:29:37 -04:00
README.md Use http client (#1081) 2023-06-14 08:20:40 -04:00
renovate.json Configure Renovate (#2458) 2024-05-15 10:08:38 -04:00
test_deploy.sh use set -e in all bash scripts 2021-04-21 13:57:42 +02:00
tsconfig.json Use mixins and decorators for scroll restoration and tippy cleanup (#2415) 2024-04-11 13:18:07 -04:00
update_translations.sh Fixing follow from subscribe page. Fixes #2215 (#2229) 2023-11-22 22:44:42 +00:00
webpack.config.js Lazy loading less common languages for syntax highlighting (#2388) 2024-03-14 08:31:07 -04: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>.