14 Commits

Author SHA1 Message Date
e75797b4ce Merge pull request 'Update' (#4) from improve-case-history into main
Reviewed-on: #4
2025-11-27 01:37:59 +00:00
ca60cd0619 Update 2025-11-27 01:37:39 +00:00
dbbebbaa3b revert f0d83b3cd8
revert Merge pull request 'add-new-case-history-tab' (#1) from add-new-case-history-tab into main

Reviewed-on: #1
2025-11-26 09:50:10 +00:00
f0d83b3cd8 Merge pull request 'add-new-case-history-tab' (#1) from add-new-case-history-tab into main
Reviewed-on: #1
2025-11-26 09:12:20 +00:00
Dias Baskara
50401a73c9 Add Case History tab with grouped history view
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.
2025-11-26 13:02:55 +07:00
Dias Baskara
b43fae30b1 Add overlay to close sidebar on outside click
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.
2025-11-26 10:49:30 +07:00
Dias Baskara
b38ee62ef9 Prevent sidebar injection in iframes and duplicate loads
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.
2025-11-26 10:47:44 +07:00
5c6e1d4273 Implement C02 form API fallback
- 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.
2025-08-26 02:40:59 +00:00
3c88246e13 Fix bug 2025-08-25 14:08:47 +00:00
af3ab4c696 Update version 2025-08-25 09:51:26 +00:00
68b787fb74 Modify REFUND_CASE_TYPE_NAME to REFUND_CASE_PREFIX 2025-08-25 09:50:45 +00:00
fc1c42624a Update 'coretabs.user.js'
Add action buttons at the top.
2025-08-20 09:56:32 +00:00
0fef550ecb Update 'coretabs.user.js'
Add Refund Review tab.
2025-08-19 07:09:38 +00:00
5c8bce8319 Add 'coretabs.user.js' 2025-08-19 02:10:34 +00:00