Main#10
Merged
chinaestone merged 2 commits intomasterfrom Jan 9, 2026
Merged
Conversation
….md, README-ZH_CN.md, README-ZH_HANS.md
….md, README-ZH_CN.md, README-ZH_HANS.md
chinaestone
added a commit
that referenced
this pull request
Jan 9, 2026
chinaestone
added a commit
that referenced
this pull request
Jan 9, 2026
…ore (#12) * Merge pull request #7 from free-pixel/feat/safety-coding feat: implement safety coding measures to prevent secret leaks * Revert "Merge pull request #7 from free-pixel/feat/safety-coding" (#8) This reverts commit 1f65d97. * feat: implement comprehensive security measures for PixelClockApp (#9) * feat: refactor window to popover and add TimerViewModel - Add TimerViewModel class with state management - Implement test cases for timer state switching - Replace main window with macOS native Popover - Add PopoverBackgroundView with theme-aware materials - Update MenuBarController to show/hide popover * feat: implement Dark theme with gold glow effects and refactor UI - Add Monospaced Rounded font with numericText animation for timer - Implement Pill Tabs for quick duration switching (25m/5m/15m) - Add Dark theme with obsidian background and gold (#D4AF37) glow effects - Fix Popover appearance hardcoded to Light mode - Add system theme change listener for real-time theme switching - Remove Slider controls, replace with Tab-based duration selection * docs: backup documentation files to backup/ directory Backup all markdown documentation files for safekeeping * feat: implement keyboard shortcuts and theme color synchronization - Add Start button auto-focus with @focusstate - Implement Cmd + W to hide Popover (instead of minimize) - Add MenuBarController theme state tracking - Synchronize progress ring color with theme (blue/gold) - Add onChange listener for real-time theme switching * fix: adjust Popover size and fix Dark theme button visibility - Change Popover size from 300x720 to 530x570 - Fix Dark theme buttons: use pure black background instead of semi-transparent - Add Light theme blue overlay (opacity 0.05) - Increase Dark background opacity to 0.85 for stronger obsidian effect - Adjust layout spacing (40/40/50) and button size (120x50) for larger Popover - Improve button visibility and contrast in Dark theme * fix: enforce Popover size using NSLayoutConstraint - Replace direct view assignment with proper view hierarchy - Add NSLayoutConstraint to force 530x570 size - Create NSView container and add hostingView as subview - Disable autoresizing for both container and hostingView - Set width and height constraints to match design spec (530x570) * fix: remove hardcoded popover appearance to fix Dark theme colors - Remove popover.appearance assignment that was overriding SwiftUI colorScheme - Let SwiftUI manage theme detection via @Environment(\.colorScheme) - Fix black text color issue in Dark theme (should be gold) - Fix Start/Stop button text color in Dark theme (should be gold) - Ensure time font and controls show correct colors in Dark mode * Fix dark mode gold text visibility by setting popover appearance * feat: add security measures to prevent secret leaks - Update .gitignore with exclusions for sensitive files (certificates, keys, secrets) - Add .pre-commit-config.yaml with hooks for trailing whitespace, large files, and secret scanning via TruffleHog * refactor: move docs to submodule for security - Remove docs/ and backup/ directories from main repo - Add .gitmodules for docs submodule (points to private repo) - Update .gitignore to exclude documentation folders - Update AGENTS.md with security guidelines * refactor: move documentation to opensource-docs submodule - Update .gitmodules to point to git@github.com:free-pixel/opensource-docs.git - Create pixel_clock directory in docs submodule for PixelClock docs - Move all non-README documents from backup/ to docs/pixel_clock/ - Remove backup/ directory * Update docs submodule to reflect moved documentation * Update docs submodule after moving pixel2 documentation * Update docs submodule: keep only CODE_OF_CONDUCT.md, CONTRIBUTING.md, BUILD_ISSUES.md * Remove deleted files before filter-branch * Update docs submodule after restoring PixelClock docs to pixelclock/ * Rename docs submodule to internal_docs - Update .gitmodules to point to internal_docs path - Remove old docs submodule reference - Add new internal_docs submodule --------- Co-authored-by: Estone <iestone@yeah.net> * add docs * Move docs to internal_docs submodule: BUILD_ISSUES.md, GITHUB_ACTIONS.md, README-ZH_CN.md, README-ZH_HANS.md * Move docs to project docs/ directory: BUILD_ISSUES.md, GITHUB_ACTIONS.md, README-ZH_CN.md, README-ZH_HANS.md * Main (#10) * Move docs to internal_docs submodule: BUILD_ISSUES.md, GITHUB_ACTIONS.md, README-ZH_CN.md, README-ZH_HANS.md * Move docs to project docs/ directory: BUILD_ISSUES.md, GITHUB_ACTIONS.md, README-ZH_CN.md, README-ZH_HANS.md --------- Co-authored-by: Estone <iestone@yeah.net> * Remove moved docs from root: BUILD_ISSUES.md, GITHUB_ACTIONS.md, README-ZH_CN.md, README-ZH_HANS.md * Add AGENTS.md to .gitignore and remove file --------- Co-authored-by: Estone <iestone@yeah.net>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.