Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new dashboard #747

Merged
merged 282 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from 229 commits
Commits
Show all changes
282 commits
Select commit Hold shift + click to select a range
cba8f44
:adhesive_bandage: fix text input icon color
eyemono-moe Oct 6, 2023
5370c54
:sparkles: アプリオーナー設定
eyemono-moe Oct 6, 2023
15e7596
:sparkles: ビルド設定画面追加
eyemono-moe Oct 6, 2023
47e82f9
:adhesive_bandage: fix minor type issues
eyemono-moe Oct 6, 2023
5f1072c
:sparkles: ビルド結果を自動で更新するように
eyemono-moe Oct 7, 2023
63ce7e0
:sparkles: 環境変数設定画面
eyemono-moe Oct 7, 2023
f318012
:bug: デプロイされてない場合の表示が誤っていた
eyemono-moe Oct 7, 2023
1f3ab42
:adhesive_bandage: 最新ビルドのリフェッチを中断しないように
eyemono-moe Oct 7, 2023
cdcf19c
:bug: アイコンのサイズ指定が誤っていた
eyemono-moe Oct 7, 2023
bd8cccb
:sparkles: ツールチップの追加
eyemono-moe Oct 7, 2023
2c1b90c
:lipstick: スタイル崩れの修正
eyemono-moe Oct 7, 2023
85c685d
:fire: remove unused imports
eyemono-moe Oct 7, 2023
d7bba81
:sparkles: アプリ情報ページに設定への遷移ボタンを追加
eyemono-moe Oct 8, 2023
957b91f
:lipstick: リポジトリ/アプリ名が長い場合に省略して表示するように
eyemono-moe Oct 8, 2023
7b23bb6
:recycle: ヘッダー/ナビ用コンポーネントの共通化
eyemono-moe Oct 8, 2023
638753a
:lipstick: 長いアプリ名/リポジトリ名の省略表示
eyemono-moe Oct 8, 2023
1358008
:adhesive_bandage: Static状態アイコンの色の修正
eyemono-moe Oct 8, 2023
bb593d2
:adhesive_bandage: Navのタイトルの幅を修正
eyemono-moe Oct 8, 2023
8710068
:adhesive_bandage: URL数が改行されないように
eyemono-moe Oct 8, 2023
b475b27
:lipstick: Selectの最小幅を修正
eyemono-moe Oct 8, 2023
4e4a622
:lipstick: add `scrollbar-gutter: stable`
eyemono-moe Oct 8, 2023
7590148
:sparkles: add open Adminer button
eyemono-moe Oct 8, 2023
1ab6431
:sparkles: ユーザーボタンの追加
eyemono-moe Oct 8, 2023
312247f
:sparkles: add provider icon in repository list
eyemono-moe Oct 8, 2023
d14d666
:sparkles: add tooltip in app/build status icon
eyemono-moe Oct 8, 2023
979f16e
:lipstick: モバイル端末でのパディングを小さく
eyemono-moe Oct 8, 2023
a57f690
:sparkles: add builds page
eyemono-moe Oct 8, 2023
0b4e5b9
:lipstick: app/repository ownerの説明を追加
eyemono-moe Oct 9, 2023
2f99ab6
:sparkles: textarea/inputにrefを渡せるように
eyemono-moe Oct 9, 2023
a3d1295
:recycle: 設定画面コンポーネントの共通化
eyemono-moe Oct 9, 2023
fd9b196
:recycle: メモ化
eyemono-moe Oct 9, 2023
5db5268
:sparkles: 個人設定画面の追加
eyemono-moe Oct 9, 2023
a341126
:adhesive_bandage: ビルドステータスアイコンの修正
eyemono-moe Oct 9, 2023
f62ee39
:lipstick: 仮モバイル対応
eyemono-moe Oct 9, 2023
53f5759
:bug: artifactが存在しない場合コンテナごと非表示に
eyemono-moe Oct 9, 2023
0799909
:sparkles: website設定ページ
eyemono-moe Oct 10, 2023
abddd07
:lipstick: システム環境変数が変更できない旨を表示
eyemono-moe Oct 10, 2023
dc258fa
:bug: Textareaでまれにスクロールバーが表示されていた
eyemono-moe Oct 10, 2023
6b6807a
:adhesive_bandage: ssh key追加時のバリデーション追加
eyemono-moe Oct 10, 2023
4881c98
:lipstick: モバイル端末での高さを調整
eyemono-moe Oct 10, 2023
16fa058
:bug: ワイルドカード出ないドメインの選択時にもホスト名入力欄が出ていた
eyemono-moe Oct 10, 2023
58f41ad
:recycle: 重複したcssの削除
eyemono-moe Oct 10, 2023
0f0b537
:lipstick: min-width設定箇所で最大幅を超えないように
eyemono-moe Oct 10, 2023
dae8e56
:sparkles: リポジトリ登録画面
eyemono-moe Oct 10, 2023
a8613a5
:bug: ラジオボタン/チェックボックスでのスタイル崩れ修正
eyemono-moe Oct 11, 2023
0190af2
:bug: Runtime ConfigでDB不使用の場合EntryPoint, Command設定が非表示になっていた
eyemono-moe Oct 12, 2023
3da101e
:sparkles: add PortForwarding config
eyemono-moe Oct 13, 2023
350fd7d
:bug: url設定でmodifiedの設定が削除されてしまっていた
eyemono-moe Oct 26, 2023
cf559a5
:bug: 一度もビルドしていなかった場合アプリ情報画面のビルド情報取得でエラーになっていた
eyemono-moe Oct 26, 2023
a10ac3b
:sparkles: アプリ作成画面
eyemono-moe Oct 26, 2023
276990d
:lipstick: url設定が一つもない場合の表示をわかりやすく修正
eyemono-moe Oct 26, 2023
48f4a72
WIP: フォームバリデーションの追加(apps/general, apps/build, repos/general, repos/auth)
eyemono-moe Nov 2, 2023
d457aa4
WIP: フォームバリデーション(repos/new)
eyemono-moe Nov 2, 2023
9e10de9
:recycle: ビルド設定フォームでの<Field>の使用
eyemono-moe Nov 2, 2023
7b81398
:bug: ビルド時間の表示判定の修正
eyemono-moe Nov 2, 2023
b602f25
:sparkles: 環境変数設定のバリデーション追加
eyemono-moe Nov 3, 2023
5fdba16
:lipstick: トーストの位置を変更
eyemono-moe Nov 3, 2023
d834045
:adhesive_bandage: ビルド設定のバリデーション追加
eyemono-moe Nov 3, 2023
ec95209
:sparkles: SSH公開鍵登録ページのバリデーション
eyemono-moe Nov 3, 2023
c72ff3b
:recycle: use moduler forms in settings/domains
eyemono-moe Nov 9, 2023
1b044ef
:fire: remove files accidentally included in a commit
eyemono-moe Nov 9, 2023
fddc384
:bug: 候補クリック時に自動入力されていなかった / ESCキーでオプションを閉じられるように
eyemono-moe Nov 10, 2023
5c94e3c
:sparkles: アプリ作成フォームのバリデーション追加
eyemono-moe Nov 10, 2023
05c8bde
:recycle: `color` -> `variants`
eyemono-moe Nov 10, 2023
c1d0874
:sparkles: port forwarding設定でのバリデーションの追加
eyemono-moe Nov 10, 2023
d2dda89
:recycle: reafctor app index page
eyemono-moe Nov 10, 2023
bff55a0
:fire: remove logs
eyemono-moe Nov 10, 2023
b853523
:bug: website設定でdiscard changesできなくなっていた
eyemono-moe Nov 10, 2023
6d102af
:lipstick: fix ComboBox icon color
eyemono-moe Nov 10, 2023
60c398e
:adhesive_bandage: port forwardingの更新後に変更破棄すると更新が反映されていなかった
eyemono-moe Nov 10, 2023
2e95fe1
:sparkles: Navの戻るボタンの動作を改善
eyemono-moe Nov 10, 2023
4e48090
:sparkles: 環境変数のバリデーション修正
eyemono-moe Nov 11, 2023
6b02b09
:adhesive_bandage: ヘッダーの戻るボタンの挙動を修正
eyemono-moe Nov 11, 2023
f39ab76
:lipstick: ボーダー幅によってボタン位置がずれるのを修正
eyemono-moe Nov 11, 2023
c6b2a6f
:adhesive_bandage: ビルドステータスのアイコンが古いものになっていた
eyemono-moe Nov 11, 2023
0819f05
:fire: remove old components
eyemono-moe Nov 11, 2023
64952e0
:fire: remove log
eyemono-moe Nov 17, 2023
097ce2f
:bug: ワイルドカードを含まないドメインの使用時のDiscard Changesの挙動が誤っていた
eyemono-moe Nov 17, 2023
3cc5d7b
Merge branch 'main' into feature/new-dashboard
eyemono-moe Nov 17, 2023
2ffde20
:bug: 部員認証のdisableが正しく切り替えられていなかった
eyemono-moe Nov 17, 2023
b84a722
:lipstick: use new button component
eyemono-moe Nov 17, 2023
a87dc25
:fire: remove old theme var
eyemono-moe Nov 17, 2023
bbb3308
:lipstick: ビルド詳細ページへの導線を追加
eyemono-moe Nov 17, 2023
cb780f1
:adhesive_bandage: fix types / :fire: remove unused import
eyemono-moe Nov 17, 2023
979c7de
Merge branch 'main' into feature/new-dashboard
eyemono-moe Nov 17, 2023
26fda55
:bug: リポジトリのオーナー設定画面でアプリ設定用関数を呼んでいた
eyemono-moe Nov 20, 2023
dda3e94
Merge branch 'main' into feature/new-dashboard
eyemono-moe Nov 20, 2023
5db98ce
:recycle: owner操作コンポーネントの共通化
eyemono-moe Nov 20, 2023
598d8a9
:fire: remove `scrollbar-gutter: stable` 余白のためボーダーの表示が不自然になっていた
eyemono-moe Nov 20, 2023
f77c288
:lipstick: スクロールバーのスタイリング
eyemono-moe Nov 20, 2023
8f40549
:recycle: vite-plugin-fontsがdeprecatedになっていたのでunplugin-fontsに更新 / Mat…
eyemono-moe Nov 21, 2023
1a8116f
:lipstick: リポジトリページへのリンクを変更
eyemono-moe Nov 21, 2023
4d2864f
:sparkles: オーナーでないとき各設定入力欄をreadonly/disabledに
eyemono-moe Nov 21, 2023
fabbe0e
:bug: propsの渡し忘れ
eyemono-moe Nov 21, 2023
b475e48
:lipstick: アプリ一覧をデフォルトですべてopen状態に
eyemono-moe Nov 21, 2023
ace30ea
:lipstick: app / build IDをstatus tableから削除
eyemono-moe Nov 21, 2023
f21b3b6
:adhesive_bandage: タブ切り替えボタンのwording app / project -> info, builds ->…
eyemono-moe Nov 21, 2023
0655108
:recycle: media queryの共通化, モバイルでbackボタンを小さく
eyemono-moe Nov 21, 2023
d343fca
:lipstick: アプリページのナビでのリポジトリ表示を改善
eyemono-moe Nov 21, 2023
2af1192
:fire: 使用していないfontの削除
eyemono-moe Nov 21, 2023
42c02d9
:fire: remove unused declare module for tippy.js
eyemono-moe Nov 21, 2023
cd3b5e7
:lipstick: use reset css / fix fontFamily in pre/code
eyemono-moe Nov 21, 2023
afb1237
:adhesive_bandage: 権限がない状態でもビルドログを表示しようとしていた
eyemono-moe Nov 21, 2023
8a42991
:adhesive_bandage: 権限を持っていない場合でも環境変数を読み込もうとしていた
eyemono-moe Nov 21, 2023
caa0c5b
:lipstick: envVarのコピーボタン追加
eyemono-moe Nov 21, 2023
9fee20b
:lipstick: poet forwarding設定が1つもない場合の表示
eyemono-moe Nov 21, 2023
038046c
:fire: remove unused imports / lint
eyemono-moe Nov 21, 2023
999b36e
:recycle: use kobalte TextField
eyemono-moe Nov 22, 2023
0175473
:recycle: コンポーネント整理
eyemono-moe Nov 22, 2023
0bf42eb
:sparkles: kobalteのselect/comboBoxを使用
eyemono-moe Nov 22, 2023
4e828ba
:sparkles: use Kobalte check box
eyemono-moe Nov 22, 2023
eec62bf
:adhesive_bandage: fix form item title
eyemono-moe Nov 22, 2023
83ac0e0
:bug: fix combo box auto fill
eyemono-moe Nov 22, 2023
ea83844
:sparkles: use kobalte radio group
eyemono-moe Nov 22, 2023
9ce20e1
:bug: use TextField in user setting page
eyemono-moe Nov 22, 2023
f0041f2
:sparkles: use kobalte popover
eyemono-moe Nov 22, 2023
dfed6ea
:sparkles: use kobalte dialog
eyemono-moe Nov 22, 2023
fe1e0cd
:bug: 謎のスクロールバーが出ていた
eyemono-moe Nov 22, 2023
a219850
:adhesive_bandage: fix delete confirm ward wrap
eyemono-moe Nov 23, 2023
304d6b1
:adhesive_bandage: prevent chart animation
eyemono-moe Nov 23, 2023
95f355c
:lipstick: "Add New App"ボタンを常に表示
eyemono-moe Nov 23, 2023
5980aad
WIP: /apps/newでリポジトリの選択/登録をできるように
eyemono-moe Nov 23, 2023
9612a3a
:lipstick: ボタンにloading状態を追加
eyemono-moe Nov 23, 2023
9df5167
:arrow_up: upgrade dependencies
eyemono-moe Nov 23, 2023
3f68bda
:art: lint
eyemono-moe Nov 23, 2023
35fd90b
:art: lint: remove unused imports
eyemono-moe Nov 23, 2023
07319c9
:adhesive_bandage: combo boxの挙動を改善
eyemono-moe Nov 23, 2023
cf25a9c
:recycle: organize components
eyemono-moe Nov 23, 2023
c8359b7
:sparkles: アプリ作成リポジトリ選択画面でアプリ数/URLを表示
eyemono-moe Nov 24, 2023
5538770
:lipstick: アプリ作成画面のCreate Appボタン範囲を広げた
eyemono-moe Nov 24, 2023
f1fbbfc
wip: アプリ作成リクエストを最後にまとめて送信
eyemono-moe Nov 24, 2023
8b2774e
:recycle: アプリ作成リクエスト時にwebsite設定をまとめて送信する
eyemono-moe Nov 24, 2023
7b72c68
:fire: remove log
eyemono-moe Nov 24, 2023
6c44172
:adhesive_bandage: リポジトリ登録時に`newApp`paramを渡さない, authMethodをurlから自動入力
eyemono-moe Nov 24, 2023
cca4e86
:lipstick: add css for `prefer-reduced-motion: reduce`
eyemono-moe Nov 24, 2023
b07248b
:bug: fix type error
eyemono-moe Nov 24, 2023
7afa48b
:art: Selectの横幅をデザインに合わせた
eyemono-moe Nov 28, 2023
26cf436
WIP: ビルドタイプの設定をわかりやすく
eyemono-moe Nov 28, 2023
903243d
fix wording
eyemono-moe Nov 28, 2023
a5ab36a
:lipstick: listのリファクタ/`/apps`でのappの開閉を削除
eyemono-moe Nov 28, 2023
b99c337
:lipstick: WIP: app infoの整理
eyemono-moe Nov 28, 2023
ed5b11b
:bug: combo boxのoptionがtriggerの幅を超えてしまっていた
eyemono-moe Nov 29, 2023
468cdf5
:lipstick: copyable codeの追加
eyemono-moe Nov 29, 2023
b5fda2a
:sparkles: 最低限のエラー画面の追加
eyemono-moe Nov 29, 2023
fee4faa
:fire: ビルド詳細表示の削除
eyemono-moe Nov 29, 2023
92ad397
:bug: fix type: any -> unknown
eyemono-moe Nov 29, 2023
6f551d1
:lipstick: appsでのsuspenseの追加
eyemono-moe Nov 29, 2023
03cd4a4
:wrench: disable noNonNullAssertion
eyemono-moe Nov 30, 2023
1dc67a3
:lipstick: add apps skeleton
eyemono-moe Nov 30, 2023
b924772
:recycle: fix types and set `strict: true`
eyemono-moe Nov 30, 2023
6675a69
:bug: sse key rowの背景が設定されていなかった
eyemono-moe Nov 30, 2023
a218784
:bug: refetch時に画面が一度消えていた
eyemono-moe Nov 30, 2023
2f2d45f
:lipstick: ErrorBoundary, Suspenseの追加
eyemono-moe Nov 30, 2023
1e45b48
:sparkles: エラー画面にリロードボタンを追加
eyemono-moe Nov 30, 2023
e594075
:adhesive_bandage: リポジトリ登録ボタンの色の修正
eyemono-moe Nov 30, 2023
89ead7a
WIP: appsでのvirtual scroll
eyemono-moe Nov 30, 2023
0f86ea9
:sparkles: add page titles
eyemono-moe Dec 3, 2023
3ae8614
:adhesive_bandage: appsのスタイル修正
eyemono-moe Dec 3, 2023
bca3732
:adhesive_bandage: mobileサイズで/appsのフィルター部背景がずれていた
eyemono-moe Dec 3, 2023
327e48e
:adhesive_bandage: app/repoを判別できるようtitleを修正
eyemono-moe Dec 3, 2023
d5c2def
:fire: アプリページでの戻るボタンの削除
eyemono-moe Dec 3, 2023
490d144
:sparkles: add build queue page
eyemono-moe Dec 3, 2023
8c9787d
:adhesive_bandage: /apps/newでのリポジトリ選択ボタンのhover時の色が誤っていた
eyemono-moe Dec 3, 2023
95ee1de
:recycle: fix text field style
eyemono-moe Dec 3, 2023
1a04e64
:sparkles: refine apps filter
eyemono-moe Dec 3, 2023
c947af7
:wrench: add bundle size analyze
eyemono-moe Dec 3, 2023
fd74dfa
:adhesive_bandage: hide status icon tooltip in apps filter
eyemono-moe Dec 3, 2023
c9f404f
:lipstick: fix repository row space
eyemono-moe Dec 3, 2023
a946674
:recycle: organize imports
eyemono-moe Dec 4, 2023
45f2e0f
:adhesive_bandage: refetch時に画面がちらついていた
eyemono-moe Dec 4, 2023
0425050
:lipstick: navのbacktoをわかりやすく
eyemono-moe Dec 4, 2023
9a64c98
:lipstick: /apps/newでのリポジトリフィルタを/appsと統一
eyemono-moe Dec 4, 2023
8b6e28e
:lipstick: /appsのモバイルサイズでのスタイルを修正
eyemono-moe Dec 4, 2023
8723e5a
:adhesive_bandage: header logoのサイズが切り替わっていなかった
eyemono-moe Dec 4, 2023
09bffd4
:lipstick: AddNewAppボタンとAdminerへのボタン位置を修正
eyemono-moe Dec 4, 2023
4d910ea
:lipstick: apps placeholder
eyemono-moe Dec 4, 2023
0f58466
:lipstick: ssh公開鍵の生成時の説明を追加
eyemono-moe Dec 4, 2023
f8bbc6a
:lipstick: 認証方法を使用順に並び替え
eyemono-moe Dec 4, 2023
b5045de
Bump the patches group with 7 updates
dependabot[bot] Dec 1, 2023
714b1c3
Bump github.com/motoki317/sc from 1.6.0 to 1.7.1
dependabot[bot] Dec 1, 2023
4593787
Bump golang.org/x/crypto from 0.14.0 to 0.16.0
dependabot[bot] Dec 1, 2023
f5c1645
Bump golang.org/x/sync from 0.4.0 to 0.5.0
dependabot[bot] Dec 1, 2023
c5e7497
Bump go.mongodb.org/mongo-driver from 1.12.1 to 1.13.0
dependabot[bot] Dec 1, 2023
2d7a644
Bump github.com/aws/aws-sdk-go from 1.47.0 to 1.48.10
dependabot[bot] Dec 1, 2023
1f22325
Bump golang.org/x/net from 0.17.0 to 0.19.0
dependabot[bot] Dec 1, 2023
e2f5952
Bump actions/github-script from 6 to 7
dependabot[bot] Dec 1, 2023
c053f14
Send builder priority
motoki317 Dec 4, 2023
547163d
Select from higher priority builders
motoki317 Dec 4, 2023
b9f9c66
Log warns on unexpected builder paths
motoki317 Dec 4, 2023
f246809
Regen
motoki317 Dec 4, 2023
57ebd80
Calculate already bound field
motoki317 Dec 4, 2023
2f6db77
Impl repo scoped app fetch
motoki317 Dec 4, 2023
9b25a08
:sparkles: build listでアプリ名を表示
eyemono-moe Dec 4, 2023
7801a3d
:lipstick: build statusの整理
eyemono-moe Dec 4, 2023
57b40af
WIP: app latest builds list
eyemono-moe Dec 5, 2023
ecefb02
WIP: app deploy infoの整理
eyemono-moe Dec 5, 2023
c857d0c
:adhesive_bandage: 占有されているドメインはoptionに表示しない
eyemono-moe Dec 5, 2023
9d0877b
:bug: staticアプリでのlatest buildsの表示が不正/起動時刻が重複していた
eyemono-moe Dec 5, 2023
cc2c74d
:bug: website 設定のdeleteができなくなっていた
eyemono-moe Dec 6, 2023
e1cd697
:bug: non wildcard domainの設定時にfqdnが不正になっていた
eyemono-moe Dec 6, 2023
cd46f12
:bug: non wildcard domainの使用時にrequiredのチェックをしない
eyemono-moe Dec 6, 2023
055f178
:bug: すでにドメインを占有している場合に壊れていた
eyemono-moe Dec 6, 2023
991e25c
:lipstick: ビルド時刻の表示位置を調整
eyemono-moe Dec 6, 2023
5c0a008
:bug: create new app pageでラジオボタンをクリックすると表示が壊れていた
eyemono-moe Dec 6, 2023
931c66b
:bug: website設定をスキップする場合にもvalidationが実行されていた
eyemono-moe Dec 6, 2023
9e7018d
Merge branch 'main' into feature/new-dashboard
eyemono-moe Dec 6, 2023
1c46ce9
:sparkles: SSH公開鍵設定でのname, created_atの表示
eyemono-moe Dec 6, 2023
85caa4e
:lipstick: デプロイ状態の表示改善
eyemono-moe Dec 6, 2023
eb1fcbf
:fire: remove unused variables
eyemono-moe Dec 6, 2023
6d4c378
chores: tweak build type description
motoki317 Dec 7, 2023
8d50ae3
fix: default auth to none
motoki317 Dec 7, 2023
9c3acce
chores: tweak repo auth description
motoki317 Dec 7, 2023
89ea24a
chores: tweak description
motoki317 Dec 7, 2023
9c797e1
chores: always submit websites with app
motoki317 Dec 7, 2023
88c93dc
fix: show deployment as idle when no build is deployed
motoki317 Dec 7, 2023
a424719
chores: use deployed build source commit for deployment info
motoki317 Dec 7, 2023
ef9a7cd
chores: relocate builds info
motoki317 Dec 7, 2023
642d787
chores: navigate after rebuild
motoki317 Dec 7, 2023
b76419c
chores: Static -> Serving
motoki317 Dec 7, 2023
bbce57b
fix: build config description
motoki317 Dec 7, 2023
ab46f49
:lipstick: containerMessageの表示
eyemono-moe Dec 7, 2023
6a636fc
:bug: システム環境変数の編集が可能になっていた
eyemono-moe Dec 7, 2023
dc5b27c
:lipstick: add filter indicator
eyemono-moe Dec 7, 2023
4055c0f
:adhesive_bandage: デフォルトのソートをnewestに
eyemono-moe Dec 7, 2023
f03b45a
:lipstick: SSH公開鍵のcreated_atがunix time 0の時のadded onを修正
eyemono-moe Dec 7, 2023
3cde2c5
:lipstick: アプリが起動していないときのみSSHアクセスできない旨を表示
eyemono-moe Dec 7, 2023
714eec4
:lipstick: "アプリを持たないリポジトリを表示"のフィルター追加
eyemono-moe Dec 7, 2023
405b57f
:lipstick: dockerfile nameとcontextの順序入れ替え
eyemono-moe Dec 7, 2023
d7c5740
:lipstick: build historyのアイコンを変更
eyemono-moe Dec 7, 2023
e0f2614
:adhesive_bandage: fix wording
eyemono-moe Dec 7, 2023
bb12858
:lipstick: fix queue page background color
eyemono-moe Dec 7, 2023
0e6c99c
:fire: build detailsからrepository nameを削除
eyemono-moe Dec 7, 2023
2b0d3fe
:lipstick: create appでのprogressのアイコンを削除/step No.を追加
eyemono-moe Dec 7, 2023
3407ad4
:bug: use dbの値が適切に更新されていなかった
eyemono-moe Dec 7, 2023
b05f2b2
:lipstick: Use Databaseが変更できない旨を表示
eyemono-moe Dec 7, 2023
86c6058
:lipstick: 高度な設定をまとめる
eyemono-moe Dec 7, 2023
d3c61b5
fix: set apps-include-no-app default to false
motoki317 Dec 8, 2023
f0eabaa
fix: override config is not advanced when type is runtime cmd
motoki317 Dec 8, 2023
22b72e3
chores: only entrypoint config is not advanced
motoki317 Dec 8, 2023
d494c23
chores: wording website -> url
motoki317 Dec 8, 2023
b2575c8
chores: use jp for consistency
motoki317 Dec 8, 2023
beecb7c
chores: use repo scoped api request ref: #802
motoki317 Dec 8, 2023
c37ebff
chore: fix wording domains -> urls
motoki317 Dec 8, 2023
5d7a562
rm yarn-error.log
motoki317 Dec 8, 2023
a10f352
chore: use owners plural for consistency
motoki317 Dec 8, 2023
2728af4
chores: wording project -> repository for consistency
motoki317 Dec 8, 2023
d454c0e
fix: jump url
motoki317 Dec 8, 2023
6a52261
chores: tweak log container line-height / background
motoki317 Dec 8, 2023
ae60731
chores: rm verbose created at
motoki317 Dec 8, 2023
78cea37
chores: add tooltip to current build badge
motoki317 Dec 8, 2023
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
- build-component-images
- build-dashboard-image
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
github-token: ${{ secrets.DISPATCH_PAT }}
script: |
Expand Down
1 change: 1 addition & 0 deletions .local-dev/config/ns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ components:
platformAPI: "0.11"
controller:
url: http://ns-controller:10000
priority: 0

