Commit Graph

100 Commits

Author SHA1 Message Date
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
b6f1db57ee Add context test 2025-11-15 10:57:39 +01:00
Alejandro Celaya
4b655761c6 Consolidate all service definitions in one module 2025-11-15 10:33:42 +01:00
Alejandro Celaya
373f0dbbbb Do not inject appupdated state or actions 2025-11-15 10:28:33 +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
ae7aea0e2c Infer redux types when possible 2025-11-14 14:21:14 +01:00
Alejandro Celaya
11bbef3aca Create dedicated store module 2025-11-14 10:34:34 +01:00
Alejandro Celaya
7890d0084a Create useSelectedServer hook and use it where reset selected server is done 2025-11-14 09:54:03 +01:00
Alejandro Celaya
e9951e95a9 Set everything up to use hooks for reduc actions and state 2025-11-14 08:24:58 +01:00
Alejandro Celaya
176e0b4961 Add eslint-plugin-react-compiler 2025-03-07 09:37:12 +01:00
Alejandro Celaya
94890da48f Update to ESLint 9 2024-10-12 20:09:02 +02:00
Alejandro Celaya
a8258ff2cc Fix coding standards for typescript-eslint 8 2024-08-07 12:35:57 +02:00
Alejandro Celaya
202a69bdf5 Replace local settings UI with the one from shlink-web-component 2024-05-20 20:03:50 +02:00
Alejandro Celaya
8699eaca32 First batch of ramda removals 2023-11-01 10:03:09 +01:00
Alejandro Celaya
046f79270a Change how components get dependencies injected to avoid callback nesting 2023-09-03 11:06:35 +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
93048e3327 Add aliases for shlink-web-component and shlink-frontend-kit packages 2023-08-04 22:59:33 +02:00
Alejandro Celaya
c48facc863 Create src folder for shlink-web-component 2023-08-03 09:13:11 +02:00
Alejandro Celaya
d49da185d3 Use apiClient factory to dynamically resolved different values at runtime 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
b3122219be Move settings from store to another context 2023-08-03 09:13:09 +02:00
Alejandro Celaya
dddbc232c2 Move mercure module to shlink-web-component 2023-08-03 09:13:09 +02:00
Alejandro Celaya
4b2a9ea158 Create redux store for shlink-web-component 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
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
ab7c52d049 Migrated domainVisits reducer to RTK 2022-11-12 17:51:37 +01:00
Alejandro Celaya
3b96b89492 Updated getDomainVisits action so that it expects a signle DTO param 2022-11-12 09:18:41 +01:00
Alejandro Celaya
d44fe945d8 Migrated selectedServer reducer to RTK 2022-11-11 19:31:05 +01:00
Alejandro Celaya
6221f9ed05 Migrated selectServer action to RTK and moved loadMercureInfo to an action listener 2022-11-11 19:21:17 +01:00
Alejandro Celaya
4ca31fc162 Added flag on short URL creation which tells if the short URL was already saved 2022-11-07 18:24:26 +01:00
Alejandro Celaya
24483ec330 Added first redux toolkit based reducer for domains 2022-11-02 20:40:14 +01:00
Alejandro Celaya
15a9fba091 Migrated redux store creation to redux toolkit 2022-11-01 12:52:27 +01:00
Alejandro Celaya
05254326cb Implemented domain visits section 2022-04-24 18:36:25 +02:00
Alejandro Celaya
ed1c5a2197 Fixed call to an invalid function in prod envs 2022-04-02 08:32:54 +02:00
Alejandro Celaya
a2df486280 Updated to airbnb coding styles 2022-03-26 12:17:42 +01:00
Alejandro Celaya
73d4707420 Ensured versions footer has proper classes based on sidebar status, not selected server 2022-03-11 16:03:15 +01:00
Alejandro Celaya
c6e500ba71 Updated source code to react-router 6 2022-02-06 20:07:18 +01:00
Alejandro Celaya
8fbe6bb17d Added changes to load orphan visits and fixed tests 2022-02-05 13:37:49 +01:00
Alejandro Celaya
275aee4de2 Removed shortUrlsListParams reducer, as the state is now handled internally in the component 2021-12-24 13:39:57 +01:00
Alejandro Celaya
5598fe0f53 Created new settings card for tags-related options 2021-12-23 17:53:14 +01:00
Alejandro Celaya
7d29129ca1 Updated landing page to be vertically aligned on mobile devices 2021-11-13 23:04:59 +01:00
Alejandro Celaya
109baef828 Minor changes on tags filtering for short URLs 2021-11-07 11:03:31 +01:00
Alejandro Celaya
5caa648112 Added banner to be displayed when the service worker has updated the app in the background 2021-06-06 18:41:10 +02:00
Alejandro Celaya
d703e5e182 Deleted reducers for short URL tags and short URL meta 2021-03-27 14:13:10 +01:00