Add expand, collapse, expand all and collapse all buttons
π Workflow runs π Branch on GitHub
π Workflow runs π Branch on GitHub
Style file header more nicely
- show
added,deleted,moved,copiedas colorful badges - highlight the filename part of the path and make the path subdued
Rebase.
Move Expand/Collapse all button to header
Hide the βExpand/Collapse allβ button when the entire section is collapsed.
This is ready for review @sebastinez.
Seems to work fine and great addition.
Could we maybe change the imports in File.svelte to be more similar to the rest?
diff --git a/src/components/File.svelte b/src/components/File.svelte
index 8c10754..6d67332 100644
--- a/src/components/File.svelte
+++ b/src/components/File.svelte
@@ -1,5 +1,8 @@
<script lang="ts">
- import { tick, type Snippet } from "svelte";
+ import type { Snippet } from "svelte";
+
+ import { tick } from "svelte";
+
import Icon from "./Icon.svelte";
import NakedButton from "./NakedButton.svelte";
Rebase.
Rebase.
I applied the diff you suggested @sebastinez.