Open filters in side panel (#13304)

In this PR:

- Open filters in the side panel for **workflows**
- Open filters in the side panel for **workflow versions**
- Preparation for opening filters in the side panel for **workflow
runs**
- Add many tests to increase the coverage

Remaining to do:

- Open filters in the side panel for **workflow runs**
- Upon filter creation, open it in the side panel

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Baptiste Devessier
2025-07-23 10:30:08 +02:00
committed by GitHub
parent eeade6e94c
commit 924e599cba
60 changed files with 2071 additions and 1509 deletions
@@ -0,0 +1,21 @@
import { checkIfItsAViteStaleChunkLazyLoadingError } from '@/error-handler/utils/checkIfItsAViteStaleChunkLazyLoadingError';
describe('checkIfItsAViteStaleChunkLazyLoadingError', () => {
it('should return true when error message contains the Vite stale chunk error text', () => {
const error = new Error(
'Failed to fetch dynamically imported module: /some/module.js',
);
const result = checkIfItsAViteStaleChunkLazyLoadingError(error);
expect(result).toBe(true);
});
it('should return false when error message does not contain the Vite stale chunk error text', () => {
const error = new Error('Some other error message');
const result = checkIfItsAViteStaleChunkLazyLoadingError(error);
expect(result).toBe(false);
});
});