Is your feature request related to a problem? Please describe.
I can't figure out how to navigate to a channel canvas when using slackdump view.
It took me a while to figure out how canvases are stored: In the DATA column of the CHANNELS table, there is a JSON object which may have a properties.canvas.file_id. This contains the name of a folder that is to be found in the __uploads folder. Inside that folder is an HTML file without extension, with the same name as the canvas. This seems to have been added here:
Viewing canvases that are embedded in messages, seems to have been added here: #569
Describe the solution you'd like
One of the following:
- In the sidebar, alongside "Channels", add another heading named "Canvases"
- When a channel is being viewed, have a link or button somewhere that goes to the canvas or canvases for that channel. This would be the most similar to how the official Slack UI currently looks.
Describe alternatives you've considered
Get to the file manually:
- Perform a SQLite query to get the
data of the channel.
- Read the
properties.canvas.file_id from the JSON.
- Browse to the HTML file.
- Rename it to give it an HTML file extension.
- Double-click it to open it in a browser.
Is your feature request related to a problem? Please describe.
I can't figure out how to navigate to a channel canvas when using
slackdump view.It took me a while to figure out how canvases are stored: In the
DATAcolumn of theCHANNELStable, there is a JSON object which may have aproperties.canvas.file_id. This contains the name of a folder that is to be found in the__uploadsfolder. Inside that folder is an HTML file without extension, with the same name as the canvas. This seems to have been added here:Viewing canvases that are embedded in messages, seems to have been added here: #569
Describe the solution you'd like
One of the following:
Describe alternatives you've considered
Get to the file manually:
dataof the channel.properties.canvas.file_idfrom the JSON.