Skip to content

🎁 Implement edit functionality for Stimulus Case Study (SCS) questions #541

@ShanaLMoore

Description

@ShanaLMoore

Summary

Edit button is hidden for Stimulus Case Study questions. All other question types continue to show the Edit button when the user has permission.

Acceptance Criteria

  • Edit button appears for Stimulus Case Study questions (for both regular users and admins)
  • Edit button appears for all other question types when user has permission (Bow Tie, Categorization, Drag and Drop, Essay, Matching, Multiple Choice, SATA, Upload)
  • Delete button functionality remains unchanged for all question types

Testing Instructions

Verify authority

  • As a Regular User (question owner): I can add and edit my own question
  • As an Admin: I can add a question and edit any other user's question

Add a Case Study:

  • Verify ability to create a Stimulus Case Study and add each types of subquestions
  • Verify ability to add a file to each type of subquestion

Update the above Case Study:

  • Verify ability to edit the top level question
  • Verify ability to edit each type of subquestion
  • Verify ability to add a new subquestion
  • Verify ability to edit levels and subjects
  • Verify ability to add a new image to each type of question
  • Verify ability to remove an image from each type of question
  • Verify ability to edit alt text for each image
  • Verify ability to re-sequence subquestions

Regression Check - Other Question Types Still Work

  • Verify at least one other question type (e.g., Multiple Choice or Essay) still shows the Edit button when user has permission

Note

Sample design is underway as a WIP 🚧 Restructure Stimulus Questions form for edit 🚧 #547

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    In Development

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions