Skip to content

Releases: lsst-sqre/squareone

squareone@0.17.0

31 Jan 20:10
122d6bc
Compare
Choose a tag to compare

Minor Changes

  • #175 9cadf35 Thanks @jonathansick! - The Times Square UI now closes its connection to the /times-square/pages/:page/html/events?<qs> SSE endpoint once the page instance's execution status is "complete" and the HTML hash is computed. With this change, the Times Square UI reduces its ongoing load on the API and also reduces network usage. The HTML page will still update to the latest version because the iframe component pings the Times Square pages/:page/htmlstatus?<qs> endpoint. We may back this off or convert the page update to an opt-in future in the future to further reduce network and API load from the front-end.

squareone@0.16.0

30 Jan 19:02
7ebd894
Compare
Choose a tag to compare

Minor Changes

  • #176 8e5b789 Thanks @fajpunk! - Added Sentry instrumentation to the squareone app.

    Both the NextJS client (frontend) and server (backend) code are instrumented with the official Sentry NextJS integration. The Sentry DSN should be provided in a SENTRY_DSN environment variable. If a Sentry DSN is not provided, there will be no changes to app behaviour. If a Sentry DSN is provided, then these things will be sent to Sentry:

    • Any uncaught exceptions and error-level logs
    • Traces for user interaction (according to the sample settings)
    • Session replays for user interaction (according to the sample settings)

    There are new config file options for Sentry configuration:

    • sentryTracesSampleRate
    • sentryReplaysSessionSampleRate
    • sentryReplaysOnErrorSampleRate
    • sentryDebug

    There is a new route, /sentry-example-page which provides a way to quickly check that the Sentry integration is working.

squareone@0.15.0

22 Jan 22:58
d025f83
Compare
Choose a tag to compare

Minor Changes

  • #173 c5dac7f Thanks @jonathansick! - The Times Square interface now includes a link to its user documentation. The root of the environment-specific rsp.lsst.io site is configured through the new docsBaseUrl configuration parameter.

  • #173 c5dac7f Thanks @jonathansick! - Migrated Squareone CSS custom properties / design tokens to global-css from the globals.css file in the Squareone app

    With this change, any app as well as the Squared component library can use CSS custom properties such as the elevations (box-shadows, e.g. --sqo-elevation-md) and transitions (--sqo-transition-basic) that are included as global CSS custom properties.

Patch Changes

  • Updated dependencies [c5dac7f, c5dac7f]:
    • @lsst-sqre/squared@0.3.0
    • @lsst-sqre/global-css@0.2.0

@lsst-sqre/squared@0.3.0

22 Jan 22:58
d025f83
Compare
Choose a tag to compare

Minor Changes

  • #173 c5dac7f Thanks @jonathansick! - Added a new component, IconPill. This component creates an inline pill that acts as a link button. The contents of the pill are an easy-to-configure icon from FontAwesome alongside text. The colours of the pill are configurable by props, but by default the pill looks similar to to the button component.

Patch Changes

  • Updated dependencies [c5dac7f]:
    • @lsst-sqre/global-css@0.2.0

@lsst-sqre/global-css@0.2.0

22 Jan 22:58
d025f83
Compare
Choose a tag to compare

Minor Changes

  • #173 c5dac7f Thanks @jonathansick! - Migrated Squareone CSS custom properties / design tokens to global-css from the globals.css file in the Squareone app

    With this change, any app as well as the Squared component library can use CSS custom properties such as the elevations (box-shadows, e.g. --sqo-elevation-md) and transitions (--sqo-transition-basic) that are included as global CSS custom properties.

squareone@0.14.0

21 Aug 19:40
945a1b8
Compare
Choose a tag to compare

Minor Changes

  • #171 55ff9ab Thanks @jonathansick! - Add support for Plausible.io analytics

    In Squareone, set the plausibleDomain configuration to the Plausible tracking domain. E.g. data.lsst.cloud for the RSP. To disable Plausible tracking where it isn't supported, set this configuration to null.

squareone@0.13.1

10 Jul 17:52
7eb441e
Compare
Choose a tag to compare

Patch Changes

squareone@0.13.0

03 Jul 21:22
d1a2b58
Compare
Choose a tag to compare

Minor Changes

  • #166 157d03d Thanks @jonathansick! - Usage of Reach UI is now removed and replaced with Radix UI. The user menu now uses GafaelfawrUserMenu from @lsst-sqre/squared and is based on Radix UI's Navigation Menu component. It is customized here to work with the Gafaelawr API to show a log in button for the logged out state, and to show the user's menu with a default log out button for the logged in state. Previously we also used Reach UI for showing an accessible validation alert in the Times Square page parameters UI. For now we've dropped this functionality.

Patch Changes

@lsst-sqre/squared@0.2.0

03 Jul 21:22
d1a2b58
Compare
Choose a tag to compare

Minor Changes

  • #166 157d03d Thanks @jonathansick! - Created GafaelfawrUserMenu based on the Radix UI navigation-menu component. That's the right primitive for an accessible menu that uses <a> or Next Link elements. The existing Gafaelfawr menu is now GafaelfawrUserDropdown for reference (it is based on Radix UI's dropdown menu, but is more appropriate as a menu of buttons.

  • #168 f403ffd Thanks @jonathansick! - Disable opening and closing the GafaelfawrUserMenu on hover. This is a better UX because it allows for less precise mousing when using the menu.

squareone@0.12.0

15 Apr 14:49
f54eede
Compare
Choose a tag to compare

Minor Changes

  • #164 0574c00 Thanks @jonathansick! - Users can now download the Jupyter Notebook (ipynb) file that they are viewing, with the current parameters filled in. This enables further interactive exploration.

  • #164 2adb0af Thanks @jonathansick! - Times Square notebook pages show a link to the source notebook on GitHub.