⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@Mbd06b
Copy link
Member

@Mbd06b Mbd06b commented Nov 19, 2025

No description provided.

Add a small widget to the lamad toolbar that displays:
- Learning path name: "Elohim Protocol"
- Progress percentage to mastery based on user's average affinity across all content nodes

Features:
- Real-time updates when user interacts with content
- Dark theme styling with indigo/purple gradients matching the existing design
- Responsive layout for mobile devices
- Progress bar visualization with smooth transitions
- Integrated with AffinityTrackingService for accurate progress calculation

Component updates:
- Inject AffinityTrackingService to calculate mastery percentage
- Subscribe to graph and affinity changes for real-time updates
- Calculate progress based on average affinity across all nodes
Remove the visual progress bar and keep only the percentage text for a cleaner, more compact widget design.

Changes:
- Remove progress bar container and visual bar elements
- Simplify HTML to show only path name and percentage
- Update CSS to use simpler flex column layout
- Reduce min-width from 280px to 200px for more compact display
Integrated learning path widget with dev branch changes:
- Merged ThemeToggleComponent import alongside AffinityTrackingService
- Updated widget styles to use CSS variables (--lamad-*) for theme support
- Made widget more compact to match new toolbar design (0.25rem padding)
- Reduced font sizes to align with toolbar's compact layout
- Both learning path widget and theme toggle now coexist in toolbar
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.

3 participants