Skip to content

style(Authoring Tool): Use tabs to organize activity advanced authoring#2297

Merged
hirokiterashima merged 34 commits intodevelopfrom
organize-activity-advanced-authoring-using-tabs
Apr 11, 2026
Merged

style(Authoring Tool): Use tabs to organize activity advanced authoring#2297
hirokiterashima merged 34 commits intodevelopfrom
organize-activity-advanced-authoring-using-tabs

Conversation

@hirokiterashima
Copy link
Copy Markdown
Member

The advanced activity authoring popup was a mess, with everything appearing on one page. This PR brings organization to the page using tabs. The default tabs are "general", "visibility", "connections", "tags", "rubric", and "JSON". Open Response has an additional "AI" tab.

Notes

Please style as you see fit. But don't worry about the styling of the contents inside the tabs for this PR. We can do that in a future task.

Changes

  • Use tabs to organize activity advanced authoring for all activities
  • Fix Summary authoring. This wasn't working at all.

Test

  • Above works as described.
  • Changes in the advanced activity authoring are saved as expected.

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

qltysh bot commented Apr 3, 2026

Qlty

Coverage Impact

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

Modified Files with Diff Coverage (33)

RatingFile% DiffUncovered Line #s
New file Coverage rating: A
...l/edit-component-advanced/edit-component-advanced.component.ts100.0%
New file Coverage rating: A
...nts/graph/edit-graph-advanced/edit-graph-advanced.component.ts100.0%
New file Coverage rating: C
src/assets/wise5/components/discussion/discussionService.ts100.0%
New file Coverage rating: C
...ded/edit-embedded-advanced/edit-embedded-advanced.component.ts100.0%
New file Coverage rating: C
...scillator-advanced/edit-audio-oscillator-advanced.component.ts100.0%
New file Coverage rating: C
...bility-constraint-icon/visibility-constraint-icon.component.ts72.7%16-20
New file Coverage rating: B
...-tool/edit-component-rubric/edit-component-rubric.component.ts100.0%
New file Coverage rating: C
...ple-choice-advanced/edit-multiple-choice-advanced.component.ts100.0%
New file Coverage rating: A
...it-concept-map-advanced/edit-concept-map-advanced.component.ts100.0%
New file Coverage rating: A
...onents/html/edit-html-advanced/edit-html-advanced.component.ts100.0%
New file Coverage rating: C
...n/edit-animation-advanced/edit-animation-advanced.component.ts100.0%
New file Coverage rating: C
...nts/match/edit-match-advanced/edit-match-advanced.component.ts100.0%
New file Coverage rating: A
src/assets/wise5/components/openResponse/openResponseService.ts100.0%
New file Coverage rating: C
...g-guidance-advanced/edit-dialog-guidance-advanced.component.ts100.0%
New file Coverage rating: C
...onents/draw/edit-draw-advanced/edit-draw-advanced.component.ts100.0%
New file Coverage rating: B
...nt-advanced-button/edit-component-advanced-button.component.ts0.0%23
New file Coverage rating: C
...ring-tool/edit-component-json/edit-component-json.component.ts0.0%43-44
New file Coverage rating: C
...nts/label/edit-label-advanced/edit-label-advanced.component.ts100.0%
New file Coverage rating: C
...edit-discussion-advanced/edit-discussion-advanced.component.ts100.0%
New file Coverage rating: A
...it-outside-url-advanced/edit-outside-url-advanced.component.ts100.0%
New file Coverage rating: D
...l/edit-advanced-component/edit-advanced-component.component.ts53.3%32-33, 41-42, 49-51
New file Coverage rating: F
.../authoringTool/node/node-authoring/node-authoring.component.ts100.0%
New file Coverage rating: A
...it-component-advanced/edit-component-advanced-shared.module.ts100.0%
New file Coverage rating: A
...em-prompt/edit-component-summarizer-system-prompt.component.ts100.0%
New file Coverage rating: B
...omponents/summary/summary-student/summary-student.component.ts100.0%
New file Coverage rating: A
...open-response-ai-summary/open-response-ai-summary.component.ts75.0%26
New file Coverage rating: D
...nts/table/edit-table-advanced/edit-table-advanced.component.ts100.0%
New file Coverage rating: A
...-show-my-work-advanced/edit-show-my-work-advanced.component.ts100.0%
New file Coverage rating: A
...ves/teacher-summary-display/ai-summary/ai-summary.component.ts100.0%
New file Coverage rating: A
...mmary/edit-summary-advanced/edit-summary-advanced.component.ts100.0%
New file Coverage rating: F
...splay/discussion-ai-summary/discussion-ai-summary.component.ts33.3%29-32
New file Coverage rating: A
...group-work-advanced/edit-show-group-work-advanced.component.ts100.0%
New file Coverage rating: A
...anced-component/edit-peer-chat-advanced-component.component.ts100.0%
Total84.0%
🤖 Increase coverage with AI coding...

In the `organize-activity-advanced-authoring-using-tabs` branch, add test coverage for this new code:

- `src/app/authoring-tool/edit-advanced-component/edit-advanced-component.component.ts` -- Lines 32-33, 41-42, and 49-51
- `src/app/authoring-tool/edit-component-json/edit-component-json.component.ts` -- Line 43-44
- `src/assets/wise5/authoringTool/components/edit-component-advanced-button/edit-component-advanced-button.component.ts` -- Line 23
- `src/assets/wise5/authoringTool/components/visibility-constraint-icon/visibility-constraint-icon.component.ts` -- Line 16-20
- `src/assets/wise5/directives/teacher-summary-display/discussion-ai-summary/discussion-ai-summary.component.ts` -- Line 29-32
- `src/assets/wise5/directives/teacher-summary-display/open-response-ai-summary/open-response-ai-summary.component.ts` -- Line 26

🚦 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 April 3, 2026 01:11
@hirokiterashima hirokiterashima requested a review from breity April 3, 2026 01:11
@hirokiterashima hirokiterashima changed the title feat(Authoring Tool): Use tabs to organize activity advanced authoring style(Authoring Tool): Use tabs to organize activity advanced authoring Apr 3, 2026
Copy link
Copy Markdown
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. 👍

I updated some styles and made the tab header sticky so that the tabs are visible when scrolling long setting content.

One suggestion: I think we should move the AI tab further up in the order for activity types that have it. AI should probably at least come before the Rubric and Tags tabs, as those are used rather infrequently. Once we make the AI settings more intuitive, we might even want to put AI before the Visibility and Connections tabs. What do you think?

@hirokiterashima
Copy link
Copy Markdown
Member Author

Good suggestion. I made the change. Moving the AI tab up more in the future makes sense too.

Right now, we have code that assumes that the visibility tab is the second tab in the dialog, for purpose of opening the tab when the author clicks on the visibility status icon on the component. We should remember this when we order the tabs around in the future, because we'll need to refactor the code then to make sure this functionality still works.

@hirokiterashima hirokiterashima merged commit 7860508 into develop Apr 11, 2026
4 checks passed
@hirokiterashima hirokiterashima deleted the organize-activity-advanced-authoring-using-tabs branch April 11, 2026 00:27
@hirokiterashima
Copy link
Copy Markdown
Member Author

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

2 participants