mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-24 10:07:29 +00:00
b7fe70d8c1
* 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 |
||
---|---|---|
.github | ||
.husky | ||
lemmy-translations@2fb2b8277a | ||
src | ||
.babelrc | ||
.dockerignore | ||
.gitignore | ||
.gitmodules | ||
.npmrc | ||
.prettierignore | ||
.prettierrc.json | ||
.woodpecker.yml | ||
accessibility_tests.sh | ||
cliff.toml | ||
CONTRIBUTING.md | ||
deploy.sh | ||
dev.dockerfile | ||
Dockerfile | ||
eslint.config.mjs | ||
generate_translations.js | ||
LICENSE | ||
package.json | ||
pnpm-lock.yaml | ||
README.md | ||
renovate.json | ||
test_deploy.sh | ||
tsconfig.json | ||
update_translations.sh | ||
webpack.config.js |
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> . |