Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The changes doesn't reflect in browser #26234

Closed
raguct25 opened this issue Sep 25, 2023 · 3 comments
Closed

The changes doesn't reflect in browser #26234

raguct25 opened this issue Sep 25, 2023 · 3 comments
Labels
T-Other Questions, user support, anything else

Comments

@raguct25
Copy link

raguct25 commented Sep 25, 2023

Steps to reproduce

I had followed this link : https://github.com/vector-im/element-web#setting-up-a-dev-environment

I had installed matix-synapse server. The server connection runs on port 8008

image

server configuration: create config.json file and configured server address

image

When i try to some changes in matrix-react-sdk folder it doesn't appears in browser

Outcome

What did you expect?

I just want to hide room headr icons

image

I have changed code here matrix-react-sdk/src/components/views/rooms/LegacyRoomHeader.tsx

image

What happened instead?

whenever i changed logics in code but got this ouput in browser

image

Followed steps:

Whenever I made any changes in code I should followed this steps

  1. Clear browser storage
  2. Restart matrix synapse server
  3. delete webapp folder in element-web
  4. run : yarn start

Tasks

No tasks being tracked yet.
@t3chguy t3chguy added T-Other Questions, user support, anything else and removed T-Defect labels Sep 25, 2023
@t3chguy
Copy link
Member

t3chguy commented Sep 25, 2023

This is a bug tracker, not a support page. Try #element-dev:matrix.org

I suggest elaborating on exactly what you did for setup, you shouldn't need to do any of your last 4 steps when testing your changes, only refresh your browser.

@t3chguy t3chguy closed this as completed Sep 25, 2023
@raguct25
Copy link
Author

@t3chguy

I had followed this steps

Step-1
git clone https://github.com/matrix-org/matrix-js-sdk.git
cd matrix-js-sdk
yarn link
yarn install

Step-2
git clone https://github.com/matrix-org/matrix-react-sdk.git
cd matrix-react-sdk
yarn link
yarn link matrix-js-sdk
yarn install

Step-3
git clone https://github.com/vector-im/element-web.git
cd element-web

Step-4
Create config.json file copy all from config.sample.json file and replace this property values,

"default_server_config": { "m.homeserver": { "base_url": "http://localhost:8008", "server_name": "matrix.org" }, "m.identity_server": { "base_url": "http://localhost:8008" } },

Step-5
yarn link matrix-js-sdk
yarn link matrix-react-sdk
yarn install
yarn start

Step:6
The element web run in http://localhost:8080/

Step-7
normally i hide the some piece of code in LegacyRoomHeader.tsx file but modified code not updated in browser.

@t3chguy
Copy link
Member

t3chguy commented Sep 25, 2023

This is a bug tracker, not a support page. Try #element-dev:matrix.org

@element-hq element-hq locked as off-topic and limited conversation to collaborators Sep 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Other Questions, user support, anything else
Projects
None yet
Development

No branches or pull requests

2 participants