cianfrocco-lab / COSMIC-CryoEM-Gateway

Web platform for analyzing cryo-EM data on Comet cluster at San Diego Supercomputer Center
http://cosmic-cryoem.org
GNU General Public License v3.0
9 stars 1 forks source link

Increase number of characters shown in pull down menu for data item in task #264

Closed mcianfrocco closed 4 years ago

mcianfrocco commented 4 years ago

Can we increase the length of characters shown in pull down menus? Right now it truncates long file names:

Screen Shot 2020-09-04 at 1 54 59 PM
kenneth59715 commented 4 years ago

Hmmm, I'm not seeing anything in the pulldown. Maybe something in my browser config does not support that...

kenneth59715 commented 4 years ago

What code generates that pulldown? Is it dynamically generated?

kenneth59715 commented 4 years ago

NgbwSupport.java has a constant, TEST_LENGTH, that gets used to truncateText for dropdowns. Set this large to prevent missing text. I set this to 400 in staging, but have not built or tested, yet.

kenneth59715 commented 4 years ago

TEXT_LENGTH

mcianfrocco commented 4 years ago

Works. @kenneth59715 can you commit to the github repo and then close the issue?

kenneth59715 commented 4 years ago

Okay, it's in github repo.