fresh-main #9

Merged
argonaut merged 2 commits from fresh-main into main 2025-04-27 04:05:25 +00:00
Contributor

Key Changes:

  1. MiniGraph Fixes & Enhancements (src/components/MiniGraph.astro):

    • Resolved JavaScript initialization errors that previously caused the graph to fail loading.
    • Re-implemented the logic to calculate and display graph data up to two levels deep.
    • Added the cose layout for the fullscreen graph view, providing a more organic visualization.
    • Integrated the fullscreen toggle button and info panel functionality.
    • Included the fix to ensure the parent page layout is correctly restored upon exiting fullscreen mode.
    • Added improved error handling and DOM element checks within the component script.
  2. Code Pruning & Refactoring:

    • Removed the import and usage of the unused Newsletter component from src/layouts/BlogPost.astro.
    • Deleted several unused files, including deleteDigitalGardenGraph.astro, empty API routes (confirm.ts, subscribe.ts, unsubscribe.ts), empty pages (configurations.astro, stack.astro, etc.), and the Newsletter.astro component file itself.

These changes result in a functional MiniGraph component with the intended features and a cleaner codebase.

**Key Changes:** 1. **MiniGraph Fixes & Enhancements (`src/components/MiniGraph.astro`):** * Resolved JavaScript initialization errors that previously caused the graph to fail loading. * Re-implemented the logic to calculate and display graph data up to **two levels deep**. * Added the **`cose` layout** for the fullscreen graph view, providing a more organic visualization. * Integrated the **fullscreen toggle button** and **info panel** functionality. * Included the fix to ensure the parent page layout is correctly **restored upon exiting fullscreen mode**. * Added improved error handling and DOM element checks within the component script. 2. **Code Pruning & Refactoring:** * Removed the import and usage of the unused `Newsletter` component from `src/layouts/BlogPost.astro`. * Deleted several unused files, including `deleteDigitalGardenGraph.astro`, empty API routes (`confirm.ts`, `subscribe.ts`, `unsubscribe.ts`), empty pages (`configurations.astro`, `stack.astro`, etc.), and the `Newsletter.astro` component file itself. These changes result in a functional MiniGraph component with the intended features and a cleaner codebase.
argonaut added 2 commits 2025-04-27 04:05:15 +00:00
argonaut merged commit 3e4042b462 into main 2025-04-27 04:05:25 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: KeyArgo/laforceit-blog#9
No description provided.