geodesymiami / insarmaps

3 stars 0 forks source link

Enhancement: Ability to minimize frame window and order of datasets shown #24

Closed falkamelung closed 3 years ago

falkamelung commented 4 years ago

The frame window takes a lot of real estate. It would be great to have the ability minimize it.

What determines the order of the data sets? It would be good to show the latest one ingested at the top.

What determines how many data sets are shown before scrolling starts? I suppose it is hardwired into the code? It would be great to have one config file where essentially everything can be customized.

image
stackTom commented 3 years ago

I am not sure what the default ordering is. I think it's just the order it received it from the database. I can make it so latest one ingested is at top.

In regards to the size, it is hardwired. It is part of the website's css. I suppose I can make a config file on the server so it uses this for the size before it generates the css. But the css value can also simply be changed, so I'm not sure if it is worth it as a css file is basically a config file for the style of the web page. Please let me know.

I will add a minimize button.

falkamelung commented 3 years ago

A minimizing button would do it. For a try lets use minimized as default. I will let you know if we can keep this. For the mobile platform minimized for sure should be default.

stackTom commented 3 years ago

I am sorry, I contradicted myself in another issue I closed. Here is what I typed there, in case you see it: `Done. I did not do this: The frame window should be minimized by default.

As it will be kind of difficult due to how our frame window works so that the title of each column stays in place while you scroll.

Please re-open this issue if you think this is a high priority item.` I tried adding a minimize button yesterday after I said here that I would add it. And that's when I remembered that dealing with the bottom frame window is not as trivial as with other windows because the column names stay at top even when you scroll.

falkamelung commented 3 years ago

I don't fully understand Will it be possible to add a minimize button? Assuming that it is easy I am adding a 'high priority' button. The mobile platform is a different issue.

stackTom commented 3 years ago

It is possible, but last time I tried to do anything with the frame window, it was difficult. There are lot of hackish things done for the column names to remain at top while you scroll. Not sure how badly adding a minimize button will break this.

The things for the mobile platform are easy. The minimize button is easy for any window, except for the frame window. But I will investigate.

stackTom commented 3 years ago

Done. On mobile it's minimized by default too.