Firefox-selaimen lisäosat
  • Laajennukset
  • Teemat
    • Firefoxille
    • Oikolukusanastot ja kielipaketit
    • Muiden selainten sivustot
    • Lisäosia Androidille
Kirjaudu sisään
Diff Navigator for GitHub esikatselu

Diff Navigator for GitHub tekijä Dean Attali

GitHub Diff Navigator allows you to easily navigate through the changes in a file that has been edited on GitHub.

0 (0 reviews)0 (0 reviews)
2 käyttäjää2 käyttäjää
Lataa Firefox ja hanki laajennus
Lataa tiedosto

Laajennuksen metatiedot

Kuvakaappaukset
Tietoja tästä laajennuksesta
GitHub Diff Navigator allows you to easily navigate through the changes in a file that has been edited on GitHub.
Code available at: https://github.com/daattali/github-diff-navigator-extension/

Description
=========

This is a Firefox extension that allows you to easily navigate through the changes in a file that has been edited on GitHub.

You may have noticed that after editing a file through GitHub and previewing your changes, there is no easy way to navigate through the changes in a nice "next/previous change" manner. Most file formats only show the lines that were changed and several surrounding lines, so it's usually not a terrible inconvenience, but for any markdown document (.md) the situation is different. GitHub shows the entire markdown document when previewing the changes made, which means that if you're making a few tiny edits to a large document, it's very hard to find those edits and see what's changed. Rmarkdown (.Rmd) documents behave similarly, and potentially other markdown-type documents as well.

Enter: GitHub Diff Navigator.


Motivation
=========

The idea for this extension came when I was reading through Hadley Wickham's Advanced R book. Every time I found a few typos in a chapter (which is a single markdown document), I would edit it on GitHub and make a pull request.
To make sure I didn't make an idiot out of myself, I wanted to double-check my edits in the Preview tab, but I noticed the problem described above. I didn't trust my eyes in finding the few edits in such large files, and I ended up using the DOM + JavaScript console to help me find where the edits were.
Then I decided that playing in the JavaScript console wasn't hardcore enough and I decided to spend the next two days making an extension that will help me find such changes quickly in the future.


Features
=========

- GitHub Diff Navigator is non-intrusive and will only show up when looking at the Preview of edits made on a file using GitHub.
- GitHub Diff Navigator will not take up any resources or show up in the Task Manager when you don't have a valid GitHub edited page open.
- Works with multiple GitHub tabs that are open simultaneously (every time you switch tabs, the extension will update to show you the edits in that tab).
- Automatically detect whether the file being edited is markdown-type or not, and seamlessly works for both.
- Clean and intuitive UI with helpful messages shown when no edits are found.
Arvio 0 0 arvostelijan toimesta
Kirjaudu sisään arvostellaksesi tämän laajennuksen
Ei vielä arvioita

Tähtiarvio tallennettu

5
0
4
0
3
0
2
0
1
0
Ei arvioita
Käyttöoikeudet ja dataLue lisää

Vaaditut käyttöoikeudet:

  • Pääsy tietoihisi sivustolla github.com
Lisätietoja
Lisäosan linkit
  • Kotisivu
  • Sähköpostituki
Versio
1.0
Koko
72,48 kt
Viimeksi päivitetty
viisi vuotta sitten (24. kesä 2020)
Liittyvät luokat
  • Websivujen kehitys
Lisenssi
MIT-lisenssi
Versiohistoria
  • Näytä kaikki versiot
Lisää kokoelmaan
Ilmoita tästä lisäosasta
Siirry Mozillan verkkosivustolle

Lisäosat

  • Tietoja
  • Firefox-lisäosien blogi
  • Laajennustyöpaja
  • Kehityskeskus
  • Kehittäjäkäytännöt
  • Yhteisön blogi
  • Keskustelualue
  • Ilmoita ongelmasta
  • Opas arviointiin

Selaimet

  • Desktop
  • Mobile
  • Enterprise

Tuotteet

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Tietosuoja
  • Evästeet
  • Juridiset asiat

Jos ei erikseen mainita, tämän sivuston sisällön kattaa lisenssi Creative Commons Attribution Share-Alike License v3.0 tai mikä tahansa uudempi versio.