Skip to content

feat: implement education activity phase 1 MVP in course detail#403

Draft
cursor[bot] wants to merge 1 commit into
feature/activity-systemfrom
cursor/altsis-education-activity-phase-1-87ed
Draft

feat: implement education activity phase 1 MVP in course detail#403
cursor[bot] wants to merge 1 commit into
feature/activity-systemfrom
cursor/altsis-education-activity-phase-1-87ed

Conversation

@cursor

@cursor cursor Bot commented Jun 17, 2026

Copy link
Copy Markdown

Target Base

  • 399-feature-altsis-next-project-update-to-v20

Summary

  • Implemented Phase 1 Activity domain on top of existing Alt Board/AltForm/AltSheet execution engine, scoped under Syllabus.
  • Added/connected backend Activity stack:
    • Models: Activity, ActivityTemplate, ActivitySubmission
    • Services: activities, activitySubmissions
    • Controllers/Routes: activities, activityTemplates
    • Router mounting in /api/activities and /api/activity-templates
    • Season.permissionActivityV2 + registration permission synchronization path
    • CalendarEvent support for sourceType: "activity" and due-date sync
    • Built-in template definitions/seeding for assignment(๊ณผ์ œ), quiz(ํ€ด์ฆˆ), discussion(ํ† ๋ก )
  • Added/connected frontend Activity Phase 1 UX in course detail:
    • useAPIv2.ts Activity/Template APIs
    • types/activity.ts
    • Course Activity UI set (ActivityList, ActivityCreatePopup, ActivityDetail, ActivityTemplateList, ActivityTemplateEditor, ActivityTab)
    • Mentoring + Enrolled ํƒญ์—์„œ ํ™œ๋™ ํƒญ ์—ฐ๊ฒฐ
    • Seasons permission UI์—์„œ activity ๊ถŒํ•œ ๋…ธ์ถœ
    • AltFormRenderer/AltSheetView ๊ธฐ๋ฐ˜ ์ œ์ถœ/ํ”ผ๋“œ๋ฐฑ ํ๋ฆ„ ์—ฐ๊ฒฐ
  • Fixed branch-blocking backend integrity issues found during validation:
    • duplicate route imports/registrations in backend/src/routes/index.js
    • duplicate permissionActivityV2 declarations/switch branches in season/registration model+service/controller paths

Test Plan

  • rg --files "backend/src" -g '*.js' | xargs -n 1 node --check โœ…
  • yarn build in frontend โœ… (build completes; existing lint warnings remain)
  • yarn test in backend โš ๏ธ blocked by existing Jest config path issues unrelated to this feature set:
    • setupFiles expects ./env.js while env loader lives at src/env.js
    • moduleNameMapper targets <rootDir>/models and <rootDir>/controllers while source code is under src/

Known Limitations

  • Phase 1 intentionally excludes Phase 2+ items:
    • enrollment evaluation bridge
    • timeline/student todo dashboard
    • AI tutor integration
    • block-canvas editor
Open in Webย View Automationย 

Co-authored-by: Mr.GoodwaY <mrgoodway@bmrschool.org>

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automation update:

  • Phase 1 ๊ต์œกํ™œ๋™(Activity) ๊ตฌํ˜„ ์ฒดํฌ๋ฆฌ์ŠคํŠธ(backend/frontend) ๋ฐ˜์˜ ์ƒํƒœ๋ฅผ ํ™•์ธํ–ˆ๊ณ , ๋ธŒ๋žœ์น˜ ์•ˆ์ •์„ฑ ์ €ํ•ด ์ด์Šˆ๋ฅผ ํ•จ๊ป˜ ์ •๋ฆฌํ–ˆ์Šต๋‹ˆ๋‹ค.
  • ์ถ”๊ฐ€ ์ˆ˜์ •: permissionActivityV2 ๊ด€๋ จ ์ค‘๋ณต ์„ ์–ธ/์ค‘๋ณต ๋ถ„๊ธฐ, routes/index.js์˜ ์ค‘๋ณต ๋ผ์šฐํ„ฐ ๋“ฑ๋ก์„ ์ œ๊ฑฐํ•˜์—ฌ backend ๊ตฌ๋ฌธ/๋Ÿฐํƒ€์ž„ ๋ฆฌ์Šคํฌ๋ฅผ ํ•ด์†Œํ–ˆ์Šต๋‹ˆ๋‹ค.
  • ๊ฒ€์ฆ ๊ฒฐ๊ณผ:
    • backend/src ์ „์ฒด node --check ํ†ต๊ณผ
    • frontend yarn build ํ†ต๊ณผ (๊ธฐ์กด ๊ฒฝ๊ณ  ๋‹ค์ˆ˜ ์กด์žฌ)
    • backend yarn test๋Š” ๊ธฐ์กด Jest ์„ค์ • ๊ฒฝ๋กœ ๋ถˆ์ผ์น˜(./env.js, moduleNameMapper)๋กœ ์‹คํ–‰ ์ฐจ๋‹จ๋จ

์ฐธ๊ณ : ์ž๋™ํ™” PR ์ƒ์„ฑ๊ธฐ๊ฐ€ ํ˜„์žฌ head branch ์ •์ฑ…์„ ๊ฐ•์ œํ•ด ๋ณธ PR์˜ base๊ฐ€ feature/activity-system์œผ๋กœ ์ƒ์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์š”์ฒญ๋œ base(399-feature-altsis-next-project-update-to-v20)์™€ ๋‹ค๋ฅด๋ฏ€๋กœ retarget์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

View PR

Open in Webย View Automationย 

Sent by Cursor Automation: ALTSIS Activity System Phase 1

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