Describe the bug
I can't delete a code mark. I can archive it.
System Info (please complete the following information):
Log Files
There is nothing in the logs.
Hi Mike - I wasn't able to reproduce the issue. Just to confirm, you're deleting the codemark from within CodeStream, and not from Slack, right? Assuming that's the case, can you go ahead and set the log info anyway? Might reveal something to our devs.
Thanks!
Actually, there are some errors in the logs, see here:
[2019-05-17 19:08:04:714] AgentConnection.sendRequest(codestream/post/delete) — {"postId":"CJT219Z7X|1558117830.001800","streamId":"CJT219Z7X"}
Error: Request codestream/post/delete failed with message: Unable to find message with id=1558117830.001800
[2019-05-17 19:08:04:714] /Users/mikestaub/.vscode/extensions/codestream.codestream-1.0.1/dist/extension.js:1:12236
Error: Request codestream/post/delete failed with message: Unable to find message with id=1558117830.001800
[2019-05-17 19:08:04:715] WebviewPanel: Completed posting response(wv:36:ksd2jDf2TBOhAzid7dfxzA) to the webview
[2019-05-17 19:08:04:716] Webview: Received message codestream/reporting/message(wv:39:GKlSLJB6RZyMUp8XH8KWdA) from the webview
[2019-05-17 19:08:04:716] AgentConnection.sendRequest(codestream/reporting/message) — {"extra":{"postId":"CJT219Z7X|1558117830.001800","streamId":"CJT219Z7X"},"message":"There was an error deleting a post: Request codestream/post/delete failed with message: Unable to find message with id=1558117830.001800","source":"webview","type":"error"}
[2019-05-17 19:08:04:719] WebviewPanel: Completed posting response(wv:39:GKlSLJB6RZyMUp8XH8KWdA) to the webview
[2019-05-17 19:08:05:550] Webview: Received message host/editor/range/highlight(wv:40:xMWIxgBUS4eUeZWVh4VAIA) from the webview
[2019-05-17 19:08:05:551] WebviewPanel: Completed posting response(wv:40:xMWIxgBUS4eUeZWVh4VAIA) to the webview
Thanks @mikestaub! Looks like the issue happens when you first delete the post from Slack, and then try to delete it from CodeStream. If you delete it from CodeStream it appears to work correctly, including triggering the deleting of the corresponding post on Slack.
We'll get this fixed up asap.
Fixed in version 1.1.0