RocketChat / RocketChat/Rocket.Chat
Settings>Layout: Custom CSS / scripts only loaded after RC restart
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
The CSS/script changes are instantly available in the meteor settings.
E.g. eval(Meteor.settings.Custom_Script_Logged_In) works instantly.
But reloading doesn't trigger the scripts as the file "/scripts_887...a.js" remains unchanged until next server restart.
At least a hint in the documentation would be nice. There's only written:
Remember to Save changes to apply any customization made.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the Settings > Layout documentation and the current note that saving applies customizations. Verify the observed reload behavior against the need for an RC restart, then update the documentation so the required restart and its effect on CSS/scripts are explicit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, javascript
- Domain
- documentation, web-dev
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100