- 
    Type:Task 
- 
    Resolution: Fixed
- 
    Priority:L3 - Default 
- 
    Affects Version/s: None
- 
    Component/s: frontend
- 
    None
- 
        Not defined
Context:
The new text report is working the same way as the "external URL" reports are working, so it is not the real report entity, but a property of the dashboard itself. The difference is that instead of storing external URL we will be storing text in MarkDown
AT:
- there has to be third card in "Add a Report" modal on dashboard edit page called "Text report"
- this card has to have Rich Text editor which allows user to add pictures from the url from external source
- There should be characters count limit (to be agreed with BE) (3000 characters)
- When report is placed on the dashboard, clicking edit button on it should display notification and send mixpanel event optimize:editTextReport
- there should be a counter component showing the number of characters typed
- typing more then the limit should be indicated by red text on the counter and red border around the editor
Testing notes:
- create new dashboard
- click on "Add Report" button and in the modal use the new "Text Report" card
- write a text report using the editor then add it and place it on the dashboard
- save the dashboard and refresh the page - report should still be there
- all the things mentioned in the ticket should be there
This is the controller panel for Smart Panels app
- depends on
- 
                    OPT-6694 Create text report (BE) -         
- Done
 
-