File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ Static analysis tool for visualizing Next.js component trees. See which componen
1616Roadmap
1717
1818- [x] Web application using File System Access API
19+ - [ ] Enable ui to accept an URL of a repo to analyze it
1920- [ ] Publish packages (cli) to enable usages without UI
2021- [ ] (Maybe?) create Github Action for automatic reports (or show an example)
2122
Original file line number Diff line number Diff line change @@ -22,7 +22,15 @@ export default function Home() {
2222
2323 return (
2424 < div className = "min-h-screen px-5 py-10" >
25- < div className = "fixed top-4 right-4 z-50" >
25+ < div className = "fixed top-4 right-4 z-50 flex items-center gap-2" >
26+ < a
27+ href = "https://github.com/albertodeago/nextxray/issues"
28+ target = "_blank"
29+ rel = "noopener noreferrer"
30+ className = "inline-flex h-9 items-center justify-center rounded-md px-3 text-sm text-muted-foreground transition-colors hover:bg-accent hover:text-accent-foreground"
31+ >
32+ Report issue
33+ </ a >
2634 < ThemeToggle />
2735 </ div >
2836 < header className = "mx-auto max-w-225 text-center" >
@@ -38,16 +46,22 @@ export default function Home() {
3846 < AlertTitle > Error</ AlertTitle >
3947 < AlertDescription >
4048 { state . error }
41- { state . isRecoverable && (
42- < Button
43- variant = "outline"
44- size = "sm"
45- onClick = { reset }
46- className = "mt-3"
47- >
48- Try Again
49+ < div className = "mt-3 flex gap-2" >
50+ { state . isRecoverable && (
51+ < Button variant = "outline" size = "sm" onClick = { reset } >
52+ Try Again
53+ </ Button >
54+ ) }
55+ < Button variant = "outline" size = "sm" asChild >
56+ < a
57+ href = "https://github.com/albertodeago/nextxray/issues/new"
58+ target = "_blank"
59+ rel = "noopener noreferrer"
60+ >
61+ Report issue
62+ </ a >
4963 </ Button >
50- ) }
64+ </ div >
5165 </ AlertDescription >
5266 </ Alert >
5367 ) }
You can’t perform that action at this time.
0 commit comments