Commit Graph

140 Commits

Author SHA1 Message Date
Alejandro Celaya
10ca9bd457 Fix typechecks 2025-12-08 10:58:40 +01:00
Alejandro Celaya
d11358af59 Explicitly wrap in ContainerProvider when calling renderWithStore 2025-11-24 09:15:57 +01:00
Alejandro Celaya
d10bea50bc Do not inject components into other components 2025-11-15 12:05:25 +01:00
Alejandro Celaya
f301513f5b Expose container via provider 2025-11-15 10:20:53 +01:00
Alejandro Celaya
6094994cfa Do not inject settings state or actions 2025-11-14 23:29:59 +01:00
Alejandro Celaya
a7f2d3224b Do not inject servers state or actions 2025-11-14 19:23:48 +01:00
Alejandro Celaya
9c1052c10b Replace usage of injected selectedServer with useSelectedServer 2025-11-14 10:27:49 +01:00
Alejandro Celaya
d762ae1e39 Make sure sidebar toggle is rendered only when the sidebar exists 2025-08-13 10:06:45 +02:00
Alejandro Celaya
0bdf5f206e Update to latest shlink-frontend-kit and shlink-web-component 2025-06-17 08:56:21 +02:00
Alejandro Celaya
d10d7fd96d Replace reactstrap nav bar with tailwind-based one 2025-06-16 11:18:03 +02:00
Alejandro Celaya
fd40e2b7bc Replace most stylesheets with tailwind styles 2025-04-05 10:39:47 +02:00
Alejandro Celaya
7c31b210bd Fix tests after initial tailwind components migration 2025-04-05 10:39:11 +02:00
Alejandro Celaya
a65c7171c1 Update to react-router 7 2024-12-09 11:52:58 +01:00
Alejandro Celaya
734ff22499 Fix Shlink versions alignment in server error pages 2024-04-11 09:19:32 +02:00
Alejandro Celaya
2ad0daaed5 Fix warning in AppUpdateBanner 2023-12-31 20:01:28 +01:00
Alejandro Celaya
f50d033551 Remove usages of vi.mock 2023-12-18 23:38:34 +01:00
Alejandro Celaya
6d1d3c021a Add first accessibility tests 2023-09-30 10:20:28 +02:00
Alejandro Celaya
6926afbac1 Refactor DI approach for components 2023-09-05 09:08:42 +02:00
Alejandro Celaya
9f7ac09fb0 Replace local ShlinkApiClient with the one from shlink-js-sdk 2023-08-29 23:12:25 +02:00
Alejandro Celaya
1e31444c67 Update to shlink-web-client 0.3.1 2023-08-27 18:24:13 +02:00
Alejandro Celaya
74aaed65b6 Fix styles import order 2023-08-07 23:06:29 +02:00
Alejandro Celaya
5a9640bd57 Remove sidebar reducer, which couple web-client with web-component 2023-08-06 18:07:03 +02:00
Alejandro Celaya
89e75653d7 Delegate tag color storage to ShlinkWebComponent consuming app 2023-08-06 13:54:57 +02:00
Alejandro Celaya
d9939f5c3a Move theme helpers and some stylesheets to proper locations 2023-08-05 11:14:03 +02:00
Alejandro Celaya
93048e3327 Add aliases for shlink-web-component and shlink-frontend-kit packages 2023-08-04 22:59:33 +02:00
Alejandro Celaya
c4d7ac272b Refactor and fix main app tests 2023-08-04 08:59:16 +02:00
Alejandro Celaya
c794ff8b58 Move shlink-web-component tests to their own folder 2023-08-03 09:13:11 +02:00
Alejandro Celaya
c48facc863 Create src folder for shlink-web-component 2023-08-03 09:13:11 +02:00
Alejandro Celaya
8d24116859 Move more components to shlink-web-component when applicable 2023-08-03 09:13:10 +02:00
Alejandro Celaya
275745fd3a Move some modules from src to shlink-web-component 2023-08-03 09:13:10 +02:00
Alejandro Celaya
3a0cea1268 Extract shlink-web-component outside of src folder 2023-08-03 09:13:10 +02:00
Alejandro Celaya
d82c0dc75e Move stuff belonging to the component to shlink-web-component 2023-08-03 09:13:09 +02:00
Alejandro Celaya
cbbb679dfc Remove server-related items from side menu 2023-08-03 09:13:09 +02:00
Alejandro Celaya
2a86a0e540 Fix remaining type errors in tests 2023-05-27 12:45:12 +02:00
Alejandro Celaya
d14aea708e Fix incorrect types between testing library and vitest 2023-05-27 12:29:03 +02:00
Alejandro Celaya
07fcb4e016 Update tests to use vi instead of jest 2023-05-27 11:57:26 +02:00
Alejandro Celaya
72e4a7b062 Fix incorrect type 2023-04-22 12:09:15 +02:00
Alejandro Celaya
340f4b8fb5 Introduce shoehorn as a possible replacement for ts-mockery 2023-04-13 21:48:29 +02:00
Alejandro Celaya
9cefdb7977 First refactor of redux tests to avoid covering RTK implementation details 2023-03-18 12:09:38 +01:00
Alejandro Celaya
1f41f8da23 Ordered imports alphabetically 2023-02-18 11:15:35 +01:00
Alejandro Celaya
2a5480da79 Add import type whenever possible 2023-02-18 10:40:37 +01:00
Alejandro Celaya
815e06809a Removed references to feature checks for version 2.8 2022-12-23 20:42:47 +01:00
Alejandro Celaya
2603f2f987 Added missing application/json content-type when calling Shlink with payload 2022-12-17 09:57:40 +01:00
Alejandro Celaya
cb76c89a08 Improved HttpClientTest 2022-11-20 12:54:06 +01:00
Alejandro Celaya
b8adf5f274 Created test for HttpClient 2022-11-17 21:30:42 +01:00
Alejandro Celaya
9b3bdebb28 Wrapped logic to perform HTTP requests with fetch into an HttpClient class 2022-11-15 20:31:35 +01:00
Alejandro Celaya
34aa156d5f Migrated ImageDownloader from axios to fetch 2022-11-15 11:41:05 +01:00
Alejandro Celaya
f209fa2d58 Migrated sidebar reducer to RTK 2022-11-04 19:45:03 +01:00
Alejandro Celaya
4c7bed90a3 Normalized mocks 2022-07-16 10:52:45 +02:00
Alejandro Celaya
83150331e5 Renamed test helpers folder 2022-07-10 19:44:49 +02:00