Skip to content

Commit

Permalink
Clean up JS API samples to be easier to use on startup (deephaven#4017)
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 authored Jun 20, 2023
1 parent 9554ff4 commit 3ed4a34
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 153 deletions.
96 changes: 0 additions & 96 deletions web/client-api/src/main/java/io/deephaven/web/public/grpc.html

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
Welcome to the Deephaven JS API. This page has the api loaded, open the browser console to interact with the server.
<h2>Feature Demos</h2>
<ul>
<!-- <li><a href="grpc.html">Raw GRPC sample in JS</a></li>-->
<!-- <li><a href="simple.html">JS API analog of the SimpleDeephavenClient</a></li>-->
<li><a href="console.html">JS API analog of the ConsoleClient</a></li>
<li><a href="table_basic.html">Create a table and display the contents</a></li>
<li><a href="table_viewport.html">Create a table and display a viewport of it, with paging buttons</a></li>
Expand All @@ -23,11 +21,16 @@ <h2>Feature Demos</h2>
<li><a href="totals_tables.html">Create totals, grand totals from an existing table</a></li>
<li><a id="auth" href="authentication">Authentication samples</a></li>
</ul>
<script>
<script type="module">
// If a PSK is specified in the URL, ensure that the auth link retains it
var urlPsk = new URL(window.location).searchParams.get('psk');
if (urlPsk) {
document.getElementById('auth').href += "?psk=" + urlPsk;
}

// Import the JS API and attach it to the window object for easier experimentation
import dh from './dh-core.js'
window.dh = dh;
</script>
</body>
</html>
54 changes: 0 additions & 54 deletions web/client-api/src/main/java/io/deephaven/web/public/simple.html

This file was deleted.

0 comments on commit 3ed4a34

Please sign in to comment.