Skip to content

feature/AB#24282 - Remain on Tab After Refresh - #3053

Draft
plavoie-BC wants to merge 3 commits into
devfrom
feature/AB#24282-remain-on-tab
Draft

plavoie-BC wants to merge 3 commits into
devfrom
feature/AB#24282-remain-on-tab

Conversation

@plavoie-BC

@plavoie-BC plavoie-BC commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Adds tab persistence across refreshes for application and applicant detail pages.

Changes:

  • Introduces local-storage-backed tab restoration and fallback handling.
  • Integrates the utility into both detail pages and the global script bundle.
  • Refreshes AutoUI selector metadata and CLI path handling.
File Description
Pages/​GrantApplications/​Details.js Enables application tab persistence.
Pages/​Applicants/​Details.js Enables applicant tab persistence.
wwwroot/​js/​TabUtils.js Implements tab storage, restoration, fallback, and cleanup.
UnityThemeUX2GlobalScriptContributor.cs Adds TabUtils to the global bundle.
scripts/​selector-contract.mjs Improves direct-execution detection.
cypress/​selectors/​registry.json Regenerates selector registry metadata.

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 1388
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 1388
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Restoration currently overrides an application’s default right tab and also persists across ordinary navigation rather than refreshes only.

Review effort: Balanced
Findings: 1 Low severity

Open (1)
What changed in this PR

Adds tab persistence across refreshes for application and applicant detail pages.

Changes:

  • Introduces local-storage-backed tab restoration and fallback handling.
  • Integrates the utility into both detail pages and the global script bundle.
  • Refreshes AutoUI selector metadata and CLI path handling.
File Description
Pages/​GrantApplications/​Details.js Enables application tab persistence.
Pages/​Applicants/​Details.js Enables applicant tab persistence.
wwwroot/​js/​TabUtils.js Implements tab storage, restoration, fallback, and cleanup.
UnityThemeUX2GlobalScriptContributor.cs Adds TabUtils to the global bundle.
scripts/​selector-contract.mjs Improves direct-execution detection.
cypress/​selectors/​registry.json Regenerates selector registry metadata.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

const TAB_TOGGLE_SELECTOR = '[data-bs-toggle="tab"]';
let logoutStarted = false;

function initialize(options) {
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 1388
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@sonarqubecloud

sonarqubecloud Bot commented Oct 5, 2026

Copy link
Copy Markdown

This branch was successfully deployed

1 active deployment
dev — c413f0af Deployed Oct 5, 2026 by plavoie-BC via SonarCloud #2192
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.

2 participants