controller:
port: 10000
Expand Down
1 change: 1 addition & 0 deletions .local-dev/ext-builder/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ components:
platformAPI: "0.11"
controller:
url: http://host.docker.internal:10000
priority: 10
1 change: 1 addition & 0 deletions .local-dev/manifest/ns-system/config/ns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ components:
platformAPI: "0.11"
controller:
url: http://ns-controller.ns-system.svc.cluster.local:10000
priority: 0

controller:
port: 10000
Expand Down
12 changes: 9 additions & 3 deletions api/proto/neoshowcase/protobuf/controller.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ message BuilderRequest {
}
}

message ConnectedBody {
// Larger value means higher priority
int64 priority = 1;
}

message BuildStarted {
string build_id = 1;
}
Expand Down Expand Up @@ -49,9 +54,10 @@ message BuilderResponse {
}
Type type = 1;
oneof body {
BuildStarted started = 2;
BuildSettled settled = 3;
BuildLogPortion log = 4;
ConnectedBody connected = 2;
BuildStarted started = 3;
BuildSettled settled = 4;
BuildLogPortion log = 5;
}
}

Expand Down
4 changes: 4 additions & 0 deletions api/proto/neoshowcase/protobuf/gateway.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ message AvailableDomain {
string domain = 1;
repeated string exclude_domains = 2;
bool auth_available = 3;
// already_bound ドメインが他のアプリケーションによって専有されているか
bool already_bound = 4;
}

