Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

modify or replace OverType

Aperta
#99 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
github, react, typescript
Ambito
frontend

Direzione di ricerca

Inizia leggendo src/lib/enhancers/github/GitHubPrAppendEnhancer.tsx nelle sezioni collegate relative allo styling e ai listener delle modifiche, quindi esamina l’integrazione attuale di OverType e le modifiche elencate nel fork. Il lavoro è completato quando OverType viene modificato o sostituito in modo che le aree di testo migliorate mantengano il loro styling, rimangano sincronizzate quando vi vengono trascinate delle immagini e conservino il supporto per gli hashlink di GitHub.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

We are currently using the OverType library for syntax highlighting. Our biggest problem with it is that we are using it to modify text areas, but it's really built to create them. We're working against its nature in lots of places.

For example, right now we don't / can't enhance text areas by default, we only enhance very specific ones that we have targeted. This is because when we enhance a text area, we clobber its styling, and we have to manually put it all back how it was:

https://github.com/diffplug/gitcasso/blob/57fe5689b094d7ea9475e613fd033f4987c37fb0/src/lib/enhancers/github/GitHubPrAppendEnhancer.tsx#L71-L75

Also, whatever method it uses to listen for changes doesn't always work. For example, when images get dragged on to the GitHub textarea, the preview unsyncs briefly, but this can fix it:

https://github.com/diffplug/gitcasso/blob/57fe5689b094d7ea9475e613fd033f4987c37fb0/src/lib/enhancers/github/GitHubPrAppendEnhancer.tsx#L77-L82

Changes we have made:

Lingua principale
HTML
Stelle
58
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di diffplug/gitcasso

Tutte le issue di diffplug/gitcasso

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.