0.5.0-dev.1
Pre-releaseChanges in version 0.5.0 (in development)
-
Users can now manually enter a variable's min/max values that are
applied to the selected color bar. The editor that pops up
when clicking the value range scale in the variable legend overlay.
(#140) -
The viewer's map now uses EPSG:4326 projection as default so datasets
that use this grid too will have image layers showing square pixels. -
Reduced layer flickering when a new time step is selected.
Layer transitions are now performed more smoothly. (#119) -
We can now turn off image smoothing just for the variable layer.
The background map is no longer concerned by this setting and
therefore preserves its quality. (#181) -
Simplified use of xcube-viewer as a container. (#167)
The ultimate goal of this activity was to get rid of build-time
configuration and replace it by runtime configuration.
This introduced some breaking changes as follows.
We no longer use.env
files for build-time configuration.
Instead, a runtime configuration is initially loaded:- If query parameter
configPath
is given, it is loaded from
{origin}/{configPath}/config.json
. - Otherwise, it is loaded from
{origin}/config/config.json
. - If the configuration could not be fetched, the default configuration
src/resources/config.json
is used instead.
The first option is useful for development. For example, if the app is
loaded from URL{origin}?configPath=config/myapp
, its configuration is
loaded from{origin}/config/myapp/config.json
where configuration
resources are placed inpublic/config/myapp/
. For this purpose
public/config/
is in.gitignore
.The JSON schema for the configuration is given in
src/resources/config.schema.json
. - If query parameter
-
Fixed eslint warnings of type "'ACTION' is already defined" during build.