enso/app/gui/index.html

60 lines
2.4 KiB
HTML
Raw Normal View History

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link
rel="stylesheet"
type="text/css"
crossorigin
href="https://api.mapbox.com/mapbox-gl-js/v2.1.1/mapbox-gl.css"
/>
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<!-- FIXME https://github.com/validator/validator/issues/917 -->
<!-- FIXME Security Vulnerabilities: https://github.com/enso-org/ide/issues/226 -->
<!-- NOTE `frame-src` section of `http-equiv` required only for authorization -->
Add Stripe for Billing Support (#8841) * feat: Stripe billing support Squashed commit of the following: commit b7ab361d2e2a3b11819ee0c964dd25dde2850eac Author: Nikita Pekin <nikita@frecency.com> Date: Wed Jan 10 04:14:14 2024 -0500 fixes commit 2b7f525be95d8d9e50dea9c5f31828dc2c823eae Merge: 717fba94a1 942e6c2305 Author: Nikita Pekin <nikita@frecency.com> Date: Mon Jan 8 08:54:15 2024 -0500 Merge branch 'develop' into wip/np/payment-page-2 commit 717fba94a1b900318ae7d32664b1cb292cb47364 Author: Nikita Pekin <nikita@frecency.com> Date: Mon Jan 8 08:32:38 2024 -0500 fix commit 66a278effddfe57d326acfe93b9fd6ce9f849a65 Author: Nikita Pekin <nikita@frecency.com> Date: Mon Jan 8 06:10:37 2024 -0500 rename endpoints commit 05ca2276d796d5431a19623f18d97503d730746c Author: Nikita Pekin <nikita@frecency.com> Date: Thu Jan 4 03:13:07 2024 -0500 update for new API commit ecc65a4b3bbf8167c91eb9cc9a71f05367ee41f6 Author: Nikita Pekin <nikita@frecency.com> Date: Tue Jan 2 09:02:23 2024 -0500 make subscribe appear in app commit 048883e343cc42ba75e2e1ebbfa50b9d3033255c Author: Nikita Pekin <nikita@frecency.com> Date: Mon Jan 1 05:13:04 2024 -0500 unify pricename and price commit 5439299eaa01732bcee3204c72987845a569029b Author: Nikita Pekin <nikita@frecency.com> Date: Sun Dec 31 22:57:52 2023 -0500 rename checkout sessions endpoint commit 67537302f9183918272324723b34e26659d10dbe Author: Nikita Pekin <nikita@frecency.com> Date: Sun Dec 31 22:57:44 2023 -0500 fix session ID commit 637968331bf3d2c10b9c6130ae994529b9606fdd Author: Nikita Pekin <nikita@frecency.com> Date: Sun Dec 31 19:59:29 2023 -0500 fix stripe JS commit 051a01e1988f62931e2b7f3f436b6490a09602e0 Author: Nikita Pekin <nikita@frecency.com> Date: Sat Dec 30 23:32:41 2023 -0500 tmp: add AWS profile and refactor commit 9f4199b22dfc5565bea737e31f8d379e098712a7 Author: somebody1234 <ehern.lee@gmail.com> Date: Sat Nov 4 04:49:29 2023 +1000 Fix `ALL_PATHS_REGEX` commit 4b53bcf7f82fe30c21db013d01dae58e20afb605 Author: somebody1234 <ehern.lee@gmail.com> Date: Mon Dec 18 17:15:33 2023 +1000 Expose `unauthenticatedBackend` from backend context commit 8d554ac16747392c9cd5d10a2c3ad6d79afb7268 Author: somebody1234 <ehern.lee@gmail.com> Date: Mon Dec 18 17:12:17 2023 +1000 Add methods for making HTTP requests to unauthenticated backend commit 2010890cbd38bff31b18e0847ea22a5b71f926d1 Author: somebody1234 <ehern.lee@gmail.com> Date: Mon Dec 18 17:04:49 2023 +1000 Add unauthenticated backend commit 04ac84533bee493194e32129f934ccd9c1df78d6 Merge: 1fa45bc73c d4714af826 Author: somebody1234 <ehern.lee@gmail.com> Date: Mon Dec 18 16:26:27 2023 +1000 Merge branch 'develop' into wip/np/payment-page-2 commit 1fa45bc73cbbf50e53c6f3273559210e85b66c7e Author: Nikita Pekin <nikita@frecency.com> Date: Sun Nov 12 07:01:45 2023 +0000 tmp: Complete checkoutSession flow commit 30ec2792256db5b2b448119b07213b79e3f8a3c5 Author: somebody1234 <ehern.lee@gmail.com> Date: Wed Nov 1 19:20:15 2023 +1000 Initial Stripe integration * revert requestedPlan changes * switch to path from query * Prettier * Fix type error * Switch environment back to production * Fix errors * Fix dev server by removing COOP/COEP/CORP on the dev server specifically * Redirect after upgrading plan is successful * Fix errors; fix initial size of Subscribe page --------- Co-authored-by: somebody1234 <ehern.lee@gmail.com>
2024-02-22 19:56:36 +03:00
<!-- NOTE [NP]: https://stripe.com/docs/security/guide#content-security-policy for Stripe.js -->
<meta
http-equiv="Content-Security-Policy"
content="
Fix various issues on the Dashboard (#10256) - Fix React DevTools not working in Firefox - Fix selection of asset names when editing them, not working at all in Firefox - Convert tick/cross buttons when editing assets, and the "plus" and "reload" buttons on the "shared with" column, "labels" column, and keyboard shortcuts table, to match more with the rest of the design - Update clip path when the container resizes, so that the icons for hidden columns never overlap the actual table header - Fix #10184 - Fix renames being committed even when cancelling - Fix duplicate name detection - previously, all asset types only checked folders with the same name, not assets with the same name - I'm not 100% sure this is the correct behavior still - Stop using `kbd` (`aria.Keyboard`) to display keyboard shortcuts, since they should not be displayed in a monospace font. - Fix "plus" and "reload" buttons going past the right side of their parent table cell - Limit length of `PermissionDisplay` - if the username of a user with permission is too long, it uses a tooltip instead - Update the username dynamically for all permissions owned by self, when changing username in the settings. - This avoids having to fully invalidate the directory tree every time the username changes, given that nothing changes about the assets' metadata themselves. - Cache children in the Drive tree - This avoids loading spinners when closing a folder and immediately reopening it. - Note that children are still re-fetched on reopen to ensure freshness # Important Notes - This MAY be split into multiple smaller PRs. However, I think it's better to QA as a single PR, to avoid duplicating work checking behavior that may be changed by a sibling PR (assuming the PR was split into multiple).
2024-06-20 21:30:24 +03:00
default-src 'self';
frame-src 'self' data: https://js.stripe.com;
script-src 'self' 'unsafe-eval' data: https://*;
script-src-elem 'self' 'unsafe-inline' https://*;
style-src 'self' 'unsafe-inline' data: https://*;
connect-src 'self' data: ws://localhost:* ws://127.0.0.1:* http://localhost:* https://* wss://*;
worker-src 'self' blob:;
img-src 'self' blob: enso: data: https://*;
Fix various issues on the Dashboard (#10256) - Fix React DevTools not working in Firefox - Fix selection of asset names when editing them, not working at all in Firefox - Convert tick/cross buttons when editing assets, and the "plus" and "reload" buttons on the "shared with" column, "labels" column, and keyboard shortcuts table, to match more with the rest of the design - Update clip path when the container resizes, so that the icons for hidden columns never overlap the actual table header - Fix #10184 - Fix renames being committed even when cancelling - Fix duplicate name detection - previously, all asset types only checked folders with the same name, not assets with the same name - I'm not 100% sure this is the correct behavior still - Stop using `kbd` (`aria.Keyboard`) to display keyboard shortcuts, since they should not be displayed in a monospace font. - Fix "plus" and "reload" buttons going past the right side of their parent table cell - Limit length of `PermissionDisplay` - if the username of a user with permission is too long, it uses a tooltip instead - Update the username dynamically for all permissions owned by self, when changing username in the settings. - This avoids having to fully invalidate the directory tree every time the username changes, given that nothing changes about the assets' metadata themselves. - Cache children in the Drive tree - This avoids loading spinners when closing a folder and immediately reopening it. - Note that children are still re-fetched on reopen to ensure freshness # Important Notes - This MAY be split into multiple smaller PRs. However, I think it's better to QA as a single PR, to avoid duplicating work checking behavior that may be changed by a sibling PR (assuming the PR was split into multiple).
2024-06-20 21:30:24 +03:00
font-src 'self' data: https://*"
/>
<meta
name="viewport"
content="
width=device-width,
initial-scale = 1.0,
maximum-scale = 1.0,
user-scalable = no"
/>
<title>Enso %ENSO_IDE_VERSION%</title>
<script type="module">
import { platform } from '../common/src/detect.ts'
const currentPlatform = platform()
document.documentElement.setAttribute('data-version', '%ENSO_IDE_VERSION%')
document.documentElement.classList.add(currentPlatform.toLowerCase())
</script>
</head>
<body>
Dashboard improvements (from 24 September 2024 + 30 September 2024) (#11219) - Close https://github.com/enso-org/cloud-v2/issues/1508 - :warning: Labels modal - add selection indicator where user can (de)select multiple labels - Checkboxes currently still cause the dialog to (incorrectly) close - Edit datalink -> select enso secret -> options are too narrow for enso path. Strip enso://Users(Teams), if possible make the options list longer on the left side - Added (or rather, re-enabled via CSS) horizontal scroll instead - Make Versions, Sessions, Settings as tabs similar to documentation panel in graph editor - Edit description in context menu should open asset panel with description input active - Edit secret should be moved to asset panel (same like datalink) - Dim background when "edit description", "edit secret", or "edit datalink" are clicked/triggered via shortcut to highlight input - Hide unused (= no backend support) columns and icons: accessed by projects and accessed data - *Partial* frontend fixes for https://github.com/enso-org/cloud-v2/issues/1529 - (1) Fix settings title being horizontally centered and split on multiple lines - (2) :x: backend issue - (3) :x: out of scope - (4) :x: backend issue - (5) :x: out of scope - (6) :x: out of scope - (7) :x: backend issue - (8) :x: already fixed in #11126 - (9) :x: out of scope (potentially requires a way to trigger a tooltip on a disabled button) - (10) :x: out of scope - (11) :x: out of scope - (12) :x: out of scope - (13) URL encode `enso://` URLs in "copy as path" - (14) Double click on datalink make asset open and close (not sure if this has already been fixed) - (15) Clicking anywhere on Asset Panel no longer deselects assets (not sure if this has already been fixed) - (16) :x: addressed in #11268 - (17) Make list of labels in Asset Panel (right sidebar) horizontal instead of (incorrectly) vertical - (18) Only show "Billing" settings tab for organization admins - Use "workspace" instead of "network" icon for project tabs - Other fixes: - Fix Asset Panel (right sidebar) not being able to be toggled off if it is temporarily open (when triggered from editing description, or editing secret, or editing datalink) - Make "cancel" and "reset" buttons default to outline variant, instead of ghost variant - Fix style of dropdown - Change Datalink editor dialog so that object keys are above inputs, not beside them. This gives inputs much more horizontal space for children of deeply nested objects. Issues left to fix: - Checkboxes currently still cause the dialog to (incorrectly) close - "Edit description" actions etc. do not properly focus inputs Issues left to do (out of scope): - Show username of user currently using a project (possibly as tooltip?) if the project is currently disabled. - Dropdown and autocomplete entries should be in their own dialog, so that they can escape the parent dialog if they are too long # Important Notes None
2024-10-09 12:10:49 +03:00
<div id="enso-spotlight" class="enso-spotlight"></div>
<div id="enso-dashboard" class="enso-dashboard"></div>
<div id="enso-chat" class="enso-chat"></div>
<div id="enso-portal-root" class="enso-portal-root"></div>
<script type="module" src="/src/entrypoint.ts"></script>
2024-07-26 09:34:51 +03:00
<noscript> This page requires JavaScript to run. Please enable it in your browser. </noscript>
</body>
</html>