Skip to content

Commit

Permalink
fix(dashboard): invalid styles from datepicker (#105)
Browse files Browse the repository at this point in the history
* fix: remove styles imprt and inline our own version

* chore: update deps and remove patches

* chore: upgrade openapi typescript major

* ci: add linting checks to dashboard
  • Loading branch information
ayuhito authored Jul 25, 2024
1 parent 19f83e6 commit 38dc59d
Show file tree
Hide file tree
Showing 30 changed files with 2,436 additions and 1,628 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Lint
- name: Lint core
uses: golangci/golangci-lint-action@v6
with:
version: latest
working-directory: core

- name: Lint dashboard
run: task dashboard:lint:ci

test:
runs-on: ubuntu-latest
steps:
Expand Down
Binary file modified bun.lockb
Binary file not shown.
5 changes: 5 additions & 0 deletions dashboard/Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,8 @@ tasks:
lint:
cmds:
- bun run lint

"lint:ci":
cmds:
- bun run typecheck
- bun run lint:ci
2 changes: 1 addition & 1 deletion dashboard/app/api/auth.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { client, type ClientOptions, type DataResponse } from './client';
import { type ClientOptions, type DataResponse, client } from './client';

const authLogin = async (
opts: ClientOptions<'AuthLogin'>,
Expand Down
2 changes: 1 addition & 1 deletion dashboard/app/api/settings.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type ClientOptions, client, type DataResponse } from './client';
import { type ClientOptions, type DataResponse, client } from './client';

const usageGet = async (): Promise<DataResponse<'SettingsUsageGet'>> => {
const res = await client('/settings/usage', {});
Expand Down
2 changes: 1 addition & 1 deletion dashboard/app/api/stats.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { client, type ClientOptions, type DataResponse } from './client';
import { type ClientOptions, type DataResponse, client } from './client';

const statsSummary = async (
opts: ClientOptions<'StatsSummary'>,
Expand Down
Loading

0 comments on commit 38dc59d

Please sign in to comment.