Skip to content

feat: add showContent and hideContent public API - #9

Merged
yyjim merged 3 commits into
masterfrom
feat/logger-window-show-hide-content
Feb 26, 2026
Merged

feat: add showContent and hideContent public API#9
yyjim merged 3 commits into
masterfrom
feat/logger-window-show-hide-content

Conversation

@yyjim

@yyjim yyjim commented Feb 26, 2026

Copy link
Copy Markdown
Member

Description

  • Add showContent() and hideContent() public methods to CBLoggerWindow, complementing the existing toggleContent() for explicit control over the console panel visibility.
  • Fix Action.handler stored property type to include @MainActor, aligning it with the init parameter signature.
  • Update demo app with "Show Console" and "Hide Console" buttons to exercise the new API.

Test Plan

  • Demo project can be built
  • Tap "Show Console" — console panel appears
  • Tap "Hide Console" — console panel hides
  • "Toggle Console" still works as before
  • Verify no warnings from @MainActor mismatch on Action.handler

Checklist

  • Demo project can be built

Screenshots

Before After

before

after

yyjim and others added 3 commits February 26, 2026 11:35
…ation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@yyjim yyjim self-assigned this Feb 26, 2026
@yyjim
yyjim requested review from ChiaoteNi and peteranny February 26, 2026 03:51
@yyjim
yyjim merged commit 7631010 into master Feb 26, 2026
4 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants