Skip to content

Commit

Permalink
Merge pull request #154 from lsst-sqre/changeset-release/main
Browse files Browse the repository at this point in the history
Version Packages
  • Loading branch information
jonathansick authored Apr 11, 2024
2 parents 482ee35 + ec35d0a commit e87b1f2
Show file tree
Hide file tree
Showing 22 changed files with 66 additions and 67 deletions.
5 changes: 0 additions & 5 deletions .changeset/afraid-spoons-marry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/bright-sheep-poke.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/brown-dingos-mix.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/chatty-bikes-unite.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cool-experts-sniff.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/four-boats-prove.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/grumpy-bugs-scream.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/kind-impalas-crash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/olive-avocados-leave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/seven-maps-drum.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/twelve-actors-dance.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/young-singers-deliver.md

This file was deleted.

22 changes: 22 additions & 0 deletions apps/squareone/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# squareone

## 0.11.0

### Minor Changes

- [#153](https://github.com/lsst-sqre/squareone/pull/153) [`3561d09`](https://github.com/lsst-sqre/squareone/commit/3561d097d0c5cbe508f140f2bcd9041a540832a0) Thanks [@jonathansick](https://github.com/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](https://github.com/lsst-sqre/squareone/pull/163) [`72dd989`](https://github.com/lsst-sqre/squareone/commit/72dd989ad963612204fa92a484a56abfbed4df8a) Thanks [@jonathansick](https://github.com/jonathansick)! - Implement background recomputation for cached Times Square pages. The "Recompute" button submits a request to Times Square's `DELETE /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](https://github.com/lsst-sqre/squareone/pull/163) [`72dd989`](https://github.com/lsst-sqre/squareone/commit/72dd989ad963612204fa92a484a56abfbed4df8a) Thanks [@jonathansick](https://github.com/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](https://github.com/lsst-sqre/squareone/pull/153) [`1240924`](https://github.com/lsst-sqre/squareone/commit/124092414c191eb16866304eafd9b6c4d428e2f6) Thanks [@jonathansick](https://github.com/jonathansick)! - Drop the use of normalize.css and instead rely on the base CSS from the global-css package.

- [#163](https://github.com/lsst-sqre/squareone/pull/163) [`72dd989`](https://github.com/lsst-sqre/squareone/commit/72dd989ad963612204fa92a484a56abfbed4df8a) Thanks [@jonathansick](https://github.com/jonathansick)! - New `TimesSquareUrlParametersProvider` 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

- Updated dependencies [[`b765732`](https://github.com/lsst-sqre/squareone/commit/b765732db52e354026294fce7b5ef7c32d32e553), [`5ee421b`](https://github.com/lsst-sqre/squareone/commit/5ee421bdd8f1c6f922913028ad48284f941189f1), [`9abbebb`](https://github.com/lsst-sqre/squareone/commit/9abbebba02fc1bc27fe2097fbbdb97110a9c93d9), [`30928a5`](https://github.com/lsst-sqre/squareone/commit/30928a5caa5392d7927fd3a2f017d48d77b68c1a), [`30928a5`](https://github.com/lsst-sqre/squareone/commit/30928a5caa5392d7927fd3a2f017d48d77b68c1a)]:
- @lsst-sqre/squared@0.1.0
- @lsst-sqre/global-css@0.1.0

## 0.10.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/squareone/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "squareone",
"version": "0.10.3",
"version": "0.11.0",
"private": true,
"scripts": {
"dev": "next dev -p 3000",
Expand Down
7 changes: 7 additions & 0 deletions packages/eslint-config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @lsst-sqre/eslint-config

## 0.1.0

### Minor Changes

- [#153](https://github.com/lsst-sqre/squareone/pull/153) [`69446f1`](https://github.com/lsst-sqre/squareone/commit/69446f1c3e1cca7c3961439825679f0851826f6f) Thanks [@jonathansick](https://github.com/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
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lsst-sqre/eslint-config",
"version": "0.0.0",
"version": "0.1.0",
"private": true,
"main": "index.js",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/global-css/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @lsst-sqre/global-css

## 0.1.0

### Minor Changes

- [#153](https://github.com/lsst-sqre/squareone/pull/153) [`5ee421b`](https://github.com/lsst-sqre/squareone/commit/5ee421bdd8f1c6f922913028ad48284f941189f1) Thanks [@jonathansick](https://github.com/jonathansick)! - Created the global-css package to bundle base CSS stylesheets for Squareone applications.
2 changes: 1 addition & 1 deletion packages/global-css/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@lsst-sqre/global-css",
"description": "Global stylesheets for Squareone projects.",
"version": "0.0.0",
"version": "0.1.0",
"private": true,
"main": "./dist/next.css",
"license": "MIT",
Expand Down
18 changes: 18 additions & 0 deletions packages/squared/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# @lsst-sqre/squared

## 0.1.0

### Minor Changes

- [#155](https://github.com/lsst-sqre/squareone/pull/155) [`b765732`](https://github.com/lsst-sqre/squareone/commit/b765732db52e354026294fce7b5ef7c32d32e553) Thanks [@jonathansick](https://github.com/jonathansick)! - Add a useGafaelfawrUser hook.

- [#153](https://github.com/lsst-sqre/squareone/pull/153) [`9abbebb`](https://github.com/lsst-sqre/squareone/commit/9abbebba02fc1bc27fe2097fbbdb97110a9c93d9) Thanks [@jonathansick](https://github.com/jonathansick)! - This is the first release of the Squared React component library for Squareone.

- [#155](https://github.com/lsst-sqre/squareone/pull/155) [`30928a5`](https://github.com/lsst-sqre/squareone/commit/30928a5caa5392d7927fd3a2f017d48d77b68c1a) Thanks [@jonathansick](https://github.com/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](https://github.com/lsst-sqre/squareone/pull/155) [`30928a5`](https://github.com/lsst-sqre/squareone/commit/30928a5caa5392d7927fd3a2f017d48d77b68c1a) Thanks [@jonathansick](https://github.com/jonathansick)! - Add a useCurrentUrl hook. This works with `react/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`](https://github.com/lsst-sqre/squareone/commit/5ee421bdd8f1c6f922913028ad48284f941189f1)]:
- @lsst-sqre/global-css@0.1.0
2 changes: 1 addition & 1 deletion packages/squared/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@lsst-sqre/squared",
"description": "A React component library for Squareone / Rubin Data Management.",
"version": "0.0.0",
"version": "0.1.0",
"private": true,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
7 changes: 7 additions & 0 deletions packages/tsconfig/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @lsst-sqre/tsconfig

## 0.1.0

### Minor Changes

- [#153](https://github.com/lsst-sqre/squareone/pull/153) [`c81597a`](https://github.com/lsst-sqre/squareone/commit/c81597a6281193778a25aa8433eb7e4abf17359a) Thanks [@jonathansick](https://github.com/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.
2 changes: 1 addition & 1 deletion packages/tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lsst-sqre/tsconfig",
"version": "0.0.0",
"version": "0.1.0",
"private": true,
"license": "MIT",
"publishConfig": {
Expand Down

0 comments on commit e87b1f2

Please sign in to comment.