-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0bd8075
commit 788844d
Showing
53 changed files
with
1,293 additions
and
415 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { buildCustomElementConstructor, register } from 'lwc'; | ||
import { registerWireService } from '@lwc/wire-service'; | ||
|
||
import MyApp from 'my/app'; | ||
import App from 'view/app'; | ||
|
||
registerWireService(register); | ||
|
||
customElements.define('my-app', buildCustomElementConstructor(MyApp)); | ||
customElements.define('view-app', buildCustomElementConstructor(App)); |
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
26 changes: 26 additions & 0 deletions
26
packages/@best/frontend/src/modules/component/benchmark/benchmark.html
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,26 @@ | ||
<template> | ||
<div class={containerClassNames} data-metric={metric} data-first={first}> | ||
<div class="header"> | ||
<h1 class="title">{benchmark.name}</h1> | ||
<template if:true={comparing}> | ||
<div class="compare-actions"> | ||
<component-button flavor="close" onclick={cancelComparison}>Cancel</component-button> | ||
<component-button onclick={runComparison}>Compare</component-button> | ||
</div> | ||
</template> | ||
</div> | ||
<template for:each={selectedPoints} for:item="point"> | ||
<component-commit-info key={point.commit} hidden={point.hidden} pendingcompare={point.pendingCompare} commit={point.commit} left={point.left} top={point.top} oncompare={onCompareClick} onclose={closeCommitInfo}></component-commit-info> | ||
</template> | ||
<div class="graph-wrapper"> | ||
<div class="graph" lwc:dom="manual"></div> | ||
</div> | ||
<template if:true={showingComparison}> | ||
<component-modal onclose={closeModal} title={comparisonModalTitle}> | ||
<template if:true={hasComparisonResults}> | ||
<div class="comparison-graph" lwc:dom="manual"></div> | ||
</template> | ||
</component-modal> | ||
</template> | ||
</div> | ||
</template> |
Oops, something went wrong.