| 1 |
<script lang="ts"> |
| 2 |
import { viewOptionsTimeline } from "../lib/settings"; |
| 3 |
import { randomId } from "../lib/utils"; |
| 4 |
const cid = randomId(); |
| 5 |
</script> |
| 6 |
|
| 7 |
<div class="view-options-timeline"> |
| 8 |
|
| 9 |
<div class="option-group"> |
| 10 |
<div class="name">Remove frames</div> |
| 11 |
<div class="body"> |
| 12 |
|
| 13 |
<div class="option"> |
| 14 |
<input |
| 15 |
id={cid + "removeImportlib"} |
| 16 |
type="checkbox" |
| 17 |
bind:checked={$viewOptionsTimeline.removeImportlib} |
| 18 |
/> |
| 19 |
<label for={cid + "removeImportlib"}> importlib machinery </label> |
| 20 |
</div> |
| 21 |
|
| 22 |
<div class="option"> |
| 23 |
<input |
| 24 |
id={cid + "removeTracebackHide"} |
| 25 |
type="checkbox" |
| 26 |
bind:checked={$viewOptionsTimeline.removeTracebackHide} |
| 27 |
/> |
| 28 |
<label for={cid + "removeTracebackHide"}> |
| 29 |
Frames declaring __traceback_hide__ |
| 30 |
</label> |
| 31 |
</div> |
| 32 |
|
| 33 |
<div class="option"> |
| 34 |
<input |
| 35 |
id={cid + "removePyinstrument"} |
| 36 |
type="checkbox" |
| 37 |
bind:checked={$viewOptionsTimeline.removePyinstrument} |
| 38 |
/> |
| 39 |
<label for={cid + "removePyinstrument"}> pyinstrument frames </label> |
| 40 |
</div> |
| 41 |
</div> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
|
| 45 |
<style lang="scss"> |
| 46 |
.view-options-timeline { |
| 47 |
padding: 6px 9px; |
| 48 |
} |
| 49 |
</style> |