Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add course roadmap #220

Draft
wants to merge 54 commits into
base: main
Choose a base branch
from
Draft

Add course roadmap #220

wants to merge 54 commits into from

Conversation

andreilgeorgescu
Copy link
Collaborator

@andreilgeorgescu andreilgeorgescu commented Dec 11, 2024

Resolves #219

  • Install React Flow
  • Create DAG
    • Nodes
    • Edges
  • Business Logic
    • Map slug to title for label
    • Make links
    • Indicate optionality
    • Indicate difficulty
    • Highlight current course
  • Automate layout positioning
  • Legend for Difficulty and Optionality
  • Zoom
  • Create schema
  • Create content collections (@daniel-ciocirlan)
    • Kotlin
    • Scala
  • Create component
  • Integrate into course layout
  • Bugs
    • Instead of a Tree, it should be a DAG so the root can have siblings and courses can have multiple prerequisites.

@andreilgeorgescu andreilgeorgescu self-assigned this Dec 11, 2024
Copy link

cloudflare-workers-and-pages bot commented Dec 11, 2024

Deploying rockthejvm-site with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6c88cb2
Status: ✅  Deploy successful!
Preview URL: https://1d6f06bb.rockthejvm-site.pages.dev
Branch Preview URL: https://issue219.rockthejvm-site.pages.dev

View logs

@andreilgeorgescu
Copy link
Collaborator Author

andreilgeorgescu commented Dec 20, 2024

@daniel-ciocirlan How does this look so far? I only have Kotlin and Scala roadmaps but they cover everything. However, I imagine the hierarchy I created isn't completely correct.

I don't know why cloudflare isn't building again. On my end it seems to build and type check.
image
image

@daniel-ciocirlan
Copy link
Collaborator

@andreilgeorgescu I imagine the colors are by difficulty?

I just retried the build on this one, but it failed again:


14:33:27.306 | 12:33:27 ▶ src/pages/courses/[slug].astro
-- | --
14:33:27.894 | 12:33:27   ├─ /courses/advanced-kotlin.html (+587ms)
14:33:28.705 | 12:33:27   ├─ /courses/advanced-scala-old.html[TypeError] Cannot read properties of undefined (reading 'data')
14:33:28.706 | Hint:
14:33:28.706 | This issue often occurs when your MDX component encounters runtime errors.
14:33:28.706 | Stack trace:
14:33:28.706 | at file:///opt/buildhome/repo/dist/chunks/CourseLayout_B9xO7Eh4.mjs:587:19
14:33:28.706 | at async callComponentAsTemplateResultOrResponse (file:///opt/buildhome/repo/dist/chunks/astro/server_DdO40eNx.mjs:1043:25)
14:33:28.706 | at async renderJSXVNode (file:///opt/buildhome/repo/dist/chunks/astro/server_DdO40eNx.mjs:1844:21)
14:33:28.706 | at async Object.renderToStaticMarkup (file:///opt/buildhome/repo/dist/renderers.mjs:283:18)
14:33:28.706 | at async renderComponent (file:///opt/buildhome/repo/dist/chunks/astro/server_DdO40eNx.mjs:1743:10)
14:33:28.790 | ELIFECYCLE  Command failed with exit code 1.
14:33:28.820 | Failed: Error while executing user command. Exited with error code: 1
14:33:28.830 | Failed: build command exited with code: 1
14:33:30.019 | Failed: error occurred while running build command


@andreilgeorgescu
Copy link
Collaborator Author

Yes the colors are difficulty. Do you want a legend to be present?

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.

Add course roadmap
2 participants