RocketChat / RocketChat/Rocket.Chat

Settings>Layout: Custom CSS / scripts only loaded after RC restart

Open
#35,352 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.