element-hq / element-hq/element-web

Credits should be customisable in config

Open
#15,282 0 comments 0 reactions 0 assignees View on GitHub
A-Config P2 T-Enhancement
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

In User Settings > Help and About > Credits, the credits (for default cover photo and emojis), seems to be hard coded in the [HelpUserSettingsTab.js](https://github.com/matrix-org/matrix-react-sdk/blob/develop/src/components/views/settings/tabs/user/HelpUserSettingsTab.js) file.

We should have a way to customise the credits to reflect changes made to a self installed Element.

In particular, if we're using `welcomeBackgroundUrl` in config.json, the default cover photo credit isn't relevant and we're not crediting the right people for their work.

There should be a way to configure this either through a file that contains the credits in html format, or via config.json e.g.

```
"credits": [
{ "order": 1,
"html": "*some html*"
},
{"order": 2,
"html:": "*some other html* "
]
```

Where the values in html are in within the list item tags e.g `

  • *some html*
  • `

    Also, this would mean that we could credit matrix.org for the spec and the element/new Vector team for being behind the application if the app admin wanted.

    Contributor guide

    Open the contributing guide

    Assessment

    This issue has not been assessed yet.

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.