Skip to content

Conversation

@hirokiterashima
Copy link
Member

Changes

  • In node authoring, show the component preview in the currently-selected language. Before, it was always showing the preview in default language.

Test

  • For units with translations
    • Component previews in node authoring view are displayed in the currently-selected language
    • Try switching languages and ensure that component previews update to display that language
  • For units without translations: AT loads and works as before

@hirokiterashima hirokiterashima self-assigned this Jan 8, 2026
@hirokiterashima hirokiterashima added the enhancement New feature of any size or improvement (UI, performance, security) label Jan 8, 2026
@qltysh
Copy link

qltysh bot commented Jan 8, 2026

Qlty

Total Coverage: Coverage tags mismatch: head has [] but base only has []

🤖 Increase coverage with AI coding...

In the `at-node-authoring-show-in-current-language` branch, add test coverage for this new code:

- `src/assets/wise5/services/projectTranslationService.ts` -- Lines 41-44 and 52

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@hirokiterashima hirokiterashima marked this pull request as ready for review January 8, 2026 20:56
@hirokiterashima hirokiterashima requested a review from breity January 8, 2026 20:57
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.

Looks good. 👍

@hirokiterashima hirokiterashima merged commit ee40e6f into develop Jan 13, 2026
4 checks passed
@hirokiterashima hirokiterashima deleted the at-node-authoring-show-in-current-language branch January 13, 2026 21:56
@hirokiterashima
Copy link
Member Author

🎉 This PR is included in version 5.200.0 🎉

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

Labels

enhancement New feature of any size or improvement (UI, performance, security) released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants