-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sidebar-heading
- Loading branch information
Showing
29 changed files
with
800 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
VITE_BASE_API_URL=http://localhost:8989 | ||
VITE_BASE_API_URL="http://localhost:8989" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Release Please | ||
permissions: write-all | ||
on: | ||
workflow_call: | ||
secrets: | ||
GH_PAT_RELEASE_PLEASE: | ||
required: true | ||
jobs: | ||
release-please: | ||
name: Release Please | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
steps: | ||
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4 | ||
id: release | ||
with: | ||
token: ${{ secrets.GH_PAT_RELEASE_PLEASE }} | ||
release-type: node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# NOTE: This workflow deviates from the normal convention of using a single | ||
# workflow as an entrypoint or trigger for other re-usable workflows. The reason | ||
# for this is it needs to be triggered for a variety of PR events, including | ||
# `edited`, when the title changes — where we do *not* want to trigger the | ||
# entire suite of CI checks. We also cannot use `if` or `needs` triggers to | ||
# filter which steps we need to run, as if we skip certain checks, we do not | ||
# have visibility on the code quality or security of the PR. | ||
name: Lint PR title | ||
on: | ||
pull_request: | ||
types: | ||
- edited | ||
- opened | ||
- reopened | ||
- synchronize | ||
jobs: | ||
lint-pr-title: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
|
||
- uses: ./.github/actions/setup | ||
|
||
- name: Install commitlint | ||
run: | | ||
npm i -D commitlint @commitlint/config-conventional | ||
- name: Validate PR title | ||
run: echo "${{ github.event.pull_request.title }}" | npx commitlint -x '@commitlint/config-conventional' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Changelog | ||
|
||
## [0.1.0](https://github.com/stacklok/codegate-ui/compare/v0.0.15...v0.1.0) (2025-01-15) | ||
|
||
|
||
### Features | ||
|
||
* add ErrorBoundary ([#69](https://github.com/stacklok/codegate-ui/issues/69)) ([78bdfb9](https://github.com/stacklok/codegate-ui/commit/78bdfb9ef98ee9426c35c254fd4f670954c162b1)) | ||
* health check card ([#62](https://github.com/stacklok/codegate-ui/issues/62)) ([f2673bc](https://github.com/stacklok/codegate-ui/commit/f2673bcf71d2ce1850ac9ad8e861bf448ac84a91)) | ||
|
||
## [0.0.15](https://github.com/stacklok/codegate-ui/compare/v0.0.14...v0.0.15) (2025-01-15) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* alerts line chart sorting ([#63](https://github.com/stacklok/codegate-ui/issues/63)) ([ce8146c](https://github.com/stacklok/codegate-ui/commit/ce8146c644b9a44884aba2a5b4fc0adba08a4518)) | ||
* formatting alert time in the table, add seconds ([#56](https://github.com/stacklok/codegate-ui/issues/56)) ([8d764aa](https://github.com/stacklok/codegate-ui/commit/8d764aac08329fceb2e3bc53b0ba01ef785ecf7e)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// This file is auto-generated by @hey-api/openapi-ts | ||
export * from "./sdk.gen"; | ||
export * from "./types.gen"; | ||
export * from './sdk.gen'; | ||
export * from './types.gen'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,39 @@ | ||
// This file is auto-generated by @hey-api/openapi-ts | ||
|
||
import { | ||
createClient, | ||
createConfig, | ||
type OptionsLegacyParser, | ||
} from "@hey-api/client-fetch"; | ||
import type { | ||
GetMessagesDashboardMessagesGetError, | ||
GetMessagesDashboardMessagesGetResponse, | ||
GetAlertsDashboardAlertsGetError, | ||
GetAlertsDashboardAlertsGetResponse, | ||
StreamSseDashboardAlertsNotificationGetError, | ||
StreamSseDashboardAlertsNotificationGetResponse, | ||
} from "./types.gen"; | ||
import { createClient, createConfig, type OptionsLegacyParser } from '@hey-api/client-fetch'; | ||
import type { GetMessagesDashboardMessagesGetError, GetMessagesDashboardMessagesGetResponse, GetAlertsDashboardAlertsGetError, GetAlertsDashboardAlertsGetResponse, StreamSseDashboardAlertsNotificationGetError, StreamSseDashboardAlertsNotificationGetResponse } from './types.gen'; | ||
|
||
export const client = createClient(createConfig()); | ||
|
||
/** | ||
* Get Messages | ||
* Get all the messages from the database and return them as a list of conversations. | ||
*/ | ||
export const getMessagesDashboardMessagesGet = < | ||
ThrowOnError extends boolean = false, | ||
>( | ||
options?: OptionsLegacyParser<unknown, ThrowOnError>, | ||
) => { | ||
return (options?.client ?? client).get< | ||
GetMessagesDashboardMessagesGetResponse, | ||
GetMessagesDashboardMessagesGetError, | ||
ThrowOnError | ||
>({ | ||
...options, | ||
url: "/dashboard/messages", | ||
}); | ||
export const getMessagesDashboardMessagesGet = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => { | ||
return (options?.client ?? client).get<GetMessagesDashboardMessagesGetResponse, GetMessagesDashboardMessagesGetError, ThrowOnError>({ | ||
...options, | ||
url: '/dashboard/messages' | ||
}); | ||
}; | ||
|
||
/** | ||
* Get Alerts | ||
* Get all the messages from the database and return them as a list of conversations. | ||
*/ | ||
export const getAlertsDashboardAlertsGet = < | ||
ThrowOnError extends boolean = false, | ||
>( | ||
options?: OptionsLegacyParser<unknown, ThrowOnError>, | ||
) => { | ||
return (options?.client ?? client).get< | ||
GetAlertsDashboardAlertsGetResponse, | ||
GetAlertsDashboardAlertsGetError, | ||
ThrowOnError | ||
>({ | ||
...options, | ||
url: "/dashboard/alerts", | ||
}); | ||
export const getAlertsDashboardAlertsGet = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => { | ||
return (options?.client ?? client).get<GetAlertsDashboardAlertsGetResponse, GetAlertsDashboardAlertsGetError, ThrowOnError>({ | ||
...options, | ||
url: '/dashboard/alerts' | ||
}); | ||
}; | ||
|
||
/** | ||
* Stream Sse | ||
* Send alerts event | ||
*/ | ||
export const streamSseDashboardAlertsNotificationGet = < | ||
ThrowOnError extends boolean = false, | ||
>( | ||
options?: OptionsLegacyParser<unknown, ThrowOnError>, | ||
) => { | ||
return (options?.client ?? client).get< | ||
StreamSseDashboardAlertsNotificationGetResponse, | ||
StreamSseDashboardAlertsNotificationGetError, | ||
ThrowOnError | ||
>({ | ||
...options, | ||
url: "/dashboard/alerts_notification", | ||
}); | ||
}; | ||
export const streamSseDashboardAlertsNotificationGet = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => { | ||
return (options?.client ?? client).get<StreamSseDashboardAlertsNotificationGetResponse, StreamSseDashboardAlertsNotificationGetError, ThrowOnError>({ | ||
...options, | ||
url: '/dashboard/alerts_notification' | ||
}); | ||
}; |
Oops, something went wrong.