Commit Graph
19 Commits
Author SHA1 Message Date
Kevin Grüneberg 11914a55de chore: remove old billing code (#18610) 2023-11-01 10:52:52 +01:00
3dca7ff61c feat: disable features (#17553)
* feat: groundwork for disabling features

* update to use profile endpoint & disable features

* fix ts error

* add useIsFeatureEnabled mock

* fix merge conflicts

* fix test

* upgrade to pro

* prettier

* add more billing enabled feature checks

* disable more stuff

* update useIsFeatureEnabled hook

* Fix database reports disk size

* Fix database reports disk size

* disable log sources

* disable moar things

* Tiny fix

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-10-16 12:59:36 +08:00
Ivan VasilovandAlaister Young 5ac5e20fd8 chore: Remove ProjectContent mobx store (#18044)
* Migrate the saved logs page to use RQ.

* Remove ProjectContentStore and replace its functionalities with useLocalStorage and RQ API calls.

* remove console.logs

* add useLocalStorage mock

* Filter only the log data.

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2023-10-10 11:22:30 +02:00
Joshen Lim dd01ad965d Add mock stubs for new data fetchers 2023-08-28 17:39:43 +08:00
Ivan Vasilov e46a34075c Add a mock to fix the tests failing. 2023-08-08 10:55:37 +02:00
Greg Richardson abfa70805d fix: passthrough isResponseOk to jest mocks 2023-07-17 12:21:58 -06:00
Alaister Young 82020f7f67 add isResponseOk mock 2023-07-17 12:22:34 +08:00
Alaister Young 3bc70549c3 chore: checkPermissions -> useCheckPermissions 2023-06-30 15:15:09 +10:00
Alaister Young 778376c375 add useCheckPermissions mock 2023-06-27 21:47:45 +10:00
Kevin Grüneberg f0643d05fa chore: remove old subscription UI / use v2 endpoint 2023-06-19 16:38:26 +02:00
Alaister Young 0ecf4b65f1 fixes studio and www builds 2023-05-29 14:42:50 +10:00
Brandon Scott 7db6ee4fff refactor: globally mock useFillTimeseriesSorted hook, fix failing ProjectUsage test expecting mocked data 2023-05-22 10:15:47 -04:00
Greg Richardson 5563d713fc fix: jest tests with react markdown 2023-05-08 15:14:43 -06:00
Alaister Young 41279360ad mock useParams 2023-01-05 17:02:51 +00:00
Alaister Young 0ece574b76 remove useParams mock 2023-01-05 16:58:02 +00:00
Alaister Young 3ec6225a93 move useProjectSubscription to react-query 2023-01-04 20:23:24 +00:00
TzeYiing dc43b8cbab feat: updated auth queries with db data, updated typing, updated auth layout 2022-12-22 22:49:00 +08:00
Terry Sutton acc14fd3cb Move logs explorer to new logs route 2022-10-11 16:44:16 -02:30
TzeYiing 4eb92c8f6e chore: simplify mocking 2022-09-21 11:41:07 +08:00