lemmy-ui icon indicating copy to clipboard operation
lemmy-ui copied to clipboard

Sitewide taglines

Open not-layla opened this issue 3 years ago • 5 comments

Similar to Reddit's prompts with one of their slogans, sitewide taglines can function to make an instance more cosy for the community.

Implementation is pretty simple.

It's probably better if it's loaded in from the config file though, we currently have them hardcoded in a JSON file.

Example

not-layla avatar Jan 27 '22 20:01 not-layla

This seems like a good opportunity to introduce a config file for lemmy-ui (preferably separate from the backend config). It would also be useful for other optimizations, like changing the default theme.

Nutomic avatar Jan 28 '22 00:01 Nutomic

No this should be in the backend like everything else, otherwise apps wouldn't be able to display it, or mods using those apps edit it. I see this as being another table, and coming back with GetSite.

dessalines avatar Jan 28 '22 21:01 dessalines

That also works, but having it in a config file would be simpler. And i dont think that apps would really care to show this.

Nutomic avatar Jan 28 '22 23:01 Nutomic

Them coming back with GetSite gives more flexibility, I agree that mobile apps wouldn't show the taglines but other web/desktop apps written down the line will probably want to, it's more consistent. Is there a way to transfer issues or shall I recreate this issue in the backend repo?

not-layla avatar Jan 29 '22 09:01 not-layla

You could probably just recreate another one in the backend. I don't always do this, but almost every feature should have both a back end and front end issue.

dessalines avatar Jan 29 '22 14:01 dessalines