Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
cc7f910
fix: 動画ループ再生を滑らかにする
Sep 3, 2026
06b214f
fix: 差分一覧でランダム再生を抑止
Sep 3, 2026
2092ec4
feat(library): 「続きを見る」アルバムと一覧からの除外機能を追加
Sep 24, 2026
b2b6d58
feat(player): PlayerLayerView に videoGravity の動的切り替え対応を追加
Sep 24, 2026
2c3e378
feat(shortcuts): 音量・ミュート・コマ送り・お気に入り・画面いっぱいのショートカット定義を追加
Sep 24, 2026
fefb61d
feat(player): 動画切り替え待機・シャッフル袋方式・各種操作ロジックを実装
Sep 24, 2026
f62b17d
feat(player): プレイヤーUIにお気に入り・画面いっぱいボタンと新規ショートカット操作を統合
Sep 24, 2026
8828fb2
docs: 「続きを見る」アルバムと動画プレイヤー新機能の解説を追記
Sep 24, 2026
dd9e57a
merge: mainとのコンフリクトを解消
Sep 25, 2026
15eadf7
feat(analyzer): ループ再生用の冒頭・末尾黒フレーム解析機能を追加
Oct 28, 2026
218a3d5
feat(player): ループ再生時に冒頭・末尾の黒画面をスキップする処理とUI通知を追加
Oct 28, 2026
6363bf0
test(player): ループ再生時の黒画面スキップおよびキュー制御のテストを追加
Oct 28, 2026
aebeb02
docs: ループ再生時の黒画面スキップ機能と通知仕様をREADMEに追記
Oct 28, 2026
58b56a1
Merge pull request #31 from HR0101/feature/skip-black-loop-edges
HR0101 Oct 28, 2026
7afe0e4
refactor(ui): ガラス調マテリアルと統一ヘッダーを導入しデザインシステムを刷新
Oct 28, 2026
0519dc0
refactor(dashboard): サーバー稼働状況と接続案内カードのレイアウトおよび文言を整理
Oct 28, 2026
dfd941e
feat(sidebar): アルバムのリアルタイム検索と種別絞り込み機能を追加
Oct 28, 2026
47e5248
feat(library): 共通ページヘッダー・グリッドコントロールバーの操作性改善と余白調整
Oct 28, 2026
e6a8bbf
Merge pull request #32 from HR0101/feature/library-usability
HR0101 Oct 28, 2026
0ae41a4
feat(tour): プレビュー巡回および採用シーンシャッフル再生機能を実装
Oct 28, 2026
0f52fec
feat(album): 表紙付きアルバム一覧ページとサイドバー要約表示機能を追加
Oct 28, 2026
e82e90f
feat(settings): 詳細設定画面にセクションジャンプを追加しメモリに応じた上限選択を実装
Oct 28, 2026
80844b9
chore(text): アプリ全体の案内文・ログメッセージの表記揺れと句読点を統一
Oct 28, 2026
d0e295d
Merge pull request #33 from HR0101/feature/preview-tour-scene-shuffle
HR0101 Oct 28, 2026
1f642ba
refactor(ui): 単色キャンバス・自前左カラム構成とフラットなデザインシステムへ移行
Oct 28, 2026
87436f8
feat(dashboard): 接続用QRコード表示の追加とサーバー案内およびWebクライアントUIを調整
Oct 28, 2026
3e3c9da
refactor(player): 暗背景・統一パネルと角ボタンで各プレイヤーのUIコンポーネントを標準化
Oct 28, 2026
da733ce
refactor(library): サムネイルのホバー再生・選択枠の改善と設定・各種ビューのフォントサイズ統一
Oct 28, 2026
b20d7be
Merge pull request #34 from HR0101/feature/preview-tour-scene-shuffle
HR0101 Oct 28, 2026
f87e973
feat(playback): マイチャンネル・気分ミックス・時間指定再生・場面ストック機能を追加
Oct 28, 2026
3d2e409
feat(library): ツールバーのお楽しみ再生メニューに新再生モードを統合
Oct 28, 2026
3c1d843
refactor(scene-extraction): シーン抽出ビューのUIを単色キャンバスと標準デザインシステムへ統一
Oct 28, 2026
f4f0d04
refactor(ui): ダッシュボード・ストレージ管理・アクセスログ等のシート外観とフォントを統一
Oct 28, 2026
2373958
Merge pull request #35 from HR0101/feature/playback-discovery-modes
HR0101 Oct 28, 2026
a745a74
feat(navigation): 主要な移動先を常設ナビゲーションレールへ集約
Oct 28, 2026
b556e64
test(navigation): 件数バッジのお気に入り・ゴミ箱への追従を検証
Oct 28, 2026
1fe0092
Merge pull request #36 from HR0101/feature/sidebar-navigation-rail
HR0101 Oct 28, 2026
d1e65e9
refactor(sidebar): サイドバー上部の製品表示ヘッダーを削除し検索欄の位置を調整
Oct 28, 2026
05e36c4
Merge pull request #37 from HR0101/feature/remove-sidebar-branding
HR0101 Oct 28, 2026
8421dd7
feat(design): アプリ全体のタイポグラフィ階層トークンを定義し適用
Oct 28, 2026
0ddcde8
refactor(navigation): サイドバーおよびナビゲーションレールのフォントをタイポグラフィ階層に統一
Oct 28, 2026
a482023
refactor(dashboard): ダッシュボード・ホーム画面のフォントをタイポグラフィ階層に統一
Oct 28, 2026
cf1536c
refactor(library): ライブラリ・アルバム関連ビューのフォントをタイポグラフィ階層に統一
Oct 28, 2026
064d4be
refactor(playback): 動画・写真・プレイヤー関連ビューのフォントをタイポグラフィ階層に統一
Oct 28, 2026
511980b
refactor(analysis): 類似メディア・スケッチ整理・派生動画画面のフォントをタイポグラフィ階層に統一
Oct 28, 2026
ad37649
refactor(scene): シーン抽出関連ビューのフォントをタイポグラフィ階層に統一
Oct 28, 2026
8626b90
refactor(settings): 設定・アクセスログ・ストレージ管理画面のフォントをタイポグラフィ階層に統一
Oct 28, 2026
78deb3c
Merge pull request #38 from HR0101/feature/unify-typography-hierarchy
HR0101 Oct 28, 2026
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
5 changes: 5 additions & 0 deletions AllServerForMac/App/Models/NavigationSelection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ import Foundation
enum NavigationSelection: Hashable {
case home
case favorites
/// 途中でやめた動画だけを、最後に再生した順に並べる画面。
/// ブラウザ UI の「続きを見る」タブと同じ中身(保管庫が `/sync` で共有されているため)。
case continueWatching
case history
case trash
case sceneExtraction
/// 動画・画像のアルバムを表紙つきで一覧するページ。
case albums
case album(UUID)
/// アルバム名の "/" 区切りで表現されるフォルダ。実体を持たないためIDではなく
/// パス文字列で指す。動画ツリーと画像ツリーは別建てで同名フォルダが両立しうるので、
Expand Down
134 changes: 111 additions & 23 deletions AllServerForMac/App/Views/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ struct ContentView: View {
@ObservedObject private var dataManager: LibraryViewModel
@ObservedObject private var playbackCoordinator: PlaybackCoordinator
@ObservedObject private var appSettings: AppSettings
private let sidebarMinWidth: CGFloat = 300
private let sidebarIdealWidth: CGFloat = 320
private let sidebarMaxWidth: CGFloat = 360
/// サイドバーの幅。行の幅(253)に左右の余白(10×2)とスクロールバーの分(15)を足した値で、行は固定幅で組んである。
private let sidebarWidth: CGFloat = 288
@State private var isSidebarVisible = true

init() {
let viewModel = AppViewModel()
Expand Down Expand Up @@ -38,8 +38,14 @@ struct ContentView: View {
// ライブラリ画面を外した瞬間に素の(=黒い)ウィンドウ背景が覗かないよう、
// 常駐する下地を1枚敷いておく。上端の黒帯対策の要はこの下地とウィンドウ設定であって、
// ライブラリ画面を出しっぱなしにすることではない。
NeomorphicTheme.background
if shouldShowLibraryView {
// デスクトップが透けるガラス地はやめ、単色の下地にする(色の濁りと環境による見た目の差をなくす)。
NeomorphicTheme.canvas
.id(appSettings.neomorphicDarkBase)
.ignoresSafeArea()
} else {
Color.black.ignoresSafeArea()
}

if let error = dataManager.storageInitializationError {
LibraryStorageInitializationErrorView(error: error)
Expand All @@ -66,7 +72,8 @@ struct ContentView: View {
// ウィンドウのクロム設定はライブラリ画面の有無に関わらず効かせる必要があるため、
// ライブラリ画面ではなくこの常駐の階層に付ける。
.toolbar(isToolbarHidden ? .hidden : .automatic, for: .windowToolbar)
.toolbarBackground(NeomorphicTheme.background, for: .windowToolbar)
// タイトルバーの帯はサイドバーと同じ色にし、窓の上端でサイドバーと一続きに見せる。
.toolbarBackground(NeomorphicTheme.sidebar, for: .windowToolbar)
.toolbarBackground(
isToolbarHidden ? .hidden : .visible,
for: .windowToolbar
Expand Down Expand Up @@ -157,13 +164,12 @@ struct ContentView: View {
: .normal,
onClose: playbackCoordinator.closeVariantFinder
)
.background(.regularMaterial)
.appSheet()
.clipShape(RoundedRectangle(cornerRadius: 14, style: .continuous))
.overlay(
RoundedRectangle(cornerRadius: 14, style: .continuous)
.strokeBorder(.white.opacity(0.14), lineWidth: 1)
.strokeBorder(NeomorphicTheme.cardBorder, lineWidth: 0.5)
)
.shadow(color: .black.opacity(0.42), radius: 28, y: 12)
.id("\(albumID.uuidString)-\(String(describing: playbackCoordinator.variantFinderAlignmentMode))")
}
}
Expand All @@ -190,9 +196,13 @@ struct ContentView: View {
currentVideo: current,
dataManager: dataManager,
watchState: viewModel.watchState,
settings: viewModel.playbackSettings
settings: viewModel.playbackSettings,
initialStartTime: playbackCoordinator.singleStartTime
)
.id(current.id)
case .tour(let session):
PlaybackTourView(session: session, dataManager: dataManager)
.id(session.id)
case .multi(let videos):
MultiVideoPlayerView(videos: videos, dataManager: dataManager)
.ignoresSafeArea()
Expand Down Expand Up @@ -227,20 +237,46 @@ struct ContentView: View {
// ツールバーの背後まで同じ背景を広げ,フルスクリーン時の色の段差をなくす。
CommandDeckBackground()

NavigationSplitView {
MainSidebarView(
// 標準の NavigationSplitView は macOS 26 でサイドバーが「浮いた角丸のガラス」になり、
// 窓の端や上下に余白ができて平らにできない。そこで左カラムを自前で組み、窓の端から端まで
// 単色で伸ばす(タイトルバーの帯もサイドバーと同じ色にして、一続きに見せる)。
HStack(spacing: 0) {
// 左端のアイコンのレール。サイドバーを隠しても残り、主要な行き先と設定へいつでも移れる。
SidebarRailView(
dataManager: dataManager,
webServerManager: viewModel.webServerManager,
watchState: viewModel.watchState,
selection: $viewModel.selection,
isShowingPreferences: $viewModel.isShowingPreferences,
isShowingStorageManager: $viewModel.isShowingStorageManager
allVideosAlbumID: dataManager.albums.first { $0.name == LibraryViewModel.allVideosAlbumName }?.id,
allPhotosAlbumID: dataManager.albums.first { $0.name == LibraryViewModel.allPhotosAlbumName }?.id,
onShowStorage: { viewModel.isShowingStorageManager = true },
onShowPreferences: { viewModel.isShowingPreferences = true }
)
.navigationSplitViewColumnWidth(
min: sidebarMinWidth,
ideal: sidebarIdealWidth,
max: sidebarMaxWidth
.background(NeomorphicTheme.rail.ignoresSafeArea())
.overlay(alignment: .trailing) {
Rectangle()
.fill(NeomorphicTheme.separator)
.frame(width: 0.5)
.ignoresSafeArea()
}

if isSidebarVisible {
MainSidebarView(
dataManager: dataManager,
webServerManager: viewModel.webServerManager,
selection: $viewModel.selection
)
} detail: {
.frame(width: sidebarWidth)
.frame(maxHeight: .infinity)
.background(NeomorphicTheme.sidebar.ignoresSafeArea())
.overlay(alignment: .trailing) {
Rectangle()
.fill(NeomorphicTheme.separator)
.frame(width: 0.5)
.ignoresSafeArea()
}
.transition(.move(edge: .leading))
}

NavigationStack {
switch viewModel.selection {
case .home:
Expand All @@ -256,6 +292,13 @@ struct ContentView: View {
onAnalyzeScenes: viewModel.openSceneExtraction
)
.navigationTitle("お気に入り")
case .continueWatching:
LibraryCategoryView(
kind: .continueWatching,
dataManager: dataManager,
onAnalyzeScenes: viewModel.openSceneExtraction
)
.navigationTitle("続きを見る")
case .history:
LibraryCategoryView(
kind: .history,
Expand All @@ -275,6 +318,12 @@ struct ContentView: View {
viewModel: viewModel.sceneExtraction,
onClose: viewModel.closeSceneExtraction
)
case .albums:
AlbumOverviewView(
dataManager: dataManager,
selection: $viewModel.selection
)
.navigationTitle("アルバム一覧")
case .album(let albumID):
if let album = dataManager.albums.first(
where: { $0.id == albumID }
Expand All @@ -284,7 +333,7 @@ struct ContentView: View {
dataManager: dataManager,
onAnalyzeScenes: viewModel.openSceneExtraction
)
.navigationTitle(album.name)
.navigationTitle(album.displayTitle)
} else {
ContentUnavailableView("アルバムが見つかりません", systemImage: "questionmark.folder")
}
Expand All @@ -301,6 +350,30 @@ struct ContentView: View {
ContentUnavailableView("サイドバーから項目を選択してください", systemImage: "sidebar.left")
}
}
// ツールバーのメニューだけがアクセントの青になり、ボタンの中立色とちぐはぐに見えるので、
// 内容側(ツールバー含む)の色味は文字色にそろえる。ホームは自分でアクセントを指定している。
.tint(NeomorphicTheme.ink)
// ページ見出しと同じ文字がタイトルバーにも出て重複するので、ツールバーのタイトルは外す
// (ウィンドウ自体のタイトルは残るので、Mission Control などでは識別できる)。
.toolbar(removing: .title)
// タイトルを外すと、右寄せだった各画面のボタンが左へ詰まるので、中央に伸びる空きを置いて右側に戻す。
.toolbar { principalSpacer }
// 標準の分割表示が確保していたツールバーの下の余白を、自前の構成でも同じだけ空ける。
.safeAreaInset(edge: .top, spacing: 0) {
Color.clear.frame(height: 44)
}
}
.toolbar {
ToolbarItemGroup(placement: .navigation) {
Button {
withAnimation(.easeInOut(duration: 0.2)) { isSidebarVisible.toggle() }
} label: {
Label("サイドバー", systemImage: "sidebar.leading")
}
.keyboardShortcut("s", modifiers: [.command, .control])
.help(isSidebarVisible ? "サイドバーを隠す(⌃⌘S)" : "サイドバーを表示(⌃⌘S)")

}
}
}
// tint / preferredColorScheme / toolbarBackground / WindowChromeConfigurator は
Expand All @@ -312,6 +385,21 @@ struct ContentView: View {
.id(appSettings.neomorphicDarkBase)
}

/// ツールバーの中央に伸びる透明な空き。macOS 26 では部品ごとに丸い背景が付くので、その背景は消す。
@ToolbarContentBuilder
private var principalSpacer: some ToolbarContent {
if #available(macOS 26.0, *) {
ToolbarItem(placement: .principal) {
Color.clear.frame(minWidth: 40, maxWidth: .infinity, minHeight: 1)
}
.sharedBackgroundVisibility(.hidden)
} else {
ToolbarItem(placement: .principal) {
Color.clear.frame(minWidth: 40, maxWidth: .infinity, minHeight: 1)
}
}
}

private var appMenuContext: AppMenuContext {
AppMenuContext(
isLibraryLoaded: dataManager.isLibraryLoaded,
Expand Down Expand Up @@ -394,7 +482,7 @@ private struct LibraryStorageInitializationErrorView: View {

VStack(spacing: 8) {
Text("ライブラリ保存先を準備できませんでした")
.font(.title2.bold())
.font(.appTitle.bold())
Text("データを保護するため,ライブラリの読み込みとサーバー起動を停止しています.")
.foregroundStyle(.secondary)
.multilineTextAlignment(.center)
Expand All @@ -408,7 +496,7 @@ private struct LibraryStorageInitializationErrorView: View {
}
.padding(20)
.frame(maxWidth: 680, alignment: .leading)
.background(.regularMaterial, in: RoundedRectangle(cornerRadius: 16))
.background(NeomorphicTheme.card, in: RoundedRectangle(cornerRadius: 16, style: .continuous))

HStack(spacing: 12) {
Button {
Expand All @@ -434,7 +522,7 @@ private struct LibraryStorageInitializationErrorView: View {
private func errorRow(title: String, value: String) -> some View {
VStack(alignment: .leading, spacing: 4) {
Text(title)
.font(.caption.weight(.semibold))
.font(.appCaption.weight(.semibold))
.foregroundStyle(.secondary)
Text(value)
.textSelection(.enabled)
Expand Down
6 changes: 3 additions & 3 deletions AllServerForMac/App/Views/WindowChromeConfigurator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ final class WindowChromeView: NSView {
window.appearance = NSAppearance(
named: NeomorphicTheme.isDarkBase ? .darkAqua : .aqua
)
window.backgroundColor = NeomorphicTheme.isDarkBase
? NSColor(red: 0.08, green: 0.085, blue: 0.09, alpha: 1.0)
: NSColor(red: 0.89, green: 0.92, blue: 0.93, alpha: 1.0)
// 下地は単色なので、透過ウィンドウにはしない(角の表示も安定する)。
window.isOpaque = true
window.backgroundColor = NSColor(NeomorphicTheme.canvas)
window.toolbarStyle = .unifiedCompact
window.toolbar?.isVisible = !isToolbarHidden
}
Expand Down
Loading
Loading