Commit Graph
58 Commits
Author SHA1 Message Date
TzeYiing e31b373fe2 fix: React Query memoized keys for log event chart to prevent refresh loop 2023-08-17 04:05:17 +08:00
Greg Richardson df17fb21d7 refactor: isResponseOk() helper type guard 2023-07-14 17:23:15 -06:00
Greg Richardson bfe1d17fa2 refactor: SupaResponse types 2023-07-14 17:11:59 -06:00
TzeYiing 8647516a60 fix: logs previewer pagination does not miss out end timestamp, datepicker display in local time 2023-06-29 03:07:49 +08:00
TzeYiing 006f871f11 chore: refactor useSingleLog 2023-05-17 12:03:57 +08:00
TzeYiing a18bca75ef chore: refactor useDbQuery and useLogsQuery 2023-05-17 12:03:57 +08:00
TzeYiing 09896ceaf1 chore: refactor useLogsPreview 2023-05-17 12:03:57 +08:00
TzeYiing 43fd0a39e6 chore: fix failing test 2023-04-27 19:31:43 +09:00
TzeYiing f88894197b chore: fill to current time 2023-04-27 19:20:01 +09:00
TzeYiing f1021551ab feat: adjust memoization 2023-04-27 19:16:40 +09:00
TzeYiing f3a3751a97 feat: LogEventChart timestamp filling, chart query bugfix for filters 2023-04-27 19:08:15 +09:00
TzeYiing 2494eeea8b chore: prettier 2023-03-01 19:37:06 +08:00
TzeYiing a3c5d0feb8 chore: update tests, fix typings, remove redundant code 2023-03-01 19:37:06 +08:00
Alaister Young eeaa26c129 improve analytics tests 2023-01-23 18:11:00 +11:00
Alaister Young 9828b9ff06 improve failing tests 2023-01-10 23:32:42 +00:00
Alaister Young 9178f22b50 move useDbQuery & useLogsQuery back to hooks 2023-01-10 22:12:20 +00:00
Alaister Young 959a3e25ce move useLogsPreview to react-query 2023-01-10 21:20:43 +00:00
Alaister Young 6c92c1c52e move useSingleLog to react-query 2023-01-10 20:14:37 +00:00
Alaister Young 59230c15c7 move useLogsQuery to react-query 2023-01-05 18:50:23 +00:00
Alaister Young d090b94b08 move logs useDbQuery to react-query 2023-01-05 16:16:00 +00:00
TzeYiing d52154f686 chore: fix failing typecheck 2022-12-22 22:49:00 +08:00
TzeYiing 2c7890e4f2 fix: update querying revalidation to reduce mutliple querying 2022-12-22 22:49:00 +08:00
TzeYiing dc43b8cbab feat: updated auth queries with db data, updated typing, updated auth layout 2022-12-22 22:49:00 +08:00
TzeYiing 2a7c7871e6 feat: add cumulative users chart 2022-12-22 22:49:00 +08:00
TzeYiing 31880c2740 feat: refactored hook generation logic 2022-12-22 22:49:00 +08:00
TzeYiing 5322a76451 feat: refactor preset reports to use hook for data fetching 2022-12-22 22:49:00 +08:00
TzeYiing f2380339eb fix: add filtering to counts query generation 2022-12-02 12:32:16 +08:00
Chensokheng 87a77da313 fix: condition always true 2022-10-24 22:44:03 +08:00
TzeYiing 4489b73c6d fix: LogsPreviewer filter clear button values should not persist old values 2022-09-20 16:05:29 +08:00
TzeYiing f115a6e53a feat: initial overview preset report 2022-08-25 02:56:15 +08:00
TzeYiing b4c5c0f099 feat: Improved log event chart, timestamp conflict fixes, use iso timestamp only 2022-08-24 15:20:42 +08:00
TzeYiing 6780907b4f fix: add in timestamp filtering for single log filtering 2022-08-09 15:29:43 +08:00
TzeYiing 9232ae4dfd chore: fix failing tests 2022-07-26 10:51:10 +08:00
TzeYiing fdad1187a0 chore: fixed a test 2022-07-26 10:51:10 +08:00
TzeYiing fa2c951373 feat: add changes to the render, functions ui fixes, prevent stale data refresh for single logs 2022-07-26 10:51:10 +08:00
TzeYiing 37d6a6a199 fix: delayed metadata loading only on log focus 2022-07-26 10:51:10 +08:00
Inian 8f217deeb6 add prettier to studio (#7615) 2022-07-08 12:46:46 +08:00
TzeYiing 7bf981e0fa fix: logs explorer now limits queries according to datepicker 2022-06-07 15:13:25 +08:00
phamhieu f5c3eee5f2 refactor: extend dayjs once on _app
https://github.com/iamkun/dayjs/issues/931#issuecomment-644584535
2022-05-18 20:14:20 +07:00
TzeYiing 3bd7e72135 fix: remove query newline cleaning to fix comments in queries. 2022-04-27 16:42:54 +02:00
TzeYiing d6fc79fac6 fix: optimize log querying logic, improve datepickers ux 2022-04-20 18:45:39 +02:00
TzeYiing da05d31247 Add datepicker to logs explorer, ux fixes 2022-04-20 18:45:39 +02:00
Jonathan Summers-Muir a80f55df8a Merge branch 'studio' into fix/master-conflicts 2022-04-12 09:17:57 +08:00
Jonathan Summers-Muir f72c0404b6 udpate comments 2022-04-11 14:16:00 +02:00
Jonathan Summers-Muir c3d143dcc9 remove additional conditional 2022-04-11 14:16:00 +02:00
Jonathan Summers-Muir f7ec4e3737 update to null 2022-04-11 14:16:00 +02:00
Jonathan Summers-Muir 64b97859d4 fix: also apply a check to the count request 2022-04-11 14:16:00 +02:00
Jonathan Summers-Muir a4eb67cdba fix: restrict how many requests are made by app to api when no sql is present for logs request 2022-04-11 14:16:00 +02:00
TzeYiing f927255c70 tweak swr config to reduce requests 2022-04-11 09:31:26 +02:00
TzeYiing 47bea3f780 Refactored sql query building, refined filter overriding test 2022-04-11 09:31:26 +02:00