fresh-main #7

Merged
argonaut merged 4 commits from fresh-main into main 2025-04-26 20:46:13 +00:00
Contributor

feat: Add fullscreen mode with content panel to KnowledgeGraph

This PR introduces a fullscreen viewing mode to the main Knowledge Graph component (src/components/KnowledgeGraph.astro).

Changes:

  • Added a fullscreen toggle button.
  • Implemented a split layout (60% graph / 40% content) for fullscreen mode.
  • Updated the node click handler (handleNodeClickFullscreen) to display the full post content (node.content) directly in the right-hand panel when in fullscreen mode.
  • Included helper functions (showContentPlaceholder, fetchPostContent) for content loading and display logic.
  • Added CSS styles for the fullscreen layout, content panel elements (.post-content, loading spinner, etc.), and responsiveness.
  • Positioned the instructions panel as an overlay on top of the graph area.
  • Modified the "Read Full Article" link behavior to prevent navigation away from the graph while in fullscreen.

Note: This commit also includes the creation of src/components/MiniGraph.astro and potentially other related changes from previous attempts to modify the blog post sidebar, which can be reviewed or addressed in subsequent PRs if needed. The primary focus of this PR is the enhancement to KnowledgeGraph.astro.

feat: Add fullscreen mode with content panel to KnowledgeGraph This PR introduces a fullscreen viewing mode to the main Knowledge Graph component (`src/components/KnowledgeGraph.astro`). **Changes:** * Added a fullscreen toggle button. * Implemented a split layout (60% graph / 40% content) for fullscreen mode. * Updated the node click handler (`handleNodeClickFullscreen`) to display the full post content (`node.content`) directly in the right-hand panel when in fullscreen mode. * Included helper functions (`showContentPlaceholder`, `fetchPostContent`) for content loading and display logic. * Added CSS styles for the fullscreen layout, content panel elements (`.post-content`, loading spinner, etc.), and responsiveness. * Positioned the instructions panel as an overlay on top of the graph area. * Modified the "Read Full Article" link behavior to prevent navigation away from the graph while in fullscreen. **Note:** This commit also includes the creation of `src/components/MiniGraph.astro` and potentially other related changes from previous attempts to modify the blog post sidebar, which can be reviewed or addressed in subsequent PRs if needed. The primary focus of this PR is the enhancement to `KnowledgeGraph.astro`.
argonaut added 4 commits 2025-04-26 20:45:04 +00:00
argonaut merged commit ccae3a8c86 into main 2025-04-26 20:46:13 +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#7
No description provided.