Introduces a new 'Case History' tab to display case routing history, grouped by case type and including current role information. Implements API calls to fetch history and subprocess data, adds filtering and group toggling, and updates tab switching logic to support the new feature.
Introduced a transparent overlay that appears when the sidebar is open, allowing users to close the sidebar by clicking outside of it. This improves usability by providing a more intuitive way to dismiss the sidebar.
Added guards to ensure the userscript sidebar is only injected into the top window and not into iframes. Also prevents duplicate sidebar injection in the top window. Updated z-index for sidebar, improved DOM creation safety, and made minor UI text changes.
- Adds a fallback API call to `.../c02form014/view` when the primary endpoint `.../c02form009detail/current` returns no result.
- Handles the different response structures for the reference number:
- Primary: `response.Payload[0].Reference`
- Fallback: `response.Payload.Details[0].Reference`
- This increases the reliability of fetching the reference number required for the refund review process.