Comments (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), anddesktop_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.
I encountered this while look at something else but I think this was done in #40 and subsequent work
from jdaviz.
Related Issues (20)
- TST: Re-enable numpy-dev when we can
- Remove deprecated Canvas Rotation plugin HOT 2
- [FEAT] Turning off certain features in plugins HOT 4
- Update Y axis label on spectrum viewer to accurately describe unit type
- BUG: Uncertainty type ignored in Cubeviz spectral extraction HOT 1
- BUG: Mask cube is ignored in Cubeviz spectral extraction HOT 2
- [BUG] Can't type in VMIN and VMAX values for the stretch HOT 3
- BUG: WCS to Pixels to WCS gives wrong reference data HOT 4
- [FEAT] smart viewer bounds
- _set_axes_lim called too many times when Imviz adjusts more than one limit at once
- [BUG] Click-to-center broken when WCS-linked HOT 3
- [BUG] No formats listed for Aperture Photometry table export
- [BUG] Moment map creates nan image with frequency units and continuum
- TST: test_cubeviz_aperphot_cube_orig_flux fails with RuntimeError: NULL error object in wcslib HOT 7
- Make jdaviz unit converter more robust to different data types HOT 1
- [BUG] Empty content when loading using JupyterLab
- API Proposal: Importing/loading spatial and spectral regions HOT 30
- Filter out impossible SB <> SB and Flux <> Flux conversions in unit conversion plugin[BUG]
- Flux unit conversion behavior with arrays of different sizes and scalars
- Fix matplotlib 3.9 compatibility with standalone app
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jdaviz.