GitLab | Harkishen Singh pushed 2 commits to MindTheWord
C. Anirudh
@C-Anirudh
@arteevraina use this command to check if your files are formatted correctly prettier --check -- lib/assets/js/main.js lib/scripts/**/*.js test/**/*.js
I have made changes in my forked repo ... to check it out i am building the project and loading the extension in chrome. But some files (like popup.js) revert back to original. Can anyone help me out with that,
?*
C. Anirudh
@C-Anirudh
Hey @tobehonest this is the basic workflow:
Make changes
Build the project using gulp build command
Refresh if extension already loaded or load the extension as per browser (instructions given in README.md)
Can you please explain what you are doing, so we can figure out where you may be going wrong?
Lakhman Singh
@Lakhsi_gitlab
@C-Anirudh
It means ur changes were not reflected ?
C. Anirudh
@C-Anirudh
@Lakhsi_gitlab yes, unless @tobehonest explains more about what he did, it will be difficult to help..
Pulkit
@pulkit1joshi
I edited popup.js and index.html and then build the project to check it in chrome. However popup.js reverted back to original. I am not sure why it is happening.
C. Anirudh
@C-Anirudh
@tobehonest I think you made changes to popup.jswhich is present at lib/, if you want to make changes to popup.js you must do it at the file present at lib/scripts/controllers. Can you confirm this?
Pulkit
@pulkit1joshi
Yes I did it in lib folder instead of controllers
C. Anirudh
@C-Anirudh
The popup.js in the lib/ folder is generated during build, changes must be made at lib/scripts/controllers/popup.js. Glad you could solve the issue.
Pulkit
@pulkit1joshi
Yes! My Bad ... Thanks
Lakhman Singh
@Lakhsi_gitlab
@C-Anirudh now changes reflecting or not??
C. Anirudh
@C-Anirudh
@Lakhsi_gitlab it was @tobehonest who was facing the issue, I guess it is solved now :)
Lakhman Singh
@Lakhsi_gitlab
Ok
I think most of issue is solved for this project .
C. Anirudh
@C-Anirudh
@Lakhsi_gitlab There is a lot of scope for improvement in the project. You can search for open unresolved issues or create your own
Lakhman Singh
@Lakhsi_gitlab
@C-Anirudh thanx for suggestion let's start working on them
Lakhman Singh
@Lakhsi_gitlab
Can u help us for gsoc , i mean will u be gsoc mentor for this project @Harkishen-Singh