Skip to content

Conversation

Phosphorus-M
Copy link
Member

This pull request introduces improvements to both the content structure and user experience of the Rust learning platform, along with some CSS styling adjustments and logic enhancements in navigation. The most significant changes include the addition of new lessons, improved navigation logic for lesson progression, and better visual feedback for completed steps.

Content Structure and Lesson Progression:

  • Added new lesson files for shadowing and bool-and-float topics, each with exercises, initial code, and expected responses to expand the curriculum. [1] [2]
  • Introduced and standardized the order property in all lesson content files to define and control the sequence of lessons. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Navigation and Progress Tracking Logic:

  • Enhanced navigation logic in [...slug].vue to support step-based progression, allowing users to skip previously solved lessons and providing correct feedback for completed exercises. (pages/[...slug].vueL22-R82)
  • Updated UI to display "Solucionado previamente" and "Solucionado" badges for lessons that have been completed, improving user feedback and engagement. (pages/[...slug].vueL82-R143)

Styling and Visual Improvements:

  • Modified CSS to ensure all heading elements (h1-h6) have full width, improving text alignment and readability.
  • Improved list styling: set ordered list markers to use the correct color and restored default decimal styling, and updated nested list marker colors for better consistency with the theme. [1] [2]

Dependency Updates:

  • Updated @nuxtjs/tailwindcss dependency to the latest version for better compatibility and new features.

Codebase Maintenance:

  • Added type safety in [...slug].vue by importing and using ParsedContent for lesson document handling. (pages/[...slug].vueR6-R12)

- Updated @nuxtjs/tailwindcss to version 6.14.0.
- Added a new function to check if a document is solved based on local storage step.
- Modified the canBeSkipped function to include the current step in the evaluation.
- Enhanced the logic for the next button clickability to include tests and expected responses.
- Updated UI to reflect the solved state of documents with appropriate messages.
@Phosphorus-M Phosphorus-M merged commit 7748c94 into RustLangES:main Sep 19, 2025
1 check failed
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.

1 participant