Skip to content

feat(app): integrate API for objective drafting and publishing - #207

Merged
tonylam0 merged 17 commits into
bluelearn-org:mainfrom
Carter907:feat/api-integration-objective-creation
Jul 31, 2026
Merged

feat(app): integrate API for objective drafting and publishing#207
tonylam0 merged 17 commits into
bluelearn-org:mainfrom
Carter907:feat/api-integration-objective-creation

Conversation

@Carter907

@Carter907 Carter907 commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Replace static mock data with backend service calls for learning objective creation flow.

  • added objective.ts for fetching and creating objectives and objectiveRevisions.ts for working with LO revisions.
  • added a getWalkthrough function to guides.ts for displaying the walkthroughs of targets in OrderObjectiveGuides.tsx
  • Placeholder Preview page based on PR feat(app): implement objective summary step in contribution flow #166
  • Used StepperActionHeader functionality for integrating drafting in LO creation flow.

closes #199

Type of change

  • Bug fix
  • Feature
  • Refactor (no behavior change)
  • Documentation
  • Build / tooling / CI
  • Other: _________

Verification

  • pnpm -r typecheck passes
  • pnpm -r build passes
  • Manually verified in a browser (for UI / behavior changes)
  • Followed the app layout conventions
  • No new dependencies, or new dependencies are justified and AGPL-compatible
  • Change does not violate any non-negotiable principle
  • Documentation only, no changes to the codebase, so no tests required

@Carter907 Carter907 changed the title feat(app): integrate API for objective creation feat(app): integrate API for objective drafting and publishing Jul 26, 2026
@Carter907
Carter907 force-pushed the feat/api-integration-objective-creation branch from 0b5bb84 to 208fc74 Compare July 26, 2026 22:14
@Carter907
Carter907 marked this pull request as ready for review July 26, 2026 22:18
@Carter907
Carter907 force-pushed the feat/api-integration-objective-creation branch from f19ee7c to df83932 Compare July 26, 2026 23:13
Replace static mock data with backend service calls

- Implemented add and removal of objective targets to
  objective-revision.service.ts.
- Fetch walkthrough edges dynamically from /:slug/walkthrough API.
- Placeholder Preview page based on PR bluelearn-org#166
- Added 'Save Draft' button for drafting LOs.

Signed-off-by: Carter <speers.carter@gmail.com>
@Carter907
Carter907 force-pushed the feat/api-integration-objective-creation branch from df83932 to c788f62 Compare July 26, 2026 23:16
Carter907 and others added 3 commits July 27, 2026 19:05
dealt with describing duration

Signed-off-by: Carter <speers.carter@gmail.com>
Signed-off-by: Carter <speers.carter@gmail.com>
…objective-creation

Signed-off-by: Tonycs <lam.tony540@gmail.com>
@tonylam0 tonylam0 self-assigned this Jul 30, 2026
tonylam0 added 13 commits July 30, 2026 15:31
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
Signed-off-by: Tonycs <lam.tony540@gmail.com>
@tonylam0
tonylam0 merged commit a01b629 into bluelearn-org:main Jul 31, 2026
5 checks passed
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.

[Feature] Integrate API for Learning Objective Contribution Flow

2 participants