https://serverless-stack.com/ logo
#sst
Title
# sst
s

Sam Hulick

12/28/2021, 11:37 PM
feature request: in the new SST console, it would be great if the invocation body didn’t get cleared every time we invoke a function
t

thdxr

12/28/2021, 11:38 PM
Ah. Does the copy feature help? I guess you're tweaking a message and you want to try it a few times
s

Sam Hulick

12/28/2021, 11:38 PM
right.. I’m testing the same payload. so if the func has an error or doesn’t work how I expect, I can just make a code tweak and then click “Send” again
t

thdxr

12/28/2021, 11:40 PM
Does the replay button help?
s

Sam Hulick

12/28/2021, 11:40 PM
oh! right.. duh
t

thdxr

12/28/2021, 11:40 PM
That's kind of how I was hoping people use it
But good to know that's not obvious cc @Jay
s

Sam Hulick

12/28/2021, 11:41 PM
haha. yes. sorry, I totally missed Replay because it’s just a text link so it kinda bled into the the logs
j

Jay

12/28/2021, 11:42 PM
Yeah leaving the body as-is makes sense to me.
s

Sam Hulick

12/28/2021, 11:42 PM
either way, really. the Replay button is cool, too, I just didn’t see it
t

thdxr

12/28/2021, 11:43 PM
Yeah we used to have it in a more obvious spot, I moved it to save space but I think it's too hidden now
j

Jay

12/28/2021, 11:43 PM
Ideally each function remembers the previously used body and later we want store templates that you can pull up from a drop down.
I’ll open an issue for leaving the body in @thdxr?
t

thdxr

12/29/2021, 12:05 AM
Yeah