Commit graph

902 commits

Author SHA1 Message Date
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
Alejandro Celaya
4e8e16f16d Refactor of redux tests to avoid covering RTK implementation details 2023-03-18 16:02:06 +01: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
8e9e2c5b61 Create test for VisitsHighlightCard 2023-03-18 11:10:03 +01:00
Alejandro Celaya
934bf495a0 Extend overview to exclude/include bot visits based on config 2023-03-18 10:55:07 +01:00
Alejandro Celaya
1d8189369c Enhance visits overview reducer to handle bot and non-bots visits amounts 2023-03-18 10:54:14 +01:00
Alejandro Celaya
a1b879a5b4 Add support for a tooltip on HighlightCard component 2023-03-18 10:17:17 +01:00
Alejandro Celaya
16d748800c Update copy-to-clipboard icons 2023-03-14 09:06:57 +01:00
Alejandro Celaya
3e698b045a Add IconInput test 2023-03-14 09:02:12 +01:00
Alejandro Celaya
2b14c49c80 Update snapshots 2023-03-13 18:04:09 +01:00
Alejandro Celaya
4c5d0321d2 Add support for device-specific long URLs when using Shlink 3.5.0 or newer 2023-03-13 09:05:54 +01:00
Alejandro Celaya
5e9ec071dc Remove default exports 2023-02-18 11:37:49 +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