Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,6 @@ testresults
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
!.yarn/versions

test-results
8 changes: 8 additions & 0 deletions .yarn/changelogs/common.e561f877.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!-- version-type: patch -->
# common

## ⬆️ Dependencies

- Updated `@furystack/rest` from `8.0.32` to `8.0.35`
- Updated `@types/node` from `25.0.10` to `25.2.2`
- Updated `ts-json-schema-generator` from `2.4.0` to `2.5.0`
33 changes: 33 additions & 0 deletions .yarn/changelogs/frontend.e561f877.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!-- version-type: patch -->
# frontend

## ♻️ Refactoring

### Adopted `PageLayout` with collapsible sidebar navigation

Replaced the custom layout structure with the `PageLayout` component from `@furystack/shades-common-components`. The app now uses a permanent app bar and a collapsible left drawer with a `Sidebar` navigation menu, providing a standard responsive layout.

- Moved session-based routing logic from the removed `Body` component into `Layout`
- Replaced `Router` with `NestedRouter` using an object-based route config
- Header simplified: removed props-driven nav links in favor of a `DrawerToggleButton` and `NestedRouteLink`

### Reworked page components to use common UI components

All page components now use `Typography`, `PageContainer`, `PageHeader`, `Card`, `Alert`, and other components from `@furystack/shades-common-components` instead of raw HTML elements with inline styles.

- **Login:** Redesigned with `Card`/`CardContent` layout, `Alert` for error and hint messages, button label changed from "Login" to "Sign In"
- **HelloWorld:** Adopted `PageContainer` and `PageHeader` for consistent page structure
- **ButtonsDemo:** Adopted `PageContainer` and `PageHeader`; moved the disable toggle into page header actions
- **Init:** Uses host-level `css` prop and `Typography` for the loading message
- **Offline:** Redesigned with `Alert` components for error and troubleshooting info; added a proper reload `Button`; fixed typo "set in in" → "set it in"

## ⬆️ Dependencies

- Updated `@furystack/shades` from `11.0.33` to `12.0.0`
- Updated `@furystack/shades-common-components` from `10.0.33` to `12.0.0`
- Updated `@furystack/core` from `15.0.32` to `15.0.35`
- Updated `@furystack/inject` from `12.0.26` to `12.0.29`
- Updated `@furystack/logging` from `8.0.26` to `8.0.29`
- Updated `@furystack/rest-client-fetch` from `8.0.32` to `8.0.35`
- Updated `@furystack/utils` from `8.1.8` to `8.1.9`
- Updated `@types/node` from `25.0.10` to `25.2.2`
21 changes: 21 additions & 0 deletions .yarn/changelogs/furystack-boilerplate-app.e561f877.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!-- version-type: patch -->
# furystack-boilerplate-app

## 🧪 Tests

- Updated E2E test selectors to match the reworked login page ("Sign In" button, `data-testid` for page header title)

## ⬆️ Dependencies

- Updated `@eslint/js` from `9.39.2` to `10.0.1`
- Updated `eslint` from `9.39.2` to `10.0.0`
- Updated `typescript-eslint` from `8.53.1` to `8.54.0`
- Updated `eslint-plugin-jsdoc` from `62.4.0` to `62.5.4`
- Updated `eslint-plugin-playwright` from `2.5.0` to `2.5.1`
- Updated `@playwright/test` from `1.58.0` to `1.58.2`
- Updated `@types/node` from `25.0.10` to `25.2.2`
- Updated `@furystack/yarn-plugin-changelog` from `1.0.1` to `1.0.2`

## 🔧 Chores

- Renamed `test:unit` script to `test` in `package.json`
13 changes: 13 additions & 0 deletions .yarn/changelogs/service.e561f877.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- version-type: patch -->
# service

## ⬆️ Dependencies

