Giter Site home page Giter Site logo

Comments (2)

eteq avatar eteq commented on July 24, 2024 2

Summary of a discussion @astrofrog @brechmos @nmearl and I had out-of-band:

  • There will be a base application (perhaps this is the ApplicationEngine?) that contains 1) a menu bar (which is mainly for "desktop mode" but would appear using buttons/etc in browser mode) 2) a tool bar 3) a side bar 4) a content area for viewers
  • A specific application uses this plus a configuration object to actually lay out the UI
  • The optional items (1-3) are to be specified in the configuration object such that if they are off, they never get created at all in the UI (as opposed to created and hidden).
  • The glapp will have all of these (except maybe the menu bar?) on, with the content area empty to replicating the qtglue-like interface.
  • Other apps might have some of them off - e.g., minimal_cubeviz would start with all the optional items off, but a 3d viewer and 1d viewer in the content pane (and a method for loading cubes), and desktop_cubeviz would have the menu bar turned on with a file-open that triggers cube loading.
  • Configuration object items can be either text, which means "use the glue registries for this", or live python objects, which means "stick that in the UI". E.g., a configuration file might specify to use the standard glapp toolbar, but with a button appended on the end with its callback already defined in that python instance.

This information should go in the docs before we close this issue, but it's probably better to wait until we've built a test app in this frame work since things always change once there's an implementation...

One non-urgent question that comes up from the above plan: should the content area be flexible enough that things other than viewers can be put there?

cc @astrofrog @brechmos @nmearl for feedback/ 👍's

from jdaviz.

eteq avatar eteq commented on July 24, 2024

I encountered this while look at something else but I think this was done in #40 and subsequent work

from jdaviz.

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.