Originally created by: supreme-gg-gg
Originally owned by: supreme-gg-gg
Is your feature request related to a problem? Please describe.
now when you test UI you need to use actual API endpoint calls, and often UI requires iterations to fix bugs and make stuff beautiful. Having a mock client would be helpful to avoid excessive calls. For backend updates you still need to make real calls and learn about the schema.
Describe the solution you'd like
Mock cli, mock client, pass in this mock client to test various commands (especially chat UI), script to run this like npm run start:mock
Describe alternatives you've considered
Use direct API endpionts but slow and might be risky if you test toooo often
Additional context
I have one working but we need something that's very robust and scalable. Might work together with the endpoint testing system for [#102] to auto update and capture some examples?
Pls comment below if you find this helpful, I will try to implement a full standard version for everyone as dev tool otherwise I will keep it for personal use.
Originally posted by: Quimisagi
Definitely helpful!
I already got an account flagged as suspicious and currently can't use the API with it. I can still use it in the browser, but I did get a message saying that my account may get restricted if the suspicious activity continues lol
Originally posted by: supreme-gg-gg
yea that happened several times to me as well lol, suggest using a separate dev account for now (create it on mobile if you dont' have one my web created one got blocked 💀) or proxies (haven't tried that both both python and ts supports)
Ticket changed by: supreme-gg-gg