mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-18 03:27:08 +00:00
feat(ios): group the session list like the web sidebar
- Add personal pins (My sessions), global/project pin separation, H5 running/pending and active/idle buckets, and collapsible project groups with counts and selected-row expansion. - Add local personal pin storage and list-specific display metrics. - Add Settings > Appearance list text size (80-130%) and CLI/code font size (9-17 pt), with Dynamic Type still applied. - Keep search flat and filters force groups open; shared/archived/status detail/preview-fold remain out of scope. - Bump the local build to 14. via [HAPI](https://hapi.run) Co-Authored-By: HAPI <noreply@hapi.run> Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -14,6 +14,7 @@ public struct CodeBlockView: View {
|
||||
|
||||
@Environment(\.hapiTheme) private var theme
|
||||
@Environment(\.hapiTypography) private var typography
|
||||
@Environment(\.hapiCodeFontSize) private var codeFontSize
|
||||
@Environment(\.hapiSyntaxHighlighter) private var highlighter
|
||||
@Environment(\.hapiPasteboard) private var pasteboard
|
||||
|
||||
@@ -40,7 +41,7 @@ public struct CodeBlockView: View {
|
||||
header
|
||||
ScrollView(.horizontal, showsIndicators: false) {
|
||||
Text(highlighted ?? AttributedString(code))
|
||||
.font(typography.codeFont)
|
||||
.font(typography.codeFont(size: codeFontSize))
|
||||
.lineSpacing(typography.codeLineSpacing)
|
||||
.foregroundStyle(theme.textPrimary)
|
||||
.textSelection(.enabled)
|
||||
|
||||
Reference in New Issue
Block a user