dwjohnston / dwjohnston/react-github-permalink

Create a 'minimal' variant of GithubPermalink.

Aperta
#86 0 commenti 1 reazione 1 assegnatario Assegnata a @Copilot Vedi su GitHub
Lingua principale
TypeScript
Stelle
2
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The current Github Permalink block is very much based on what we see in Github.

This contains too much superflous content - usually what we want is just a codeblock. It should still be able to link back to Github though.

I think the best thing is going to be subtle Github Octocat icon that serves as the link, and a chevron to expand the full details.

The existing Github Permalnk can be extended - and should have a 'isInitiallyExpanded' property.

The global configuration should have 'initiallyExpandGithubPermalinks' to determine the default behaviour of `isInitiallyExpanded`. This default should be true.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.