Conversation
e679934 to
f59bd25
Compare
Add DB migration 1.3.34 Publish tno-core:1.0.22
| var pageBreak = Settings.Sections.UsePageBreaks ? "page-break-after: always;" : ""; | ||
| var utcOffset = ReportExtensions.GetUtcOffset(System.DateTime.Now, "Pacific Standard Time"); | ||
| var hasImages = Sections.Any(section => section.Value.SectionType == TNO.Entities.ReportSectionType.Image); | ||
| var hasImages = Sections.Any(section => section.Value.SectionType == TNO.Entities.ReportSectionType.Image || section.Value.SectionType == TNO.Entities.ReportSectionType.Data); |
There was a problem hiding this comment.
Who section if it's a data section.
|
|
||
| if (!section.Value.IsEnabled) continue; | ||
| if (sectionContent.Length == 0 && section.Value.Settings.HideEmpty) continue; | ||
| if (sectionContent.Length == 0 && section.Value.Settings.HideEmpty |
There was a problem hiding this comment.
Don't hide data sections.
| @@ -0,0 +1,151 @@ | |||
| @using System | |||
There was a problem hiding this comment.
New Razor template to convert an array of items from Talkwalker into an image collage.
| @@ -0,0 +1,195 @@ | |||
| @using System | |||
There was a problem hiding this comment.
New Razor template to convert an array of items from Talkwalker into an list of popular posts.
| @@ -0,0 +1,21 @@ | |||
| @using System | |||
There was a problem hiding this comment.
New Razor template to convert a JSON object into a summary paragraph..
| @@ -0,0 +1,196 @@ | |||
| export const TalkwalkerPostListTemplate = `@using System | |||
There was a problem hiding this comment.
Default Razor template
| @@ -0,0 +1,21 @@ | |||
| export const TalkwalkerSummaryTemplate = `@using System | |||
There was a problem hiding this comment.
Default Razor template
There was a problem hiding this comment.
Updated UI to hide the advanced editor by default. Added buttons to apply default templates we have created.
There was a problem hiding this comment.
Refer to CustomReport.cshtml file to see changes.
| sectionData.Data = ex.GetAllMessages(); | ||
| } | ||
| } | ||
| else if (settings.DataType?.Equals("csv", StringComparison.InvariantCultureIgnoreCase) == true) |
There was a problem hiding this comment.
We can now handle CSV files. They are imported and converted to JSON.
Add DB migration 1.3.34 Publish tno-core:1.0.22
Reports now support sections that pull in data from CSV files. Each section can transform the data into HTML.
Summary
Report Editor
Talkwalker Post List
Talkwalker Collage