Skip to content

0.5.0-dev.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@forman forman released this 18 Jan 17:03

Changes 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:

    1. If query parameter configPath is given, it is loaded from
      {origin}/{configPath}/config.json.
    2. Otherwise, it is loaded from {origin}/config/config.json.
    3. 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 in public/config/myapp/. For this purpose
    public/config/ is in .gitignore.

    The JSON schema for the configuration is given in
    src/resources/config.schema.json.

  • Fixed eslint warnings of type "'ACTION' is already defined" during build.