From ebcc50d7fcf220a75dd3e9f36bbe16513ed6d842 Mon Sep 17 00:00:00 2001 From: Mario Escobedo Date: Fri, 13 Jan 2023 12:59:25 +0100 Subject: [PATCH] Release 1.2.2 (#12) * fix: update selector to the issue title * chore: bump version * chore: update changelog * fix: changelog link --- CHANGELOG.md | 7 +++++++ src/helper.user.js | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e31bfdd..97d5810 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.2.2] - 2023-01-1113 + +### Fixed + +- Broken selector after GitHub updated the issue details page + ## [1.2.1] - 2022-08-11 ### Fixed @@ -89,6 +95,7 @@ A fresh installation is required to use the new remote name and get updates auto - First release +[1.2.2]: https://github.com/m4rii0/github-helper/tree/1.2.2 [1.2.1]: https://github.com/m4rii0/github-helper/tree/1.2.1 [1.2.0]: https://github.com/m4rii0/github-helper/tree/1.2.0 [1.1.2]: https://github.com/m4rii0/github-helper/tree/1.1.2 diff --git a/src/helper.user.js b/src/helper.user.js index f43ddec..8e6e7ac 100644 --- a/src/helper.user.js +++ b/src/helper.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Github helper // @namespace https://github.com/m4rii0 -// @version 1.2.1 +// @version 1.2.2 // @description Github helper to speed up your work // @author m4rii0 // @match https://github.com/* @@ -101,7 +101,7 @@ } const getBranchName = () => { - let title = document.querySelector('h1 > span.js-issue-title').innerText; + let title = document.querySelector('h1 > bdi.js-issue-title').innerText; title = title .trim() .toLowerCase()