Commit graph

265 commits

Author SHA1 Message Date
Alejandro Celaya
6226930bd9 Memoize ShlinkWebComponentContainer to fix flickering charts on re-renders 2023-12-25 14:08:49 +01:00
Alejandro Celaya
d154820b28 Remove unnecessary double type check 2023-12-13 09:35:48 +01:00
Alejandro Celaya
8699eaca32 First batch of ramda removals 2023-11-01 10:03:09 +01:00
Alejandro Celaya
98b2db99b3 Replace classnames package with clsx 2023-11-01 09:41:21 +01:00
Alejandro Celaya
6926afbac1 Refactor DI approach for components 2023-09-05 09:08:42 +02:00
Alejandro Celaya
fbc47846e3 Fix some instances of react-hooks/exhaustive-deps 2023-09-02 19:08:12 +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
036c2b28d0 Install @shlinkio/shlink-frontend-kit as external lib and downgrade bootstrap 2023-08-10 20:32:18 +02:00
Alejandro Celaya
914efc6a64 Relocate stylesheets to their proper component 2023-08-07 20:43:05 +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
99ce8c9f74 First shlink-frontend-kit iteration 2023-08-03 09:13:10 +02:00
Alejandro Celaya
5ec5396da6 Decouple shlink-web-component from NotFound 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
0169060de7 Fix mercure info loading in 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
5f6dc186e3 Define Shlink API contract 2023-08-03 09:13:10 +02:00
Alejandro Celaya
2ac5236cc7 Provide API client to shlink-web-component 2023-08-03 09:13:10 +02:00
Alejandro Celaya
b3122219be Move settings from store to another context 2023-08-03 09:13:09 +02:00
Alejandro Celaya
682de08204 Extract initial Shlink logic to ShlinkWebComponent 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
992b22fd24 Refactor short URL export so that it is compatible with what Shlink expects 2023-04-21 09:36:51 +02:00
Alejandro Celaya
95439e5602 Convert feature flags into hooks 2023-03-11 10:33:03 +01:00
Alejandro Celaya
bbd8d8ef4e Fix border radius on tags input 2023-03-10 09:17:07 +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
Alejandro Celaya
91f4d09608 Ensured a recconnection happens to selected server when its params are edited 2022-12-31 16:42:04 +01:00
Alejandro Celaya
a0d9bd6f09 Fixed type error in AsideMenu 2022-12-25 22:48:47 +01:00
Alejandro Celaya
52f556eb2e Migrated from react-scripts and webpack to vite 2022-12-24 10:18:26 +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
059fa37ca7 Updates ShlinkApiClint to use different methods to fetch, and fixed tests 2022-11-20 12:51:07 +01:00
Alejandro Celaya
dd9ee044eb Ensured JSON decodedoes not happen for endpoints returning empty body 2022-11-19 09:29:29 +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
3df0bf79f8 Removed axios from the project 2022-11-15 11:45:28 +01:00
Alejandro Celaya
34aa156d5f Migrated ImageDownloader from axios to fetch 2022-11-15 11:41:05 +01:00
Alejandro Celaya
d800062159 Extracted helper fetch function and migrated remoteServers redux action from axios to fetch 2022-11-14 23:25:39 +01:00
Alejandro Celaya
16bee43f12 Migrated ShlinkApiClient from axios to fetch 2022-11-13 16:57:16 +01:00
Alejandro Celaya
fe85291772 Changed format on action types and reducer names for those already migrated to RTK 2022-11-09 18:19:07 +01:00
Alejandro Celaya
f209fa2d58 Migrated sidebar reducer to RTK 2022-11-04 19:45:03 +01:00
Alejandro Celaya
2cac1d9fd2 More default exports removals 2022-05-28 10:47:39 +02:00