feat(widget): dockear al monitor principal por defecto y avisar si el widget queda en otro display
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust, typescript
Hướng nghiên cứu
Start where the frontend resolves the dock geometry when dockMonitor is null and find the currentMonitor() call that should become primaryMonitor(). The Rust geometry code the issue mentions is the second place to check. Done means a null dockMonitor docks to the primary display, and a notice or re-dock happens when the strip shows on a non-primary display. The issue asks for product review before implementation, so confirm the behavior with the maintainer first.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Pre-flight checks
- Busqué issues existentes y no encontré duplicados.
- Entiendo que esta propuesta requiere revisión de producto antes de implementarse.
Problem to solve
Descubierto durante el port a macOS (#69, verificación M3): con dockMonitor: null, el frontend resuelve la posición del widget con currentMonitor() (el monitor "actual", que depende de dónde esté el cursor/foco) en vez del monitor principal. En un setup multi-display el widget puede dockearse al borde de un monitor externo — incluso uno ubicado fuera de la vista natural del usuario (arriba del principal) — y como la tira en modo peek es una franja fina (~210 px), el widget parece "desaparecido".
Reproducción real: macOS multi-display (Retina principal + externos, uno de 3008×1692 arriba del principal), dockEdge: "top", dockOffset: 0.53, dockMonitor: null → la ventana del widget quedó en y = -1692 (borde superior del externo). En Windows no se nota porque la taskbar vive en el display principal; el dockeo actual nunca tuvo este caso a la vista.
Proposed solution
Dos cambios de comportamiento (ambos acotados al frontend/Rust de geometría ya existente):
- Con
dockMonitor: null, resolver la geometría contra el monitor principal (primaryMonitor()) por defecto, no contracurrentMonitor(). El "actual" queda solo cuando el usuario fijó explícitamente un monitor en Ajustes. - Al mostrar la tira en un display no principal, emitir una notificación/aviso breve ("Quorb está en el monitor X") o re-dockear al principal si el elegido no está visible.
Affected area
Application behavior
Scope and non-goals
Incluye: default de monitor para el dockeo, aviso/redock de seguridad. No incluye: soporte de widget simultáneo en varios displays, gestión de perfiles por display, cambios de estilo del widget, ni la validación del port macOS (eso sigue en #69 / PR #112).
Alternatives considered
- Dejar el comportamiento actual y solo documentarlo: descartado, el "widget invisible" es una mala primera experiencia en multi-display.
- Recordar el último monitor por coordenadas de ventana en vez de por nombre: frágil si cambia la disposición de displays; el nombre + fallback a principal es más estable.
- Ngôn ngữ chính
- TypeScript
- Star
- 10
- Fork
- 2
- Merge trung bình
- 3 giờ 54 phút
- Pull request đã merge (30 ngày)
- 94
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của egdev6/quorb
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 57/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
egdev6/quorb#170 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug(linux/wayland): ventana negra, bucle de reposicionamiento y cierre forzado del popup en 0.7.0Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
egdev6/quorb#168 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(providers): proveedor agregador CPAMC (CLI Proxy API)Có thể đã có người làm @Rafaeldelinares đã nhận 3 ngày trước. Đang mởenhancement question
egdev6/quorb#167 · 4 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feat(secrets): auto-descubrimiento y fallback de credenciales en entorno local (Zero-Config)Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
egdev6/quorb#166 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
awesome-dsh-plugin/awesome-dsh-plugin#9184 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
farion1231/cc-switch#8829 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[core-client] Remove unused hand-maintained transport helpers after the definition-table cutoverĐang mởdoc-audit enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100