Releases: lsst-sqre/squareone
squareone@0.14.0
Minor Changes
-
#171
55ff9ab
Thanks @jonathansick! - Add support for Plausible.io analyticsIn 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 tonull
.
squareone@0.13.1
Patch Changes
- #169
c4eeb75
Thanks @jonathansick! - Change "Account settings" menu item to title case.
squareone@0.13.0
Minor Changes
- #166
157d03d
Thanks @jonathansick! - Usage of Reach UI is now removed and replaced with Radix UI. The user menu now usesGafaelfawrUserMenu
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
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 NextLink
elements. The existing Gafaelfawr menu is nowGafaelfawrUserDropdown
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
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.
squareone@0.11.0
Minor Changes
-
#153
3561d09
Thanks @jonathansick! - Squareone uses a base stylesheet from the @lsst-sqre/global-css package. This reduces the amount of global CSS managed in Squareone itself, and offloads configuring the Rubin Style Dictionary tokens into base CSS elements. -
#163
72dd989
Thanks @jonathansick! - Implement background recomputation for cached Times Square pages. The "Recompute" button submits a request to Times Square'sDELETE /v1/pages/:page/html?{params}
endpoint, which causes a background recomputation of the notebook and re-rendering of the cached HTML.The new
TimesSquareHtmlEventsProvider
is a React context provider that provides real-time updates from Times Square about the status of an HTML rendering for a given set of parameters using Times Square's/v1/pages/:page/html/events/{params}
endpoint. Squareone uses@microsoft/fetch-event-source
to subscribe to this server-sent events (SSE) endpoint. Using this provider, the UI is able to show new data to the user, including the status of the computation, and once the computation is complete, the date/age of computation and the execution time. -
#163
72dd989
Thanks @jonathansick! - The Times Square "Update" and "Reset" buttons are now disabled when appropriate. The Update button is disabled when the parameter inputs have not been changed relative to their current state. Likewise, the Reset button is disabled when the parameters are unchanged from the current state. -
#153
1240924
Thanks @jonathansick! - Drop the use of normalize.css and instead rely on the base CSS from the global-css package. -
#163
72dd989
Thanks @jonathansick! - NewTimesSquareUrlParametersProvider
component. This React context provides the URL-based state to Times Square components, such as the page being viewed, its notebook parameters values, and the display settings. This change simplifies the structure of the React pages by refactoring all of the URL parsing into a common component. As well, this context eliminates "prop drilling" to provide this URL-based state to all components in the Times Square application.
Patch Changes
@lsst-sqre/tsconfig@0.1.0
Minor Changes
- #153
c81597a
Thanks @jonathansick! - This is the first internal release of the tsconfig package for Squareone. It's primarily based on Turborepo example projects, like https://github.com/vercel/turbo/tree/main/examples/design-system/packages/acme-tsconfig.
@lsst-sqre/squared@0.1.0
Minor Changes
-
#155
b765732
Thanks @jonathansick! - Add a useGafaelfawrUser hook. -
#153
9abbebb
Thanks @jonathansick! - This is the first release of the Squared React component library for Squareone. -
#155
30928a5
Thanks @jonathansick! - Add a GafaelfawrUserMenu component to squared. This is based on the Radix UI dropdown menu and implements a login button if the user is not authenticated or a full user settings menu if the user is authenticated. A logout menu item is always included at the end of the menu, but apps can compose other user menu items in the component. As the name implies, this component is tied into the logic and usage patterns of Gafaelfawr as an auth service. -
#155
30928a5
Thanks @jonathansick! - Add a useCurrentUrl hook. This works withreact/router
and a provided base URL to get the absolute URL of the current page view. Next.js is now a peer dependency of squared to support this.
Patch Changes
- Updated dependencies [
5ee421b
]:- @lsst-sqre/global-css@0.1.0
@lsst-sqre/global-css@0.1.0
Minor Changes
- #153
5ee421b
Thanks @jonathansick! - Created the global-css package to bundle base CSS stylesheets for Squareone applications.
@lsst-sqre/eslint-config@0.1.0
Minor Changes
- #153
69446f1
Thanks @jonathansick! - This is the first internal release of the eslint-config package. It's inspired by the Turborepo examples: https://github.com/vercel/turbo/tree/main/examples/design-system/packages/eslint-config-acme