- Updated `@furystack/core` from `15.0.32` to `15.0.35`
- Updated `@furystack/filesystem-store` from `7.0.32` to `7.0.35`
- Updated `@furystack/inject` from `12.0.26` to `12.0.29`
- Updated `@furystack/logging` from `8.0.26` to `8.0.29`
- Updated `@furystack/repository` from `10.0.32` to `10.0.35`
- Updated `@furystack/rest-service` from `10.1.3` to `11.0.3`
- Updated `@furystack/security` from `6.0.32` to `6.0.35`
- Updated `@types/node` from `25.0.10` to `25.2.2`
5 changes: 5 additions & 0 deletions .yarn/versions/e561f877.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
releases:
common: patch
frontend: patch
furystack-boilerplate-app: patch
service: patch
6 changes: 3 additions & 3 deletions common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
"create-schemas": "node ./dist/bin/create-schemas.js"
},
"devDependencies": {
"@types/node": "^25.1.0",
"ts-json-schema-generator": "^2.4.0",
"@types/node": "^25.2.2",
"ts-json-schema-generator": "^2.5.0",
"vitest": "^4.0.18"
},
"dependencies": {
"@furystack/rest": "^8.0.34"
"@furystack/rest": "^8.0.35"
}
}
141 changes: 0 additions & 141 deletions common/schemas/boilerplate-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,147 +275,6 @@
"required": ["GET", "POST"],
"additionalProperties": false
},
"RestApi": {
"type": "object",
"properties": {
"GET": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"result": {},
"url": {},
"query": {},
"body": {},
"headers": {}
},
"required": ["result"],
"additionalProperties": false
}
},
"POST": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"result": {},
"url": {},
"query": {},
"body": {},
"headers": {}
},
"required": ["result"],
"additionalProperties": false
}
},
"PATCH": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"result": {},
"url": {},
"query": {},
"body": {},
"headers": {}
},
"required": ["result"],
"additionalProperties": false
}
},
"PUT": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"result": {},
"url": {},
"query": {},
"body": {},
"headers": {}
},
"required": ["result"],
"additionalProperties": false
}
},
"DELETE": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"result": {},
"url": {},
"query": {},
"body": {},
"headers": {}
},
"required": ["result"],
"additionalProperties": false
}
},
"HEAD": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"result": {},
"url": {},
"query": {},
"body": {},
"headers": {}
},
"required": ["result"],
"additionalProperties": false
}
},
"CONNECT": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"result": {},
"url": {},
"query": {},
"body": {},
"headers": {}
},
"required": ["result"],
"additionalProperties": false
}
},
"TRACE": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"result": {},
"url": {},
"query": {},
"body": {},
"headers": {}
},
"required": ["result"],
"additionalProperties": false
}
},
"OPTIONS": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"result": {},
"url": {},
"query": {},
"body": {},
"headers": {}
},
"required": ["result"],
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"User": {
"type": "object",
"properties": {
Expand Down
9 changes: 4 additions & 5 deletions e2e/page.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,19 @@ test.describe('Example Application', () => {
await usernameInput.type('testuser')
await passwordInput.type('password')

const submitButton = page.locator('button', { hasText: 'Login' })
const submitButton = page.locator('button', { hasText: 'Sign In' })
await expect(submitButton).toBeVisible()
await expect(submitButton).toBeEnabled()

await submitButton.click()

const welcomeTitle = page.locator('hello-world div h2')
const welcomeTitle = page.locator('[data-testid="page-header-title"]')
await expect(welcomeTitle).toBeVisible()
await expect(welcomeTitle).toHaveText('Hello, testuser !')
await expect(welcomeTitle).toContainText('Hello, testuser!')

const logoutButton = page.locator('shade-app-bar button >> text="Log Out"')
const logoutButton = page.locator('button', { hasText: 'Log Out' })
await expect(logoutButton).toBeVisible()
await expect(logoutButton).toBeEnabled()
await expect(logoutButton).toHaveText('Log Out')
await logoutButton.click()

const loggedOutLoginForm = page.locator('shade-login form')
Expand Down
14 changes: 7 additions & 7 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
"vitest": "^4.0.18"
},
"dependencies": {
"@furystack/core": "^15.0.34",
"@furystack/inject": "^12.0.28",
"@furystack/logging": "^8.0.28",
"@furystack/rest-client-fetch": "^8.0.34",
"@furystack/shades": "^11.1.0",
"@furystack/shades-common-components": "^11.0.0",
"@furystack/core": "^15.0.35",
"@furystack/inject": "^12.0.29",
"@furystack/logging": "^8.0.29",
"@furystack/rest-client-fetch": "^8.0.35",
"@furystack/shades": "^12.0.0",
"@furystack/shades-common-components": "^12.0.0",
"@furystack/utils": "^8.1.9",
"@types/node": "^25.1.0",
"@types/node": "^25.2.2",
"common": "workspace:^"
}
}
34 changes: 0 additions & 34 deletions frontend/src/components/body.tsx

This file was deleted.

Loading
Loading