Skip to content

Commit 955d779

Browse files
authored
Add Issue Template (#84)
* Add Issue Template * Update Options * Update README.md * Add Paths to Test
1 parent 9a47552 commit 955d779

8 files changed

Lines changed: 96 additions & 13 deletions

File tree

.github/ISSUE_TEMPLATE/0-bug.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: "⚠️ Report an Issue"
2+
description: "Something Not Working Right? Please let us know..."
3+
title: "[Bug] "
4+
labels: ["bug"]
5+
assignees:
6+
- smashedr
7+
8+
body:
9+
- type: markdown
10+
attributes:
11+
value: |
12+
All bugs that we can verify will be fixed. Thank you for taking the time to make this report!
13+
14+
- type: input
15+
id: website
16+
validations:
17+
required: false
18+
attributes:
19+
label: Site Link
20+
description: Please provide a link to the site you are having issues on if possible.
21+
placeholder: https://example.com/
22+
23+
- type: textarea
24+
id: description
25+
validations:
26+
required: true
27+
attributes:
28+
label: Details
29+
description: Please describe the issue you are experiencing and how to reproduce.
30+
placeholder: Provide as many details as you can...
31+
32+
- type: textarea
33+
id: logs
34+
validations:
35+
required: true
36+
attributes:
37+
label: Paste Support Information
38+
description: Open the extension options, scroll to the bottom, click Copy Support Information and paste below.
39+
render: shell

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: "💡 Request a Feature"
4+
about: Request a New Feature or Enhancement in the Discussions.
5+
url: https://github.com/cssnr/link-extractor/discussions/new?category=feature-requests
6+
7+
- name: "❔ Ask a Question"
8+
about: Ask a General Question or start a Discussions.
9+
url: https://github.com/cssnr/link-extractor/discussions/new?category=q-a
10+
11+
- name: "💬 Join Discord"
12+
about: Chat with us about Issues, Features, Questions and More.
13+
url: https://discord.gg/wXy6m2X8wY
14+
15+
- name: "📝 Submit Feedback"
16+
about: Send General Feedback Anonymously.
17+
url: https://cssnr.github.io/feedback

.github/workflows/test.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ name: "Test"
33
on:
44
push:
55
branches: ["master"]
6+
paths:
7+
- "src/**"
68
pull_request:
79
branches: ["master"]
10+
paths:
11+
- "src/**"
812
workflow_dispatch:
913

1014
jobs:

.prettierrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"singleQuote": true,
66
"overrides": [
77
{
8-
"files": ["**/*.html", "**/*.yaml"],
8+
"files": ["**/*.html", "**/*.yaml", "**/*.yml"],
99
"options": {
1010
"singleQuote": false
1111
}
1212
},
1313
{
14-
"files": ["**/*.json", "**/*.yaml"],
14+
"files": ["**/*.json", "**/*.yaml", "**/*.yml"],
1515
"options": {
1616
"tabWidth": 2
1717
}

README.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
[![Chrome Web Store Users](https://img.shields.io/chrome-web-store/users/ifefifghpkllfibejafbakmflidjcjfp?logo=google&logoColor=white&label=google%20users)](https://chromewebstore.google.com/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp)
2-
[![Mozilla Add-on Users](https://img.shields.io/amo/users/link-extractor?logo=mozilla&label=mozilla%20users)](https://addons.mozilla.org/addon/link-extractor)
1+
[![Chrome Web Store Users](https://img.shields.io/chrome-web-store/users/ifefifghpkllfibejafbakmflidjcjfp?logo=google&logoColor=white&label=users)](https://chromewebstore.google.com/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp)
2+
[![Mozilla Add-on Users](https://img.shields.io/amo/users/link-extractor?logo=mozilla&label=users)](https://addons.mozilla.org/addon/link-extractor)
33
[![Chrome Web Store Rating](https://img.shields.io/chrome-web-store/rating/ifefifghpkllfibejafbakmflidjcjfp?logo=google&logoColor=white)](https://chromewebstore.google.com/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp)
44
[![Mozilla Add-on Rating](https://img.shields.io/amo/rating/link-extractor?logo=mozilla&logoColor=white)](https://addons.mozilla.org/addon/link-extractor)
55
[![Chrome Web Store Version](https://img.shields.io/chrome-web-store/v/ifefifghpkllfibejafbakmflidjcjfp?label=chrome&logo=googlechrome)](https://chromewebstore.google.com/detail/link-extractor/ifefifghpkllfibejafbakmflidjcjfp)
66
[![Mozilla Add-on Version](https://img.shields.io/amo/v/link-extractor?label=firefox&logo=firefox)](https://addons.mozilla.org/addon/link-extractor)
77
[![GitHub Release Version](https://img.shields.io/github/v/release/cssnr/link-extractor?logo=github)](https://github.com/cssnr/link-extractor/releases/latest)
8-
[![Build](https://github.com/cssnr/link-extractor/actions/workflows/build.yaml/badge.svg)](https://github.com/cssnr/link-extractor/actions/workflows/build.yaml)
8+
[![Build](https://img.shields.io/github/actions/workflow/status/cssnr/link-extractor/build.yaml?logo=github&logoColor=white&label=build)](https://github.com/cssnr/link-extractor/actions/workflows/build.yaml)
9+
[![Test](https://img.shields.io/github/actions/workflow/status/cssnr/link-extractor/test.yaml?logo=github&logoColor=white&label=test)](https://github.com/cssnr/link-extractor/actions/workflows/test.yaml)
910
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=cssnr_link-extractor&metric=alert_status&label=quality)](https://sonarcloud.io/summary/overall?id=cssnr_link-extractor)
11+
[![Discord](https://img.shields.io/discord/899171661457293343?logo=discord&logoColor=white&label=discord&color=7289da)](https://discord.gg/wXy6m2X8wY)
1012
# Link Extractor
1113

1214
Modern Chrome Web Extension and Firefox Browser Addon to easily extract, parse, or open all links/domains from a site or text with optional filters.
@@ -18,6 +20,7 @@ Website: https://link-extractor.cssnr.com/
1820
* [Features](#features)
1921
- [Upcoming](#planned-upcoming-features)
2022
* [Configuration](#configuration)
23+
* [Support](#support)
2124
* [Development](#development)
2225
- [Building](#building)
2326

@@ -50,6 +53,7 @@ For any issues, bugs or concerns; please [Open an Issue](https://github.com/cssn
5053
* Extract Links from Selected Text on any Site
5154
* Extract Links from Clipboard or Any Text
5255
* Extract Links from All Selected Tabs
56+
* Display Additional Link Details and Text
5357
* Open Multiple Links in Tabs from Text
5458
* Download Links and Domains as a Text File
5559
* Copy the Text from a Link via Context Menu
@@ -63,7 +67,6 @@ For any issues, bugs or concerns; please [Open an Issue](https://github.com/cssn
6367

6468
## Planned Upcoming Features
6569

66-
* Option to Extract and Display Link Titles
6770
* Option to Set Names/Titles for Saved Filters
6871
* Option to Extract Using Multiple Filters with AND/OR
6972

@@ -73,7 +76,7 @@ For any issues, bugs or concerns; please [Open an Issue](https://github.com/cssn
7376
7477
# Configuration
7578

76-
**Full Documentation:** https://link-extractor.cssnr.com/docs/
79+
- [View Configuration Documentation on Website](https://link-extractor.cssnr.com/docs/#configure)
7780

7881
You can pin the Addon by clicking the `Puzzle Piece`, find the Link Extractor icon, then;
7982
**Chrome,** click the `Pin` icon.
@@ -86,6 +89,25 @@ Make sure to click`Save Options` when finished.
8689

8790
For more information on regex, see: https://regex101.com/
8891

92+
# Support
93+
94+
For help using the web extension, utilize any these resources:
95+
96+
- Documentation: https://link-extractor.cssnr.com/docs/
97+
- Q&A Discussion: https://github.com/cssnr/link-extractor/discussions/categories/q-a
98+
- Request a Feature: https://github.com/cssnr/link-extractor/discussions/categories/feature-requests
99+
100+
If you are experiencing an issue/bug or getting unexpected results, use:
101+
102+
- Report an Issue: https://github.com/cssnr/link-extractor/issues
103+
- Chat with us on Discord: https://discord.gg/wXy6m2X8wY
104+
- Provide Anonymous Feedback: https://cssnr.github.io/feedback
105+
106+
Logs can be found inspecting the page (Ctrl+Shift+I), clicking on the Console, and;
107+
Firefox: toggling Debug logs, Chrome: toggling Verbose from levels dropdown.
108+
109+
Note: When providing anonymous feedback there is no way to follow up and get more information unless you provide a contact method.
110+
89111
# Development
90112

91113
**Quick Start**

src/html/options.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,18 +184,20 @@ <h1>Link Extractor</h1>
184184
</table>
185185

186186
<p class="fst-italic small mt-3">
187-
<a id="copy-support" href="#0">Copy Support/Debugging Information</a> to clipboard.
187+
<a id="copy-support" href="#0">Copy Support Information</a> for issue reporting.
188188
</p>
189189

190-
<div class="text-center mb-3">
190+
<hr class="mt-0">
191+
192+
<div class="text-center">
191193
<a class="link-body-emphasis text-decoration-none" target="_blank" rel="noopener"
192-
href="https://link-extractor.cssnr.com/docs/">Get Help</a>
194+
href="https://link-extractor.cssnr.com/docs/">View Docs</a>
193195
<svg><use xlink:href="#bi-dot" /></svg>
194196
<a class="link-body-emphasis text-decoration-none" target="_blank" rel="noopener"
195197
href="https://github.com/cssnr/link-extractor/discussions/categories/feature-requests">Request Feature</a>
196198
<svg><use xlink:href="#bi-dot" /></svg>
197199
<a class="link-body-emphasis text-decoration-none" target="_blank" rel="noopener"
198-
href="https://github.com/cssnr/link-extractor/issues">Open Issue</a>
200+
href="https://github.com/cssnr/link-extractor/issues">Report Issue</a>
199201
</div>
200202
</div> <!-- card-body -->
201203
</div> <!-- card -->

src/js/options.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,14 +483,12 @@ async function copySupport(event) {
483483
const permissions = await chrome.permissions.getAll()
484484
const local = window.localStorage
485485
const result = [
486-
'```',
487486
`${manifest.name} - ${manifest.version}`,
488487
navigator.userAgent,
489488
`permissions.origins: ${JSON.stringify(permissions.origins)}`,
490489
`options: ${JSON.stringify(options)}`,
491490
`links-table: ${local['DataTables_links-table_/html/links.html']}`,
492491
`domains-table: ${local['DataTables_domains-table_/html/links.html']}`,
493-
'```',
494492
]
495493
await navigator.clipboard.writeText(result.join('\n'))
496494
showToast('Support Information Copied.')

tests/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ async function scrollPage() {
103103
await screenshot('popup')
104104

105105
await page.locator('#linksNoWrap').click()
106+
await new Promise((resolve) => setTimeout(resolve, 500))
106107
await screenshot('popup')
107108

108109
// await page.locator('[href="../html/options.html"]').click()

0 commit comments

Comments
 (0)