sgsinclair / Voyant

GNU General Public License v3.0
207 stars 53 forks source link

delete tool #511

Closed chiaramine closed 3 years ago

chiaramine commented 3 years ago

i am using your project for my university thesis, i need to know how to delete a tool from the menu. For exemple i need to delete dremscape from the toolbar. how can I do? Thank you. Chiara

ajmacdonald commented 3 years ago

Hello Chiara, Can you please explain your issue further? Which menu are you referring to? If it is this one, then unfortunately the menu cannot be customized (unless you are working with your own local copy of Voyant).

Screenshot 2020-10-29 122842

chiaramine commented 3 years ago

Hello, in my web application I import the voyant.war file into my web server, I would like to know if there is a way to remove dreamscape from the corpus tool. I downloaded the Voyant project, I would like to modify it and create a new .war file with the changes in the menu. however I can't find a way to modify the corpus tool. can you please indicate the code that I had to change? Thank you so much. Chiara

Il giorno 29 ott 2020, alle ore 17:31, Andrew notifications@github.com ha scritto:

Hello Chiara, Can you please explain your issue further? Which menu are you referring to? If it is this one, then unfortunately the menu cannot be customized (unless you are working with your own local copy of Voyant).

https://user-images.githubusercontent.com/882444/97603144-7f102580-19e2-11eb-83ad-af82833f5526.png — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sgsinclair/Voyant/issues/511#issuecomment-718871106, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANL5WIHZSTIM7SWHHIPZ6F3SNGKELANCNFSM4TDTVV4A.

ajmacdonald commented 3 years ago

The entries for that menu are populated here: https://github.com/sgsinclair/Voyant/blob/master/src/main/webapp/app/VoyantCorpusApp.js#L25-L47 You'd need to remove the dreamscape entries from moreToolsScaleCorpus and moreToolsTypeViz.

chiaramine commented 3 years ago

Hello, I made the changes you told me and created a new .war file but nothing has changed. Do you know of another way to modify the 'corpus tool' menu?Do you know what the problem could be? Chiara

Il giorno 30 ott 2020, alle ore 21:18, Andrew notifications@github.com ha scritto:

The entries for that menu are populated here: https://github.com/sgsinclair/Voyant/blob/master/src/main/webapp/app/VoyantCorpusApp.js#L25-L47 https://github.com/sgsinclair/Voyant/blob/master/src/main/webapp/app/VoyantCorpusApp.js#L25-L47 You'd need to remove the dreamscape entries from moreToolsScaleCorpus and moreToolsTypeViz.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sgsinclair/Voyant/issues/511#issuecomment-719776812, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANL5WIB4H2ERMDODFBCDR4DSNMNR7ANCNFSM4TDTVV4A.

ajmacdonald commented 3 years ago

I'm not sure why it's not working for you, unfortunately. When I make those changes locally it removes dreamscape. However, I'm not building the .war file, so it may be related to that. If you make some other arbitrary changes, do they persist in the .war file?