Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request adds a live telescope imaging feature that integrates with N.I.N.A (Nighttime Imaging 'N' Astronomy) software to display real-time telescope status and images. The feature allows users to view live images from the telescope along with technical metadata about the current observation session.
Changes:
- Added NINA API client for fetching telescope status, mount information, and live images with caching
- Created new live-photo page displaying telescope status, mount coordinates, and image metadata
- Added API endpoints for telescope status and live image streaming
- Updated navigation to replace "About" link with "Astro Window" (live photo feature)
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
| src/lib/server/nina.ts | New NINA API client with status/image caching and sequence monitoring |
| src/routes/api/live-image/+server.ts | Endpoint serving cached live telescope images |
| src/lib/server/_routes/telescope.ts | API route exposing telescope status |
| src/routes/[[lang=lang]]/live-photo/+page.svelte | Live photo viewer page with status panel and auto-refresh |
| src/lib/server/variables.ts | Added NINA configuration variables |
| src/lib/server/routes.ts | Registered telescope route in router |
| src/lib/lang/english.ts | Added English translations for live photo feature |
| src/lib/lang/czech.ts | Added Czech translations for live photo feature |
| src/lib/lang/_template.ts | Updated language template structure |
| src/components/Navigation.svelte | Replaced About navigation item with Live Photo link |
| .env.example | Added NINA configuration examples |
| .github/copilot-instructions.md | Added post-implementation code quality checks |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.