Skip to content

Conversation

@hirokiterashima
Copy link
Member

@hirokiterashima hirokiterashima commented Aug 20, 2024

Changes

  • Move functions related to generating branch description text from TeacherProjectService to ProjectAuthoringStepComponent, where it's actually being used
    • getNumberOfBranchPaths()
    • getBranchCriteriaDescription()
  • Clean up code

Test

  • In AT > unit view for a unit with branches, the tooltip text on the branch icon should display text with how many paths the branch has and what the branch criteria is, like this:
Screenshot 2024-08-20 at 1 59 21 PM Screenshot 2024-08-20 at 2 01 34 PM

@hirokiterashima hirokiterashima added this to the Tech Debt 18 -> 17 milestone Aug 20, 2024
@hirokiterashima hirokiterashima self-assigned this Aug 20, 2024
@hirokiterashima hirokiterashima marked this pull request as ready for review August 20, 2024 21:08
@hirokiterashima hirokiterashima requested a review from breity August 20, 2024 21:10
Copy link
Member

@breity breity left a comment

Choose a reason for hiding this comment

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

LGTM.

@hirokiterashima hirokiterashima merged commit 0b7b271 into develop Aug 22, 2024
@hirokiterashima hirokiterashima deleted the refactor-teacherProjectService-move-branch-description-functions-to-projectAuthoringStepComponent branch August 22, 2024 23:09
@hirokiterashima
Copy link
Member Author

🎉 This issue has been resolved in version 5.156.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants