<#859 [WIP] Introduce flyte Decks into flytekit> P...
# flyte-github
a
#859 [WIP] Introduce flyte Decks into flytekit Pull request opened by pingsutw Signed-off-by: Kevin Su pingsutw@apache.org TL;DR Allow user to visualize dataframe, preview markdown file on flyteconsole Note: now It only works for local execution To run an example: 1.
python example.py
and will output HTML and metadata files generated by the renderer. javascript will read metadata files (contain each HTML location) and load those HTML files. 2. open
template.html
We should add those metadata in flyteidl, something like below
Copy code
message DeckMetadata {

  // Tab name.
  string name = 1;

  // List of HTML files generated by renderer.
  repeated string paths = 2;
}

image

image

image

Type ☐ Bug Fix ☑︎ Feature ☐ Plugin Are all requirements met? ☐ Code completed ☐ Smoke tested ☐ Unit tests added ☐ Code documentation added ☐ Any pending items have an associated Issue Complete description • Add a
renderer
interface • Add some default renderer such as
FrameRenderer
,
MarkdownRenderer
,
FrameProfilingRenderer
• folks can easily add new renderer by extending
renderer
Tracking Issue flyteorg/flyte#2175 Follow-up issue NA flyteorg/flytekit Codecov: 87.23% (-0.01%) compared to f6e38dd Codecov: 81.81% of diff hit (target 87.23%) WIP: Title contains &quot;WIP&quot; 27 other checks have passed 27/30 successful checks
f
@glamorous-carpet-83516 you are a rockstar. But the tabs should be in the same file?
g
no, just for demo and testing purpose
168 Views