Skip to content

[Spec] Edit Course Detail Page

Dương Song edited this page Jul 11, 2023 · 5 revisions

**EDIT COURSE DETAIL PAGE **

Summary

  • Users can edit their course’s detail here

Course Detail Page [User]

Site position Course detail (author) -> Edit course
Screen header-not-login-Edit course (1)

Item descriptions

  • Item 1: Logo
  • Item 2: Title input
  • Item 3: Category dropdown
  • Item 4: Description input
  • Item 5: Summary input
  • Item 6: Status dropdown
  • Item 7: Status dropdown detail
  • Item 8: Category dropdown detail
  • Item 9: Save button
  • Item 10: Cancel button
  • Item 11: New section’s name input
  • Item 12: Add section button
  • Item 13: Section’s card
  • Item 14: Lesson’s card in session
  • Item 15: Add lesson button
  • Item 16: Edit section button
  • Item 17: Delete section button
  • Item 18: Edit section’s name input
  • Item 19: Error section’s name input - this field is hidden by default
  • Item 20: Save edit section’s name button
  • Item 21: Cancel edit section’s name button
  • Item 22: Edit lesson button
  • Item 23: Delete lesson button
  • Item 24: Error description - this field is hidden by default
  • Item 25: Error new section’s name - this field is hidden by default

Operations

  • Item 1 will show the logo, click on it to change logo
  • Item 2 will show title
  • Item 3 will show all the categories, click on it will dropdown item 8
    • Choose categories of the course here (multi options)
  • Item 4 will show description
  • Item 5 will show summary
  • Item 6 will show status, click on it will dropdown item 7
    • Choose the status of the course here (1 option)
  • Item 9 to save change to course delta
  • Item 10 will cancel edit detail operation
  • Fill item 11 with new section’s name
  • Click item 12 to add new section to course, if item 11 blank when clicked then item 25 will be shown
  • Click item 13 to show list of item 14
  • Click item 15 to go show pop-up add lesson/video
  • Click item 16 to show pop-up edit section’s name
    • Fill section’s name into item 18
    • Click item 20 to save, if click when 18 is blank then item 19 will be shown
    • Click item 21 to cancel edit section’s name
    • Click item 17 to delete the section
  • Click item 22 to edit lesson
  • Click item 23 to delete lesson

Error

Error code Error Message Occur Condition Note
COURSE_DETAIL_001 Required input When required field is blank