menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Frame.io Developers

Frame.io is a video review and collaboration platform. Share video projects with your team and clients for fast feedback and approval. Use Frame.io's API to add custom features to your workflow!

Channels
Team

Is it possible to add <CR><LF> to Frame.io response messages?

March 22, 2021 at 10:52pm

Is it possible to add <CR><LF> to Frame.io response messages?

March 22, 2021 at 10:52pm
For example: I'd like for the following text to appear WITH THE SPACES between lines.
SUCCESS!
Your backup job for 'xyz.mp4' was been triggered.
A new record for this asset was created in the database.

March 22, 2021 at 10:55pm
Hey there (drew-berkemeyer)! Just to make sure we're talking about the same thing, I'm assuming you're talking about having this displayed in the response from a Custom Action action dialog?
yes (jeff-hodges) , that's correct.
Edited
I'm trying to test out a few things right now to see if there's a line separator character that we support. I'll get back to you shortly!
like-fill
1
(drew-berkemeyer) doesn't look like we support any kind of rich text formatting right now in this form. If we were to add support, it would likely be markdown rather than html due to it being more portable and easier to render.
Would markdown support work for you?
I did a little experimenting and it looks like there's an immediate fix that just requires a single-line CSS change that would enable \n as a multi-line separator in the description field. I also explored adding full-blown markdown support and it turned out pretty well, but that's going to take more approval.
I'm opening a ticket and a PR now, I'll keep you in the loop on this as it develops!

March 23, 2021 at 8:30pm
Thank you for the feedback (jeff-hodges) ! I'll MD would be great. I'll check out the CSS fix as well. I appreciate you looking into this.

March 25, 2021 at 7:54pm
(drew-berkemeyer) I just merged the code for line breaks with the \n character into our develop branch which will like likely get released tomorrow morning.
Unfortunately markdown is a no-go for now, but I did make sure that support is in the brief for the next version of Custom Actions.

March 26, 2021 at 4:00pm

March 30, 2021 at 11:09pm
There was a hold-up in testing, but it should be going out tomorrow morning (drew-berkemeyer)!
like-fill
1

April 5, 2021 at 11:37pm
Feature has been released (drew-berkemeyer). Did you get a chance to try it out yet?

April 7, 2021 at 10:06pm
Hi (jeff-hodges) , thanks for the update. I did not get to try it yet. I will try to get to it tomorrow.
like-fill
1