Turning Calendar off while on Calendar shows the Files page; open Notch may swallow clicks in its margins
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 58/100
Línea de trabajo
Start by tracing the Calendar setting through CatNotch/AgendaModel.swift, CatNotch/NotchPanel.swift, and CatNotch/NotchBody.swift; reproduce part 1 and confirm turning Calendar off while its page is open leaves the Notch on the wrong page. Then check part 2 against CatNotchCore/NotchHover.swift and spec 0015, and report whether clicks are swallowed. Done when Calendar off returns to Home and the click-through result is documented; if clicks are swallowed, add a focused test in CatNotchCoreTests/NotchHoverTests.swift.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
[!NOTE]
This issue was raised by Claude (AI code review), not from a user report. Before you start, confirm the problem really exists: reproduce it, or trace the code path yourself. If it does not reproduce, comment here with what you checked and we will close it.The fix ideas and file names below are suggestions, not requirements. If a different or larger change is the right fix, go with it and explain why in the PR. The maintainer will review and merge.
Labels: bug, good first issue · Difficulty: easy for part 1 (about 1 hour); part 2 needs a repro first
Problem
- Turning Calendar off while on the Calendar page shows the Files page. When a page is switched off in Settings,
NotchPanelmoves to Home only if the page is inpagesOff(CatNotch/NotchPanel.swift:169-172). But Calendar is switched off with a separate setting (showCalendar, viaAgendaModel), notpagesOff. So the Notch stays on.calendar, andNotchBody(CatNotch/NotchBody.swift:629,:711-719) falls through to the Files content with the dock showing no section selected.
Fix idea: whenshowCalendarturns off andmodel.page == .calendar, go to.home. - Possible: the open Notch takes clicks in margins it doesn't draw (needs a repro).
NotchHover.hits(CatNotchCore/NotchHover.swift:31,:70-80,openWithChrome) treats the whole open rectangle as solid: about 67 pt of tray room on both sides (the tray only hangs on the right) and the full-width 36 pt dock band beside the narrow dock pill. Over that area the panel setsignoresMouseEvents = false(CatNotch/NotchPanel.swift:221). If the window server doesn't pass clicks through fully transparent pixels, clicks on menu-bar items or windows next to the open Notch land on the panel. That would conflict with spec 0015 AC-2.
Steps to reproduce
- Part 1: open the Notch on Calendar, open Settings, turn Calendar off, look at the Notch.
- Part 2: open the Notch, then click a menu-bar item or window just to the left of it, or beside the dock pill. Note whether the click reaches it.
Relevant files
CatNotch/NotchPanel.swift,CatNotch/NotchBody.swift,CatNotch/AgendaModel.swiftCatNotchCore/NotchHover.swift,CatNotchCoreTests/NotchHoverTests.swift- Spec:
docs/specs/0015-native-notch-panel-and-click-through.md
Acceptance criteria
- Part 1: turning Calendar off while on Calendar goes to Home.
- Part 2: a comment here with the repro result. If clicks are swallowed, shrink
hitsto what is actually drawn, with a test inNotchHoverTests.swift.
- Lenguaje dominante
- Swift
- Estrellas
- 1
- Forks
- 1
- Merge medio
- 3 h 11 min
- PR fusionados (30 d)
- 28
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de thecharydev/catnotch
-
bug good first issue ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
thecharydev/catnotch#68 ·
Los mantenedores suelen responder en 1 día
-
Claude settings.json can be overwritten when unreadable, and a symlinked one becomes a plain fileAbiertobug ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
thecharydev/catnotch#66 ·
Los mantenedores suelen responder en 1 día
-
Add an index for `docs/specs/`Abiertodocumentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
thecharydev/catnotch#41 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
thecharydev/catnotch#40 ·
Los mantenedores suelen responder en 1 día
-
Two specs share the number 0025Abiertodocumentation good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
thecharydev/catnotch#39 ·
Los mantenedores suelen responder en 1 día
Todos los issues de thecharydev/catnotch
Issues similares
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
manaflow-ai/cmux#68791 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
codual-ai/designlane#56 ·
Los mantenedores suelen responder en 1 día
-
apple
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
erkamyaman/unslop-anything#375 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
openwatersio/slackwater-ios#976 ·
Los mantenedores suelen responder en 1 día