@@ -32,21 +30,9 @@ import { ReadoutSectionsComponent } from './readout-sections.component';
System
-
`
@@ -1207,15 +1204,6 @@ export class GalaxySystemSceneComponent implements AfterViewInit, OnDestroy {
this.clearObjectCard();
}
- /** A kept place, revisited: a star is a system to fly into, a body is a page to open. */
- goToBookmark(bookmark: Bookmark): void {
- if (bookmark.kind === 'star') {
- this.navigationStore.selectStar(Number(bookmark.id));
- } else {
- this.openObjectDetail(String(bookmark.id));
- }
- }
-
/** The deliberate step out to the dedicated route, from the card's own control. */
openObjectDetail(id: string): void {
this.navigationStore.selectBody(id);
diff --git a/src/app/features/galaxy-system/system-object-card.component.ts b/src/app/features/galaxy-system/system-object-card.component.ts
index 369332e..4a68ef2 100644
--- a/src/app/features/galaxy-system/system-object-card.component.ts
+++ b/src/app/features/galaxy-system/system-object-card.component.ts
@@ -1,9 +1,7 @@
-import { ChangeDetectionStrategy, Component, computed, inject, input, output } from '@angular/core';
+import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';
import { BodyDetailViewModel } from '../body-detail/body-detail.model';
import { bodyReadouts } from '../body-detail/body-readouts';
-import { BookmarksStore } from '../../shared/state/bookmarks.store';
-import { BookmarkIconComponent } from '../../shared/ui/bookmark-icon.component';
import { ReadoutSectionsComponent } from '../body-detail/readout-sections.component';
import { ChevronIconComponent } from '../../shared/ui/chevron-icon.component';
@@ -21,7 +19,7 @@ import { ChevronIconComponent } from '../../shared/ui/chevron-icon.component';
@Component({
selector: 'app-system-object-card',
changeDetection: ChangeDetectionStrategy.OnPush,
- imports: [BookmarkIconComponent, ChevronIconComponent, ReadoutSectionsComponent],
+ imports: [ChevronIconComponent, ReadoutSectionsComponent],
// Positioned and full-bleed like the HUD's own host, so the panel inside it resolves against
// the scene rather than against whatever box the inline default would have left it in — which
// put the card off the bottom-left corner of the viewport entirely.
@@ -38,16 +36,6 @@ import { ChevronIconComponent } from '../../shared/ui/chevron-icon.component';