Skip to content

[OneNote WebClipper] Show Feedback for personal Web Clipper accounts - #679

Draft
Aanchal Bhansali (aanchalbhansali) wants to merge 1 commit into
masterfrom
harness/fix-3e31ace326ebc3351cfe5de2
Draft

Aanchal Bhansali (aanchalbhansali) wants to merge 1 commit into
masterfrom
harness/fix-3e31ace326ebc3351cfe5de2

Conversation

@aanchalbhansali

@aanchalbhansali Aanchal Bhansali (aanchalbhansali) commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Show Feedback for personal Web Clipper accounts

Root cause

src/scripts/renderer.ts hides Feedback for personal/MSA accounts during cached initialization and successful sign-in, leaving their footer without the existing control.

Fix

Remove MSA-only Feedback hiding while preserving activation.

  • renderer.ts: retain Feedback on cached load and restore it after sign-in.
  • Add rendererFeedback.test.cjs, an npm test entry and declared Node typings.

Why this approach

Reuse the existing localized control and worker action without changing authentication, styling or portal behavior. Regression tests cover cached and interactive MSA/OrgId paths.

Tested

tests/rendererFeedback.test.cjs: 8 pass/0 fail. Build, lint, source/test typechecks and formatting pass. Two fresh MSA probes: fixed:true; screenshot matches footer reference. Store deployment and portal submission untested.

Impact on performance

No additional requests or material runtime cost.

Impact on quality

Personal accounts receive Feedback without changing work-account behavior.

Before and after

Before screenshot

After screenshot

public-before.mp4
public-after.mp4

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant