Giter Site home page Giter Site logo

we need a better UI about titiler HOT 4 CLOSED

developmentseed avatar developmentseed commented on May 22, 2024 1
we need a better UI

from titiler.

Comments (4)

dchirst avatar dchirst commented on May 22, 2024 1

Perhaps this would be better suited in Discussions, rather than Issues?

I'll draft up a few possibilities that might work - there are lots of options ranging from small UI tweaks to large overhauls.

from titiler.

vincentsarago avatar vincentsarago commented on May 22, 2024

right now the default UI fetch the dataset metadata (info + stats) when openning a new dataset. This helps when we are dealing with non-byte data (rescaling the value from min/max found in the stats)

fetch(`${metadata_endpoint}?url=${scope.url}&max_size=256`)

I think we should make metadata fetching optional (and thus making the histogram optional too)

FYI: I've implemented some of this in developmentseed/rio-viz#38

Edit: ☝️ was done in 473c37d

from titiler.

dchirst avatar dchirst commented on May 22, 2024

Hey @vincentsarago. This issue is pretty old, but I'd be interested in taking it on. Do you have any other ideas on how you'd like to improve the UI, or has most of the work for this been done already?

Also, I'm not sure I fully understand how the UI here interfaces with rio-viz - should it be all one codebase (in titiler.local like this issue says), or should development be done in rio-viz instead?

from titiler.

vincentsarago avatar vincentsarago commented on May 22, 2024

titiler and rio-viz are two different project but they share a lot (well now rio-viz depends on titiler.core 😅)

titiler.extensions's viewers are really close to the one in rio-viz and I usually experiment first in rio-viz before changing the UI in titiler. About my last comment, I already made the change in titiler's viewer (we now only fetch the info for the dataset and then the user can fetch the statistics)

That's said, the viewers are pretty old and written in pure javascript/css. I'm sure we can do better!!! I'm not a frontend designer/developper so I prefer let other do this task 😂

Note: Designing a frontend for titiler client is going to be quite complex so if we really want to do this I should also check internally if some of our designers want to help (👋 @LanesGood @ricardoduplos) but I feel you have a great knowledge of titiler already so I'm eager to ear what you have in mind 😃

from titiler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.