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
|
999b21577a
|
Removed duplicated CSS from DateInput
|
2023-03-14 08:50:53 +01:00 |
|
Alejandro Celaya
|
3be5126e2d
|
Add missing ref to IconInput
|
2023-03-13 18:18:35 +01:00 |
|
Alejandro Celaya
|
bace2a10e8
|
Create component to display input with an icon
|
2023-03-13 18:02:29 +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
|
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
|
8acf6dda6e
|
Make sure the request to get the latest fallback visit respects bots config
|
2023-03-10 08:53:05 +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
|
487c832f5b
|
Improved types on element ref objects and their usage
|
2023-01-10 20:04:47 +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
|
4517f38680
|
Fixed injection of visits loaders
|
2022-12-31 10:43:03 +01:00 |
|
Alejandro Celaya
|
85452cde23
|
Enhanced visits async thunk so that it wraps both standard async thunk actions and extra ones
|
2022-12-31 10:34:29 +01:00 |
|
Alejandro Celaya
|
732d664715
|
Fixed coding styles
|
2022-12-29 19:19:46 +01:00 |
|
Alejandro Celaya
|
33498ce903
|
Added support to filter out disabled short URLs
|
2022-12-29 19:03:17 +01:00 |
|
Alejandro Celaya
|
c25b74de84
|
Added test for ShortUrlsFilterDropdown
|
2022-12-29 10:35:50 +01:00 |
|
Alejandro Celaya
|
1c39e3402b
|
Added function to parse optional boolean to string
|
2022-12-28 23:00:55 +01:00 |
|
Alejandro Celaya
|
a3bd10bc82
|
Updated ShlinkApiClient to support more filtering options for short URLs list
|
2022-12-28 22:59:11 +01:00 |
|
Alejandro Celaya
|
a0d9bd6f09
|
Fixed type error in AsideMenu
|
2022-12-25 22:48:47 +01:00 |
|
Alejandro Celaya
|
c83563c0ea
|
Fixed subpath and tests for chartjs
|
2022-12-25 22:44:43 +01:00 |
|
Alejandro Celaya
|
4023c077b3
|
Fixed bots filter getting reset when changing date
|
2022-12-25 09:44:47 +01:00 |
|
Alejandro Celaya
|
3e0abe329f
|
Fixed preview generation, including service worker
|
2022-12-25 09:19:26 +01:00 |
|
Alejandro Celaya
|
822fe3db9e
|
Small fixes
|
2022-12-25 09:13:45 +01:00 |
|
Alejandro Celaya
|
408ec82a10
|
Migrated serice worker generation to vite-plugin-pwa
|
2022-12-24 19:17:33 +01:00 |
|
Alejandro Celaya
|
52f556eb2e
|
Migrated from react-scripts and webpack to vite
|
2022-12-24 10:18:26 +01:00 |
|
Alejandro Celaya
|
4a9e05cf17
|
Updated prop to make it required as in Shlink v2.8.0 or newer
|
2022-12-23 21:08:41 +01:00 |
|
Alejandro Celaya
|
60fc351344
|
Removed references to feature checks for version 2.7
|
2022-12-23 21:06:59 +01:00 |
|
Alejandro Celaya
|
815e06809a
|
Removed references to feature checks for version 2.8
|
2022-12-23 20:42:47 +01:00 |
|
Alejandro Celaya
|
e790360de9
|
Added filtering dropdown to short URLs filtering bar
|
2022-12-23 20:15:52 +01:00 |
|
Alejandro Celaya
|
1d6f4bf5db
|
Take into consideration exclñudeBots from query on short URLs row
|
2022-12-23 20:00:59 +01:00 |
|
Alejandro Celaya
|
80cea91339
|
Ensured bots exclusion is selected by default in visits filter dropdown, if it was selected in settings
|
2022-12-23 10:07:23 +01:00 |
|
Alejandro Celaya
|
5942cd6fcf
|
Ensured proper amount of visits is displayed on short URLs based on config
|
2022-12-22 18:39:09 +01:00 |
|
Alejandro Celaya
|
2859ba6cd2
|
Simplified reducer logic to update short URLs when new visits come
|
2022-12-22 18:30:02 +01:00 |
|
Alejandro Celaya
|
b9285fd600
|
Enrues proper ordering is sent to shlink when ordering by visits
|
2022-12-22 18:07:44 +01:00 |
|
Alejandro Celaya
|
901df2b90d
|
Added new setting to exclude bots from visits, wherever possible
|
2022-12-22 12:25:25 +01:00 |
|
Alejandro Celaya
|
73a3d1d50f
|
Extended ShortUrlVisitsCount test to cover different contents of the tooltip
|
2022-12-19 20:18:50 +01:00 |
|
Alejandro Celaya
|
afc272c4d9
|
Improved ShortUrlsRow test covering new status icon
|
2022-12-19 20:00:52 +01:00 |
|
Alejandro Celaya
|
f8bcaed3ad
|
Moved short URL status to the last column in the table
|
2022-12-19 19:40:04 +01:00 |
|
Alejandro Celaya
|
d1a1b7426e
|
Added ShortUrlStatus concept
|
2022-12-18 19:26:30 +01:00 |
|
Alejandro Celaya
|
99485cc6d8
|
Removed conept on short URL tags
|
2022-12-18 13:29:39 +01:00 |
|
Alejandro Celaya
|
187fee46f4
|
Added extra info and new label to highlight disabled short URLs
|
2022-12-18 13:17:49 +01:00 |
|
Alejandro Celaya
|
90837546ab
|
Exported some specific component types and improved spacing in short URLs list
|
2022-12-18 10:12:34 +01:00 |
|
Alejandro Celaya
|
170f45d46b
|
Removed references to tagsMode setting
|
2022-12-17 19:59:55 +01:00 |
|
Alejandro Celaya
|
37caa1ad19
|
Removed references to tags cards
|
2022-12-17 19:56:58 +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
|
b2b6b3af18
|
Fixed visits query being lost when switching between sub-sections
|
2022-12-17 09:28:42 +01:00 |
|
Alejandro Celaya
|
ae625e4c8a
|
Fixed all visits interval not working after loading the default configured interval unless switching to another one first
|
2022-12-06 20:13:43 +01:00 |
|
Alejandro Celaya
|
6f5c5b122f
|
Fixed fallback interval not working on visits pages
|
2022-12-06 18:09:50 +01:00 |
|
Alejandro Celaya
|
5d712d7d78
|
Created helper curried function to compare two values
|
2022-12-05 17:29:59 +01:00 |
|
Alejandro Celaya
|
1654784471
|
Created now function and refactored intervalToDateRange
|
2022-12-05 17:18:00 +01:00 |
|
Alejandro Celaya
|
8e61e94fba
|
Added test to check how visits stats persist filters in query string
|
2022-12-03 13:22:31 +01:00 |
|
Alejandro Celaya
|
5bd89efc09
|
Added test for toDateRange helper function
|
2022-12-03 12:45:25 +01:00 |
|
Alejandro Celaya
|
e5185f2099
|
Renamed file containing date range and date interval utils
|
2022-12-03 12:20:18 +01:00 |
|
Alejandro Celaya
|
d2ebc880a0
|
Created new hook to handle visits filtering via query string
|
2022-12-03 12:15:36 +01:00 |
|
Alejandro Celaya
|
165afa436d
|
Minor refactorings and function extractions
|
2022-11-26 09:11:46 +01:00 |
|
Alejandro Celaya
|
0bf859d485
|
Simplified DeleteShortUrlModal so that it only requires writing 'delete'
|
2022-11-25 19:08:40 +01:00 |
|
Alejandro Celaya
|
b79dced185
|
Fixed broken short URLs table when creating short URL with too long slug
|
2022-11-25 18:34:27 +01:00 |
|
Alejandro Celaya
|
9bdf55374c
|
Ensured DeleteServerModal is not removed from the DOM before close transition has finished
|
2022-11-22 20:08:08 +01:00 |
|
Alejandro Celaya
|
d21758c410
|
Fixed DeleteShortUrlModal being removed from the DOM before CSS transition finished
|
2022-11-22 19:39:07 +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
|
1e155af948
|
Ensured stats for renamed tagged are propagated to new name
|
2022-11-19 09:31:48 +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
|
bd8ea17c84
|
Ensured bg-warning elements always use dark text
|
2022-11-19 09:21:51 +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
|
f7ba974d97
|
Fixed logic to determine if an error is a ProblemDetailError
|
2022-11-15 12:15:04 +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
|
a88ebc26a9
|
Merge branch 'develop' into feature/fetch
|
2022-11-15 11:27:53 +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
|
e5afe4f767
|
Migrated ShlinkApiClient from axios to fetch
|
2022-11-14 23:06:06 +01:00 |
|
Alejandro Celaya
|
7add83f985
|
Changed how errors are serialized by async thunks
|
2022-11-13 18:26:35 +01:00 |
|
Alejandro Celaya
|
16bee43f12
|
Migrated ShlinkApiClient from axios to fetch
|
2022-11-13 16:57:16 +01:00 |
|
Alejandro Celaya
|
ba48104c5c
|
Refactored createVisitsReducer so that it expects an object param
|
2022-11-13 09:59:49 +01:00 |
|
Alejandro Celaya
|
6103f6a89b
|
Separated param definition and unpacking for readibility
|
2022-11-12 20:41:55 +01:00 |
|
Alejandro Celaya
|
4b2c3d2db7
|
Extracted duplicated code on creating visits reducers to a common helper function
|
2022-11-12 20:37:04 +01:00 |
|
Alejandro Celaya
|
dac69daf03
|
Migrated tagVisits reducer to RTK
|
2022-11-12 20:02:58 +01:00 |
|
Alejandro Celaya
|
3e474a3f2d
|
Migrated shortUrlVisits reducer to RTK
|
2022-11-12 19:36:12 +01:00 |
|
Alejandro Celaya
|
f81999a4fe
|
Migrated orphanVisits reducer to RTK
|
2022-11-12 19:15:41 +01:00 |
|
Alejandro Celaya
|
fd80fd65c9
|
Migrated nonOrphanVisits reducer to RTK
|
2022-11-12 18:18:16 +01:00 |
|
Alejandro Celaya
|
ab7c52d049
|
Migrated domainVisits reducer to RTK
|
2022-11-12 17:51:37 +01:00 |
|
Alejandro Celaya
|
a3cc3d5fc2
|
Migrated visits-loading actions to payload actions
|
2022-11-12 10:34:44 +01:00 |
|
Alejandro Celaya
|
a6ed0c811d
|
Updated getShortUrlVisits action so that it expects a signle DTO param
|
2022-11-12 09:38:24 +01:00 |
|
Alejandro Celaya
|
8e6b9c5afb
|
Updated getOrphanVisits action so that it expects a signle DTO param
|
2022-11-12 09:32:52 +01:00 |
|
Alejandro Celaya
|
b9efdd69f1
|
Updated getNonOrphanVisits action so that it expects a signle DTO param
|
2022-11-12 09:21:23 +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
|
32f7374d92
|
Migrated progress and fallback visits actions to payload actions
|
2022-11-12 09:01:43 +01:00 |
|
Alejandro Celaya
|
c6eec8b266
|
Changed getVisitsWithLoader reducer helper so that it expects an action prefix instead of an action map
|
2022-11-12 08:49:14 +01:00 |
|
Alejandro Celaya
|
5095a2c59e
|
Migrated visitsOverview reducer to RTK
|
2022-11-11 20:23:19 +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
|
2e0e24d87b
|
Migrated fetchServers to RTK
|
2022-11-11 19:21:17 +01:00 |
|
Alejandro Celaya
|
d90f6c2019
|
Fixed mercure integration
|
2022-11-11 16:51:21 +01:00 |
|
Alejandro Celaya
|
7bfccafca8
|
Migrated shortUrlsList reducer to RTK
|
2022-11-09 19:13:44 +01:00 |
|
Alejandro Celaya
|
ae49090bad
|
Split short URL edition reducer and async thunk
|
2022-11-09 18:40:51 +01:00 |
|
Alejandro Celaya
|
979c16eb9c
|
Updated listShortUrls action to use payload
|
2022-11-09 18:27:05 +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
|
89423737e8
|
Removed hardcoded action references by improving dependency injection
|
2022-11-08 22:59:41 +01:00 |
|
Alejandro Celaya
|
f9bfb742da
|
Migrated tagsList reducer to RTK
|
2022-11-08 22:48:53 +01:00 |
|
Alejandro Celaya
|
b7622b2b38
|
Migrated filterTags action to use payload
|
2022-11-08 21:59:17 +01:00 |
|
Alejandro Celaya
|
033df3c3d6
|
Migrated tagDelete reducer to RTK
|
2022-11-07 22:41:02 +01:00 |
|
Alejandro Celaya
|
692eaf7dc9
|
Referenced createNewVisits action directly, instead of its action type
|
2022-11-07 22:29:15 +01:00 |
|
Alejandro Celaya
|
22b3794154
|
Migrated tagDeleted action to payload
|
2022-11-07 22:22:44 +01:00 |
|
Alejandro Celaya
|
dbb08a6ce0
|
Ensured tags deleted are not removed from list until modal has been hidden
|
2022-11-07 22:19:44 +01:00 |
|
Alejandro Celaya
|
0571a4a88f
|
Migrated tagEdit reducer to RTK
|
2022-11-07 22:12:48 +01:00 |
|
Alejandro Celaya
|
648744f440
|
Migrated tag actions to have a single DTO param
|
2022-11-07 21:57:01 +01:00 |
|
Alejandro Celaya
|
f8fc1245ca
|
Migrated editTag and tagEdited actions to use payload
|
2022-11-07 21:45:33 +01:00 |
|
Alejandro Celaya
|
5ecc791b38
|
Ensured tags list is not updated until the edit modal is closed
|
2022-11-07 21:32:19 +01:00 |
|
Alejandro Celaya
|
085ab521c3
|
Implemented state machine for short URL creation
|
2022-11-07 18:55:12 +01:00 |
|
Alejandro Celaya
|
61b274bab9
|
Replaced inheritance by composition on short URL creation interface
|
2022-11-07 18:27:41 +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
|
f803941fe4
|
Migrated short URL detail reducer to RTK
|
2022-11-06 19:32:02 +01:00 |
|
Alejandro Celaya
|
f93bb88d35
|
Refactored getShortUrlDetail action to have a single DTO param
|
2022-11-06 19:16:51 +01:00 |
|
Alejandro Celaya
|
ea199dbf8f
|
Removed redundant types
|
2022-11-06 19:12:41 +01:00 |
|
Alejandro Celaya
|
526d7195bc
|
Updated getShortUrlDetail action to use payload action
|
2022-11-06 19:06:39 +01:00 |
|
Alejandro Celaya
|
cf4143e4e2
|
Removed unnecesarry promise references in delete short URL modal
|
2022-11-06 18:48:47 +01:00 |
|
Alejandro Celaya
|
830071278e
|
Migrated shortUrlDeletion reducer to RTK
|
2022-11-06 13:06:55 +01:00 |
|
Alejandro Celaya
|
d468fb1efe
|
Migrated deleteShortUrl action creator to use PayloadAction and have a single param
|
2022-11-06 12:46:29 +01:00 |
|
Alejandro Celaya
|
2a268de2cb
|
Migrated editShortUrl reducer to RTK
|
2022-11-06 12:33:23 +01:00 |
|
Alejandro Celaya
|
77cbb8ebc4
|
Refactored editShortUrl action to require just one param
|
2022-11-06 11:59:39 +01:00 |
|
Alejandro Celaya
|
bf84e4a2ed
|
Migrated editShortUrl payload action
|
2022-11-06 11:53:23 +01:00 |
|
Alejandro Celaya
|
a316366ae9
|
Migrated shortUrlCreation reducer to RTK
|
2022-11-06 10:11:44 +01:00 |
|
Alejandro Celaya
|
50823003b4
|
Migrated settings reducer to RTK
|
2022-11-06 09:40:23 +01:00 |
|
Alejandro Celaya
|
7c61033bdf
|
Migrated createNewVisits action creator to RTK
|
2022-11-05 13:05:44 +01:00 |
|
Alejandro Celaya
|
d588d8d9ef
|
Migrated create visit action to use payload
|
2022-11-05 13:01:00 +01:00 |
|
Alejandro Celaya
|
54407af980
|
Fixed tests
|
2022-11-05 10:49:28 +01:00 |
|
Alejandro Celaya
|
a31cdcc9f0
|
Migrated selectedServer reducer to use payload actions
|
2022-11-05 10:36:57 +01:00 |
|
Alejandro Celaya
|
10d4419387
|
Migrated servers reducer to RTK
|
2022-11-05 10:08:24 +01:00 |
|
Alejandro Celaya
|
6f67f7bbf0
|
Removed redundant createServer action, leaving just createServers
|
2022-11-05 09:40:12 +01:00 |
|
Alejandro Celaya
|
90ef41b419
|
Migrated server list actions to use payload prop
|
2022-11-05 09:24:12 +01:00 |
|
Alejandro Celaya
|
62ab86aefa
|
Created custom and better typed version of createAsyncThunk
|
2022-11-05 09:10:30 +01:00 |
|
Alejandro Celaya
|
4a95724425
|
Migrated mercureInfo reducer to RTK
|
2022-11-04 20:52:06 +01:00 |
|
Alejandro Celaya
|
f209fa2d58
|
Migrated sidebar reducer to RTK
|
2022-11-04 19:45:03 +01:00 |
|
Alejandro Celaya
|
85e2aab4df
|
Migrated appUpdated reducer to RTK
|
2022-11-04 19:39:15 +01:00 |
|
Alejandro Celaya
|
34f4411aa1
|
Migrated domainRedirects reducer to redux/toolkit
|
2022-11-04 18:56:34 +01:00 |
|
Alejandro Celaya
|
b6d08e2203
|
Updated editDomainRedirects action, to expect a payload DTO instead of multiple args
|
2022-11-04 17:10:02 +01:00 |
|
Alejandro Celaya
|
4fa6ae493d
|
Removed unnecesary type castings and improved type inference for actions in demainsListReducer
|
2022-11-04 16:50:03 +01:00 |
|
Alejandro Celaya
|
79645099ba
|
Added explicit import
|
2022-11-03 20:53:59 +01:00 |
|
Alejandro Celaya
|
18d478e16e
|
Removed unneeded type castings and eslint suppressions in domainsList reducer
|
2022-11-03 20:51:20 +01:00 |
|
Alejandro Celaya
|
da97b76563
|
Migrated rest of domainslistreducer-related elements on test to the new ones
|
2022-11-03 20:29:22 +01:00 |
|
Alejandro Celaya
|
d25dbd5ae6
|
Replaced domainsList old reducer with new reducer in test
|
2022-11-03 20:15:28 +01:00 |
|
Alejandro Celaya
|
88e8f3363b
|
Fixed domainsListReducer test so that it works with new payload prop in actions
|
2022-11-03 19:52:57 +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
|
6df12ce194
|
Moved date-time related utils to the proper folder
|
2022-10-23 10:49:35 +02:00 |
|
Alejandro Celaya
|
c3b60367f3
|
Added test covering custom formatting in DateInput
|
2022-10-23 10:43:01 +02:00 |
|
Alejandro Celaya
|
10d3deff37
|
Formatted scrollbar in date picker for time component
|
2022-10-23 10:22:31 +02:00 |
|