-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: lab value display * fix: fold in parsing with sanitizing, add keys, remove arrs * refactor: always deal witha single elements * fix: linting * refactor: TableValue => RenderableNode * fix: add p-list class * fix: missing [] * Update containers/ecr-viewer/src/app/view-data/utils/utils.tsx Co-authored-by: Boban <BobanL@users.noreply.github.com> * Update containers/ecr-viewer/src/app/view-data/utils/utils.tsx Co-authored-by: Boban <BobanL@users.noreply.github.com> * fix: handle empty nodes * Update containers/ecr-viewer/seed-scripts/create-seed-data.py Co-authored-by: Boban <BobanL@users.noreply.github.com> * test: update tests post-merge * fix: handling of nested time values --------- Co-authored-by: Boban <BobanL@users.noreply.github.com>
- Loading branch information
1 parent
8691ed2
commit c4b741e
Showing
20 changed files
with
481 additions
and
286 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
containers/ecr-viewer/src/app/components/AccordionContainer.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
containers/ecr-viewer/src/app/tests/__snapshots__/utils.test.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Utils safeParse should map xml-y HTML 1`] = ` | ||
<DocumentFragment> | ||
<p> | ||
hi there | ||
</p> | ||
<span> | ||
I'm content | ||
</span> | ||
<ul> | ||
<li> | ||
one | ||
</li> | ||
<li> | ||
two | ||
</li> | ||
</ul> | ||
</DocumentFragment> | ||
`; | ||
|
||
exports[`Utils safeParse should remove comments 1`] = ` | ||
<DocumentFragment> | ||
<p> | ||
hi there | ||
</p> | ||
I'm content | ||
<ul> | ||
<li> | ||
one | ||
</li> | ||
<li> | ||
two | ||
</li> | ||
</ul> | ||
</DocumentFragment> | ||
`; | ||
|
||
exports[`Utils safeParse should remove empty nodes 1`] = ` | ||
<DocumentFragment> | ||
<br /> | ||
<span> | ||
hiya | ||
</span> | ||
</DocumentFragment> | ||
`; |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.