-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML Export Support #1689
base: main
Are you sure you want to change the base?
HTML Export Support #1689
Conversation
charleshu-8
commented
Aug 17, 2023
- Add support for an hdf2html convert command to generate HTML exports via HTML export feature from HDF Converters
Signed-off-by: Charles Hu <[email protected]>
Signed-off-by: Charles Hu <[email protected]>
Signed-off-by: Charles Hu <[email protected]>
Signed-off-by: Charles Hu <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs tests (here and in hdf-converters), needs to be documented in the readme
Quality Gate failedFailed conditions |
Needs comments added in README |
src/commands/convert/hdf2html.ts
Outdated
files.push({data, fileName, fileID}) | ||
} | ||
|
||
const converter = await new Mapper(files, FileExportTypes.Administrator).toHTML('/html/') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not add an input flag for report type rather than defaulting to Administrator?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
tailwind.config.js
Outdated
@@ -0,0 +1,31 @@ | |||
/** @type {import('tailwindcss').Config} */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unneeded imports
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HDF to HTML has been refactored to avoid needing tailwind on SAF CLI. Tailwind is all managed by hdf-converters's build system.
Signed-off-by: kemley76 <[email protected]> Signed-off-by: kemley76 <[email protected]>
Signed-off-by: kemley76 <[email protected]>
Signed-off-by: kemley76 <[email protected]> Signed-off-by: kemley76 <[email protected]>
Quality Gate passedIssues Measures |
These changes are dependent on this Heimdall PR |
Signed-off-by: Kaden Emley <[email protected]>
Signed-off-by: Kaden Emley <[email protected]>
Now dependent on only this heimdall PR |
Signed-off-by: Kaden Emley <[email protected]>
Quality Gate passedIssues Measures |