message AvailablePort {
Expand Down Expand Up @@ -368,8 +370,10 @@ message GetApplicationsRequest {
enum Scope {
MINE = 0;
ALL = 1;
REPOSITORY = 2;
}
Scope scope = 1;
optional string repository_id = 2;
}

message UpdateApplicationRequest {
Expand Down
3 changes: 3 additions & 0 deletions cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ type BuilderConfig struct {
K8s bk8simpl.Config `mapstructure:"k8s" yaml:"k8s"`
}
Controller grpc.ControllerServiceClientConfig `mapstructure:"controller" yaml:"controller"`
Priority int `mapstructure:"priority" yaml:"priority"`
}

type ControllerConfig struct {
Expand Down Expand Up @@ -161,6 +162,8 @@ func init() {

viper.SetDefault("components.builder.controller.url", "http://ns-controller:10000")

viper.SetDefault("components.builder.priority", 0)

viper.SetDefault("components.controller.port", 10000)
viper.SetDefault("components.controller.mode", "docker")

Expand Down
9 changes: 8 additions & 1 deletion cmd/providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ var providers = wire.NewSet(
grpc.NewControllerService,
grpc.NewControllerServiceClient,
grpc.NewControllerBuilderService,
grpc.NewControllerBuilderServiceClient,
provideControllerBuilderServiceClient,
grpc.NewControllerSSGenService,
grpc.NewControllerSSGenServiceClient,
healthcheck.NewServer,
Expand Down Expand Up @@ -131,6 +131,13 @@ func provideAuthDevServer(c Config) *authdev.Server {
return authdev.NewServer(cc.Header, cc.Port, cc.User)
}

func provideControllerBuilderServiceClient(c Config) domain.ControllerBuilderServiceClient {
return grpc.NewControllerBuilderServiceClient(
c.Components.Builder.Controller,
c.Components.Builder.Priority,
)
}

func provideBuildpackBackend(c Config) (builder.BuildpackBackend, error) {
cc := c.Components.Builder
switch cc.Buildpack.Backend {
Expand Down
1 change: 0 additions & 1 deletion cmd/wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ func NewAuthDev(c Config) (component, error) {
func NewBuilder(c Config) (component, error) {
wire.Build(
providers,
wire.FieldsOf(new(BuilderConfig), "Controller"),
wire.Bind(new(component), new(*builder.Server)),
wire.Struct(new(builder.Server), "*"),
)
Expand Down
9 changes: 3 additions & 6 deletions cmd/wire_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 10 additions & 4 deletions dashboard/biome.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"$schema": "https://biomejs.dev/schemas/1.0.0/schema.json",
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentSize": 2,
"indentWidth": 2,
"lineWidth": 120
},
"javascript": {
Expand All @@ -16,10 +16,16 @@
"linter": {
"enabled": true,
"rules": {
"recommended": true
"recommended": true,
"nursery": {
"noUnusedImports": "error"
},
"style": {
"noNonNullAssertion": "warn"
}
}
},
"files": {
"ignore": ["src/api/*"]
"ignore": ["src/api/*", "package.json"]
}
}
1 change: 0 additions & 1 deletion dashboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<title>NeoShowcase</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
37 changes: 22 additions & 15 deletions dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,41 @@
"lint:force": "biome check src --apply-unsafe",
"fix": "yarn fmt:apply && yarn lint:force",
"typecheck": "tsc --noEmit",
"ci": "biome ci src"
"ci": "biome ci src",
"analyze": "vite build --mode analyze"
},
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "1.2.2",
"@biomejs/biome": "1.3.3",
"@macaron-css/core": "1.2.0",
"@macaron-css/solid": "1.4.1",
"@macaron-css/vite": "1.4.3",
"@types/node": "20.8.0",
"typescript": "5.2.2",
"vite": "4.4.9",
"@tanstack/virtual-core": "^3.0.0-alpha.1",
"@types/node": "20.9.4",
"rollup-plugin-visualizer": "^5.9.3",
"typescript": "5.3.2",
"unplugin-fonts": "^1.0.3",
"vite": "5.0.2",
"vite-plugin-compression": "0.5.1",
"vite-plugin-fonts": "0.7.0",
"vite-plugin-solid": "2.7.0",
"vite-plugin-solid-svg": "0.6.1"
"vite-plugin-solid": "2.7.2",
"vite-plugin-solid-svg": "0.7.0"
},
"dependencies": {
"@bufbuild/protobuf": "1.4.1",
"@connectrpc/connect": "1.1.2",
"@connectrpc/connect-web": "1.1.2",
"@bufbuild/protobuf": "1.4.2",
"@connectrpc/connect": "1.1.3",
"@connectrpc/connect-web": "1.1.3",
"@kobalte/core": "^0.11.2",
"@modular-forms/solid": "^0.20.0",
"@solid-primitives/refs": "1.0.5",
"@solidjs/router": "0.8.3",
"@solidjs/meta": "^0.29.1",
"@solidjs/router": "0.9.1",
"@tanstack/solid-virtual": "^3.0.0-beta.6",
"ansi-to-html": "0.7.2",
"chart.js": "4.4.0",
"fuse.js": "6.6.2",
"fuse.js": "7.0.0",
"solid-chartjs": "1.3.8",
"solid-icons": "1.0.12",
"solid-js": "1.7.12",
"solid-icons": "1.1.0",
"solid-js": "1.8.6",
"solid-tippy": "0.2.1",
"solid-toast": "0.5.0",
"tippy.js": "6.3.7"
Expand Down
20 changes: 14 additions & 6 deletions dashboard/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
import Routes from '/@/routes'
import { MetaProvider, Title } from '@solidjs/meta'
import { Router } from '@solidjs/router'
import type { Component } from 'solid-js'
import { type Component, ErrorBoundary } from 'solid-js'
import { Toaster } from 'solid-toast'
import Routes from '/@/routes'
import ErrorView from './components/layouts/ErrorView'
import { WithHeader } from './components/layouts/WithHeader'

const App: Component = () => {
return (
<>
<MetaProvider>
<Title>NeoShowcase</Title>
<Toaster
toastOptions={{
duration: 10000,
position: 'bottom-right',
position: 'bottom-left',
}}
/>
<Router>
<Routes />
<WithHeader>
<ErrorBoundary fallback={(props) => <ErrorView {...props} />}>
<Routes />
</ErrorBoundary>
</WithHeader>
</Router>
</>
</MetaProvider>
)
}

Expand Down
22 changes: 21 additions & 1 deletion dashboard/src/api/neoshowcase/protobuf/gateway_pb.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.4.1 with parameter "target=ts"
// @generated by protoc-gen-es v1.5.0 with parameter "target=ts"
// @generated from file neoshowcase/protobuf/gateway.proto (package neoshowcase.protobuf, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down Expand Up @@ -179,6 +179,13 @@ export class AvailableDomain extends Message<AvailableDomain> {
*/
authAvailable = false;

/**
* already_bound ドメインが他のアプリケーションによって専有されているか
*
* @generated from field: bool already_bound = 4;
*/
alreadyBound = false;

constructor(data?: PartialMessage<AvailableDomain>) {
super();
proto3.util.initPartial(data, this);
Expand All @@ -190,6 +197,7 @@ export class AvailableDomain extends Message<AvailableDomain> {
{ no: 1, name: "domain", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "exclude_domains", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
{ no: 3, name: "auth_available", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
{ no: 4, name: "already_bound", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
]);

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AvailableDomain {
Expand Down Expand Up @@ -2622,6 +2630,11 @@ export class GetApplicationsRequest extends Message<GetApplicationsRequest> {
*/
scope = GetApplicationsRequest_Scope.MINE;

/**
* @generated from field: optional string repository_id = 2;
*/
repositoryId?: string;

constructor(data?: PartialMessage<GetApplicationsRequest>) {
super();
proto3.util.initPartial(data, this);
Expand All @@ -2631,6 +2644,7 @@ export class GetApplicationsRequest extends Message<GetApplicationsRequest> {
static readonly typeName = "neoshowcase.protobuf.GetApplicationsRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "scope", kind: "enum", T: proto3.getEnumType(GetApplicationsRequest_Scope) },
{ no: 2, name: "repository_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
]);

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetApplicationsRequest {
Expand Down Expand Up @@ -2663,11 +2677,17 @@ export enum GetApplicationsRequest_Scope {
* @generated from enum value: ALL = 1;
*/
ALL = 1,

/**
* @generated from enum value: REPOSITORY = 2;
*/
REPOSITORY = 2,
}
// Retrieve enum metadata with: proto3.getEnumType(GetApplicationsRequest_Scope)
proto3.util.setEnumType(GetApplicationsRequest_Scope, "neoshowcase.protobuf.GetApplicationsRequest.Scope", [
{ no: 0, name: "MINE" },
{ no: 1, name: "ALL" },
{ no: 2, name: "REPOSITORY" },
]);

/**
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/api/neoshowcase/protobuf/null_pb.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.4.1 with parameter "target=ts"
// @generated by protoc-gen-es v1.5.0 with parameter "target=ts"
// @generated from file neoshowcase/protobuf/null.proto (package neoshowcase.protobuf, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
8 changes: 8 additions & 0 deletions dashboard/src/assets/icons/appState/deploying.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions dashboard/src/assets/icons/appState/error.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions dashboard/src/assets/icons/appState/failed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions dashboard/src/assets/icons/appState/idle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading