plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Improve the button group at the bottom of infragram page

Open Rishabh570 opened this issue 8 years ago • 13 comments

Please describe the problem (or idea)

The forward and fast-forward buttons in the button group at the bottom of infragram.org page are not very nice from the UI standpoint. They can be either made like the ones in publiclab.org or we can add an svg/png for them.

What happened just before the problem occurred? Or what problem could this idea solve?

Currently, the button group at infragram.org looks like,

screenshot from 2018-10-09 11-44-15

We can either make it like the one at publiclab.org, which looks like

screenshot from 2018-10-09 11-51-37

or we add an SVG/PNG, (flaticon.com has many options)

Please show us where to look

https://infragram.org

What's your PublicLab.org username?

icode365

This can help us diagnose the issue:

Browser, version, and operating system

Many bugs are related to these -- please help us track it down and reproduce what you're seeing!


Thank you!

Your help makes Public Lab better! We deeply appreciate your helping refine and improve this site.

To learn how to write really great issues, which increases the chances they'll be resolved, see:

https://publiclab.org/wiki/developers#Contributing+for+non-coders

Rishabh570 avatar Oct 09 '18 06:10 Rishabh570

I'd like to work on this issue

faithngetich avatar Oct 11 '18 20:10 faithngetich

@Rishabh570 https://infragram.org seems to be an external link. is it part of the public lab plots code...

champagnepappi avatar Oct 11 '18 20:10 champagnepappi

@champagnepappi Code related to infragram is here @faithngetich Go ahead!

Rishabh570 avatar Oct 12 '18 03:10 Rishabh570

Hey @Rishabh570 I have made some changes and raised a WIP PR, unfortunately, I am unable to test how it looks on the browser using my local environment. So the current changes are just based on the modification I did on the developer tools browser. Could you please share instructions on how I can be able to view the page locally.

faithngetich avatar Oct 13 '18 17:10 faithngetich

Hi @faithngetich, setup instructions are shown at this page itself...just run the node server and go to the related URL, you'll land on that page.

Rishabh570 avatar Oct 14 '18 04:10 Rishabh570

Thanks @Rishabh570 I have been able to access the http://localhost:8000/sandbox/ but I have not been able to navigate to the local version of the site below in the screenshot. Could you please help. screen shot 2018-10-14 at 11 48 17

faithngetich avatar Oct 14 '18 08:10 faithngetich

@faithngetich Okay, so you want to see that button group on localhost...do this,

  • Go to index.js of routes and in export.index function, remove everything(or comment them out) such that it should contain only this:
res.render('index', {
          title: 'Infragram: online infrared image analysis',
          images: "",
          pageNumber: 1,
          pageCount: 1
        });

I think searching for an image in local db is causing the template to not get rendered...Try this and then go to localhost:8001/

Rishabh570 avatar Oct 14 '18 12:10 Rishabh570

@faithngetich Were you able to open that page up on localhost?

Rishabh570 avatar Oct 15 '18 05:10 Rishabh570

Hey @Rishabh570 yes I have thanks.

faithngetich avatar Oct 15 '18 07:10 faithngetich

localhost:8001/ is not working though so I have just had to access it through localhost

faithngetich avatar Oct 15 '18 07:10 faithngetich

No worries, you can change the port in app.js if it's not working anyways (only for development obviously)

Rishabh570 avatar Oct 15 '18 08:10 Rishabh570

@Rishabh570 could you please my PR. Here's the link to the PR

faithngetich avatar Nov 05 '18 20:11 faithngetich

This was solved by @faithngetich ! Thank you!

Actually if you put the exact text closes #____ where ____ is the issue number, in the PR description, then when the PR is merged, the corresponding issue is closed automatically! Just a tip!

jywarren avatar Nov 11 '18 19:11 jywarren