fastruby / fastruby/points

4-space indent selected text in description

Aperta
#88 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement Feature Request Nice to Have (Low Priority) ux
Lingua principale
Ruby
Stelle
42
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

https://ombulabs.atlassian.net/browse/DT-263

**Branch/Commit:**

Main branch

**Describe the feature:**

> **As a developer**
> **I select some lines from the description**
> **And then I click a button**
> **And I see the selected lines indented with 4 leading white spaces so it's formatted as a block**

**Problem:**

Currently, if we want to add code, we have two methods:
- triple backticks around the code (which is not always reliable and adds a color to the code)
- 4-spaces indentation (which is pretty annoying to adjust the indentation once the code is in the desription box or you have to update the indentation before copying the code)

**I will abide by the [code of conduct](CODE_OF_CONDUCT.md)**

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia dal riquadro della descrizione in main branch e individua il controllo che agisce sulle righe selezionate. Verifica come vengono attualmente gestite la selezione e l'indentazione, quindi conferma che facendo clic sul pulsante vengono aggiunti quattro spazi iniziali alle righe selezionate e che il testo risultante viene formattato come un blocco.

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

Valutazione

Stack tecnologico
rails, ruby
Ambito
frontend
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.