Commit graph

915 commits

Author SHA1 Message Date
Alejandro Celaya
6926afbac1 Refactor DI approach for components 2023-09-05 09:08:42 +02:00
Alejandro Celaya
046f79270a Change how components get dependencies injected to avoid callback nesting 2023-09-03 11:06:35 +02:00
Alejandro Celaya
973f3e3c8b Simplify ServersImporter using file.text() instead of a FileReader 2023-09-02 19:44:29 +02:00
Alejandro Celaya
a11a2c84fe Fix react-hooks/exhaustive-deps in ImportServersBtn 2023-09-02 19:43:41 +02:00
Alejandro Celaya
fbc47846e3 Fix some instances of react-hooks/exhaustive-deps 2023-09-02 19:08:12 +02:00
Alejandro Celaya
1ef96662a3 Make DeleteServerButton more accessible 2023-09-02 10:48:02 +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
b2e6e7db61 Define UiSettings which are no longer part of shlink-web-component 2023-08-19 17:21:34 +02:00
Alejandro Celaya
f7cddf8fc5 Update to shlink-web-component 0.1.1 2023-08-14 13:06:11 +02:00
Alejandro Celaya
6d910519bc Use external shlink-web-component and remove local one 2023-08-14 12:15:57 +02:00
Alejandro Celaya
f420c7f767 Update fontawesome and test snapshots 2023-08-08 12:43:09 +02:00
Alejandro Celaya
74aaed65b6 Fix styles import order 2023-08-07 23:06:29 +02:00
Alejandro Celaya
d97db9e17c Moved some types from short-url/data to api-contract 2023-08-07 10:51:08 +02:00
Alejandro Celaya
23daa2de72 Add Shlink prefix to api-contract models 2023-08-06 21:27:57 +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
75fed53ba4 Add test for TagColorsStorage 2023-08-06 17:11:27 +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
b7d57a53f2 Move shlink-frontend-kit tests to its own dir 2023-08-03 09:13:10 +02:00
Alejandro Celaya
99ce8c9f74 First shlink-frontend-kit iteration 2023-08-03 09:13:10 +02:00
Alejandro Celaya
c73a592fd1 Move more non-shared components to shlink-web-component 2023-08-03 09:13:10 +02:00
Alejandro Celaya
bc11e568b9 Move date components and helpers to shlink-web-component 2023-08-03 09:13:10 +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
21525ef945 Decouple shlink-web-component from the concept of servers 2023-08-03 09:13:10 +02:00
Alejandro Celaya
dddbc232c2 Move mercure module to shlink-web-component 2023-08-03 09:13:09 +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
12a05b422d Fix merge conflicts 2023-05-27 12:04:01 +02:00
Alejandro Celaya
a5abe9dbf2 Update test snapshots 2023-05-27 12:02:13 +02:00
Alejandro Celaya
07fcb4e016 Update tests to use vi instead of jest 2023-05-27 11:57:26 +02:00
Alejandro Celaya
655fbf94c1 Normalize and consolidate dropdown menus 2023-05-27 10:40:07 +02:00
Alejandro Celaya
72e4a7b062 Fix incorrect type 2023-04-22 12:09:15 +02:00
Alejandro Celaya
992b22fd24 Refactor short URL export so that it is compatible with what Shlink expects 2023-04-21 09:36:51 +02:00
Alejandro Celaya
26bad75a1a Finish replacing ts-mockery with shoehorn 2023-04-14 09:28:53 +02:00
Alejandro Celaya
04e1950591 Migrate more tests to shoehorn 2023-04-13 22:47:13 +02:00
Alejandro Celaya
340f4b8fb5 Introduce shoehorn as a possible replacement for ts-mockery 2023-04-13 21:48:29 +02:00
Alejandro Celaya
1d6464fefb Take into consideration types of visits when increasing tags visits 2023-03-19 11:44:40 +01:00
Alejandro Celaya
34cfe2077b Test proper amount of visits is displayed in TagsList 2023-03-19 10:44:09 +01:00
Alejandro Celaya
4ebe23e89f Add logic to dynamically exclude bots visits in tags table 2023-03-19 10:32:11 +01:00
Alejandro Celaya
96c20b36a5 Split tagsList and tagsStats methods in ShlinkApiClient for clarity 2023-03-18 16:32:04 +01:00
Alejandro Celaya
b87b108e53 Use /tags/stats endpoint when the server supports it 2023-03-18 16:26:28 +01:00