Skip to content

feat(Authoring Tool): Show link to contact page when unit doesn't load - #2335

Merged
hirokiterashima merged 7 commits into
developfrom
open-project-fails-show-link
Aug 29, 2026
Merged

feat(Authoring Tool): Show link to contact page when unit doesn't load#2335
hirokiterashima merged 7 commits into
developfrom
open-project-fails-show-link

Conversation

@Aaron-Detre

Copy link
Copy Markdown
Contributor

Changes

  • If a unit in the authoring tool fails to load after 10 seconds, show a link to the contact page.
  • Clicking the link brings you to the contact page with all fields other than description filled out by default.

Test

  • To simulate a unit not opening, you can comment out line 113-118 of project-list.component.ts.
  • If the unit opens normally, the dialog should not appear on the unit page or if you navigate back to the project list.
  • If the unit takes 10 seconds to load, the contact page link dialog should appear.
  • Clicking the link should take you to the contact page with name and email set, issue type set to "Problems with a WISE Unit," and summary set to "Unit failed to load in the Authoring Tool."

Closes #2318

@Aaron-Detre Aaron-Detre self-assigned this Aug 26, 2026
@Aaron-Detre Aaron-Detre added the enhancement New feature of any size or improvement (UI, performance, security) label Aug 26, 2026
@qltysh

qltysh Bot commented Aug 26, 2026

Copy link
Copy Markdown

Qlty


Coverage Impact

Unable to calculate total coverage change because base branch coverage was not found.

Modified Files with Diff Coverage (2)

RatingFile% DiffUncovered Line #s
New file Coverage rating: F
...ets/wise5/authoringTool/project-list/project-list.component.ts38.5%113-135
New file Coverage rating: B
src/app/contact/contact-form/contact-form.component.ts75.0%97
Total47.1%
🤖 Increase coverage with AI coding...
In the `open-project-fails-show-link` branch, add test coverage for this new code:

- `src/app/contact/contact-form/contact-form.component.ts` -- Line 97
- `src/assets/wise5/authoringTool/project-list/project-list.component.ts` -- Line 113-135

🚦 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.

@Aaron-Detre
Aaron-Detre marked this pull request as ready for review August 28, 2026 16:52
@hirokiterashima
hirokiterashima merged commit f6cfd98 into develop Aug 29, 2026
4 checks passed
@hirokiterashima
hirokiterashima deleted the open-project-fails-show-link branch August 29, 2026 01:09
@hirokiterashima

Copy link
Copy Markdown
Member

🎉 This PR is included in version 5.237.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.

feat(Authoring Tool): Show link to contact page when unit doesn't load

2 participants