Skip to content

Commit 84fea20

Browse files
committed
N/A
1 parent d6b366c commit 84fea20

29 files changed

Lines changed: 4790 additions & 0 deletions

Commit-SHA.gif

237 KB
Loading

discussion-category.gif

359 KB
Loading

file-view-path.gif

115 KB
Loading

folder-view-path.gif

103 KB
Loading

issue-labels.gif

192 KB
Loading

issue-template-filename.gif

283 KB
Loading

src/.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
name: Suggest Link Pattern
2+
description: Suggest a new GitHub URL pattern to include in the app
3+
title: "[Suggestion] "
4+
labels:
5+
- enhancement
6+
- url-pattern
7+
- suggestion
8+
assignees: []
9+
10+
body:
11+
- type: markdown
12+
attributes:
13+
value: |
14+
## Suggest a New GitHub Link Pattern
15+
16+
Use this form to propose a new URL pattern that is not currently included in the app.
17+
18+
- type: input
19+
id: label
20+
attributes:
21+
label: Label / Name
22+
description: What should this link be called in the app?
23+
placeholder: "e.g. Insights → Traffic, Contributors Graph"
24+
validations:
25+
required: true
26+
27+
- type: input
28+
id: url_pattern
29+
attributes:
30+
label: URL pattern
31+
description: Use placeholders like {username} and {repo}
32+
placeholder: "https://github.com/{username}/{repo}/graphs/traffic"
33+
validations:
34+
required: true
35+
36+
- type: textarea
37+
id: example
38+
attributes:
39+
label: Example URL
40+
description: Provide a working example
41+
placeholder: "https://github.com/octocat/Hello-World/graphs/traffic"
42+
validations:
43+
required: true
44+
45+
- type: dropdown
46+
id: category
47+
attributes:
48+
label: Category
49+
description: Where should this link belong?
50+
options:
51+
- Profile
52+
- Repository
53+
- Organization
54+
- Other
55+
validations:
56+
required: true
57+
58+
- type: textarea
59+
id: description
60+
attributes:
61+
label: What does this link do?
62+
description: Explain what this page shows or why it’s useful
63+
placeholder: "Displays traffic analytics including views and clones"
64+
validations:
65+
required: true
66+
67+
- type: textarea
68+
id: use_case
69+
attributes:
70+
label: Use case
71+
description: When would someone use this link?
72+
placeholder: "Useful for analyzing repo popularity and engagement"
73+
validations:
74+
required: true
75+
76+
- type: checkboxes
77+
id: scope
78+
attributes:
79+
label: Applies to
80+
options:
81+
- label: Any public repo
82+
- label: Requires repo ownership or permissions
83+
- label: Only visible when feature is enabled
84+
85+
- type: checkboxes
86+
id: validation
87+
attributes:
88+
label: Validation
89+
description: Confirm before submitting
90+
options:
91+
- label: I tested this URL and it works
92+
required: true
93+
- label: This pattern is not already in the app
94+
required: true
95+
- label: The placeholders are correct ({username}, {repo})
96+
required: true
97+
98+
- type: textarea
99+
id: notes
100+
attributes:
101+
label: Additional notes
102+
description: Optional context, screenshots, or edge cases
103+
placeholder: "Anything else that might help"
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
name: URL Pattern Change
2+
description: Report a change, update, or fix to an existing GitHub URL pattern
3+
title: "[Pattern] "
4+
labels:
5+
- enhancement
6+
- url-pattern
7+
assignees: []
8+
9+
body:
10+
- type: markdown
11+
attributes:
12+
value: |
13+
## URL Pattern Update
14+
15+
Use this form to report:
16+
- A broken or outdated GitHub URL pattern
17+
- A change in GitHub structure
18+
- An improvement to an existing pattern
19+
20+
- type: dropdown
21+
id: change_type
22+
attributes:
23+
label: Type of change
24+
description: What kind of update is this?
25+
options:
26+
- Existing pattern is broken
27+
- Existing pattern has changed
28+
- Improvement / clarification
29+
validations:
30+
required: true
31+
32+
- type: input
33+
id: label
34+
attributes:
35+
label: Label / Name
36+
description: What is the current name of this link in the app?
37+
placeholder: "e.g. Traffic, Pulse, Discussions"
38+
validations:
39+
required: true
40+
41+
- type: input
42+
id: current_pattern
43+
attributes:
44+
label: Current URL pattern
45+
description: The pattern currently used in the app
46+
placeholder: "https://github.com/{username}/{repo}/graphs/traffic"
47+
validations:
48+
required: true
49+
50+
- type: input
51+
id: updated_pattern
52+
attributes:
53+
label: Updated URL pattern
54+
description: The corrected or new version of the pattern
55+
placeholder: "https://github.com/{username}/{repo}/insights/traffic"
56+
validations:
57+
required: true
58+
59+
- type: textarea
60+
id: example
61+
attributes:
62+
label: Example URL
63+
description: Provide a working real-world example
64+
placeholder: "https://github.com/octocat/Hello-World/graphs/traffic"
65+
validations:
66+
required: true
67+
68+
- type: textarea
69+
id: description
70+
attributes:
71+
label: What changed?
72+
description: Explain what is different or broken
73+
placeholder: "GitHub moved this page or changed the route"
74+
validations:
75+
required: true
76+
77+
- type: textarea
78+
id: impact
79+
attributes:
80+
label: Impact
81+
description: What happens if this is not updated?
82+
placeholder: "Users are sent to a 404 page"
83+
validations:
84+
required: true
85+
86+
- type: checkboxes
87+
id: scope
88+
attributes:
89+
label: Scope
90+
description: What does this pattern apply to?
91+
options:
92+
- label: Profile-level URL
93+
- label: Repository-level URL
94+
- label: Organization-level URL
95+
96+
- type: checkboxes
97+
id: validation
98+
attributes:
99+
label: Validation
100+
description: Confirm before submitting
101+
options:
102+
- label: I tested this URL and it works
103+
required: true
104+
- label: This pattern exists in the app
105+
required: true
106+
- label: The placeholders are correct ({username}, {repo})
107+
required: true
108+
109+
- type: textarea
110+
id: notes
111+
attributes:
112+
label: Additional notes
113+
description: Optional context, screenshots, or edge cases
114+
placeholder: "Anything else that might help"

src/.github/workflows/deploy.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: true
16+
17+
jobs:
18+
deploy:
19+
environment:
20+
name: github-pages
21+
url: ${{ steps.deployment.outputs.page_url }}
22+
runs-on: ubuntu-latest
23+
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
28+
- name: Set up Node
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: 20
32+
cache: npm
33+
34+
- name: Install dependencies
35+
run: npm ci
36+
37+
- name: Build
38+
run: npm run build
39+
40+
- name: Setup Pages
41+
uses: actions/configure-pages@v5
42+
43+
- name: Upload artifact
44+
uses: actions/upload-pages-artifact@v3
45+
with:
46+
path: ./dist
47+
48+
- name: Deploy to GitHub Pages
49+
id: deployment
50+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)