Skip to content

Conversation

sandinosaso
Copy link
Collaborator

Create Software Item Specification for GUI service following the QuPath specification format.

Acceptance Criteria:

  • Create SPEC-{MODULE_NAME_UPPER}-SERVICE.md in project root
  • Follow same format as SPEC-GUI-SERVICE.md
  • Document primary use cases with code proof references (file/line numbers)
  • Include technical constraints and implementation details
  • Verify by looking at code examples - proof references only
  • Team review and feedback addressed

@sandinosaso sandinosaso force-pushed the fe-6387-spec-gui-service branch 2 times, most recently from 93bed1d to 461fa47 Compare August 26, 2025 08:16
Copy link

codecov bot commented Aug 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

…Added specs documentation for the Gui service
@sandinosaso sandinosaso force-pushed the fe-6387-spec-gui-service branch from 461fa47 to 0000f7a Compare August 26, 2025 09:19
@davidnelvand davidnelvand self-requested a review August 26, 2025 13:00
Copy link
Collaborator

@davidnelvand davidnelvand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, some small comments but otherwise great


**itemId**: SPEC-GUI-SERVICE
**itemType**: Software Item Spec
**itemFulfills**: SWR-SYSTEM-GUI-INTERFACE-1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is this SWR from?

# Auto-discovery pattern with conditional loading
if find_spec("nicegui"):
from ._error import PageBuilder as ErrorPageBuilder
from ._frame import HEALTH_UPDATE_INTERVAL, USERINFO_UPDATE_INTERVAL, frame
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

USERINFO_UPDATE_INTERVAL is not exported in all despite being mentioned as exported, i dont know if it matters, resolve if not

Comment on lines +500 to +511
## Appendix A: Verified Implementation Status

| Component | Implementation Status | Evidence Location |
|-----------|----------------------|-------------------|
| Frame Component | ✅ Complete | `_frame.py` |
| Theme Component | ✅ Complete | `_theme.py` |
| Error Handler | ✅ Complete | `_error.py` |
| CLI Integration | ✅ Complete | `cli.py` |
| Auto-Discovery | ✅ Complete | `__init__.py` |
| WSI GUI Pattern | ✅ Complete | `wsi/_gui.py` |
| QuPath GUI Pattern | ✅ Complete | `qupath/_gui.py` |
| Configuration Constants | ✅ Complete | `_frame.py` |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we planning to update this with components that are not yet implemented?

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