-
Notifications
You must be signed in to change notification settings - Fork 0
fix: audit remaining issues — safety, privacy, accessibility, cleanup #181
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
Open
AprilNEA
wants to merge
10
commits into
master
Choose a base branch
from
fix/audit-remaining-issues
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
5a97d70
fix: DaemonManager TOCTOU + binary sig verification + FD race
AprilNEA fc77ebd
fix: log privacy audit + protobuf CI check + SPM version pinning
AprilNEA 7843097
refactor: unify date parsing, extract constants, fix force unwrap
AprilNEA ef1b5c8
feat: VoiceOver Phase 1 + unified EmptyStateView + ContentView decomp…
AprilNEA ea5dc20
feat: URL scheme stub + lazy init audit + K8s Watch documentation
AprilNEA 2141017
fix: raise SPM version floors + address review comments
AprilNEA 750153b
fix(ci): checkout arcbox repo for proto verification
AprilNEA 81db6b5
fix(ci): checkout arcbox inside workspace and symlink for generate.sh
AprilNEA fac6ac8
chore: regenerate protobuf files to match latest arcbox proto definit…
AprilNEA 5e61903
fix: address second round of review comments
AprilNEA File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,57 @@ | ||
| import SwiftUI | ||
|
|
||
| /// Reusable empty state component with icon, title, and an optional custom content area. | ||
| struct EmptyStateView<Content: View>: View { | ||
| let icon: String | ||
| let title: String | ||
| let content: Content | ||
|
|
||
| init( | ||
| icon: String, | ||
| title: String, | ||
| @ViewBuilder content: () -> Content | ||
| ) { | ||
| self.icon = icon | ||
| self.title = title | ||
| self.content = content() | ||
| } | ||
|
|
||
| var body: some View { | ||
| VStack(spacing: 16) { | ||
| Spacer() | ||
|
|
||
| ZStack { | ||
| Circle() | ||
| .fill(AppColors.surfaceElevated) | ||
| .frame(width: 64, height: 64) | ||
| Image(systemName: icon) | ||
| .font(.system(size: 26)) | ||
| .foregroundStyle(AppColors.textMuted) | ||
| } | ||
|
|
||
| Text(title) | ||
| .font(.system(size: 13)) | ||
| .foregroundStyle(AppColors.textSecondary) | ||
|
|
||
| content | ||
| .padding(16) | ||
| .background( | ||
| RoundedRectangle(cornerRadius: 10) | ||
| .fill(AppColors.surfaceElevated) | ||
| ) | ||
|
|
||
| Spacer() | ||
| } | ||
| .frame(maxWidth: .infinity) | ||
| .padding(24) | ||
| } | ||
| } | ||
|
|
||
| /// Convenience initializer for empty states without extra content. | ||
| extension EmptyStateView where Content == EmptyView { | ||
| init(icon: String, title: String) { | ||
| self.icon = icon | ||
| self.title = title | ||
| self.content = EmptyView() | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.