Skip to content

Commit

Permalink
feat: Add props for controlling WebGL settings (deephaven#5773)
Browse files Browse the repository at this point in the history
- Web UI now has controls for enabling/disabling WebGL:
deephaven/web-client-ui#2143
- These can be controlled by config values on the server
- Add the default values to dh-defaults.prop
- If they're unset, UI defaults to `true` for both values (same value as
the dh-defaults.prop)
  • Loading branch information
mofojed authored Jul 18, 2024
1 parent f52012e commit 65aac65
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion props/configs/src/main/resources/dh-defaults.prop
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,17 @@ authentication.anonymous.warn=true
web.storage.layout.directory=/layouts
web.storage.notebook.directory=/notebooks

# Enable WebGL support in the web interface, or forcibly disable it and prevent users from enabling it.
web.webgl=true
web.webgl.editable=true

# List of configuration properties to provide to unauthenticated clients, so that they can decide how best to prove their
# identity to the server.
authentication.client.configuration.list=AuthHandlers

# List of configuration properties to provide to authenticated clients, so they can interact with the server.
client.configuration.list=java.version,deephaven.version,barrage.version,http.session.durationMs,file.separator,web.storage.layout.directory,web.storage.notebook.directory
client.configuration.list=java.version,deephaven.version,barrage.version,http.session.durationMs,file.separator,web.storage.layout.directory,web.storage.notebook.directory,web.webgl,web.webgl.editable

# Version list to add to the configuration property list. Each `=`-delimited pair denotes a short name for a versioned
# jar, and a class that is found in that jar. Any such keys will be made available to the client.configuration.list
# as <key>.version.
Expand Down

0 comments on commit 65aac65

Please sign in to comment.