Skip to content

Commit 1469e4b

Browse files
authored
🔀 Merge pull request #273 from Lissy93/REFACTOR/new-initial-config
[REFACTOR] Fix Firefox icon, new Glow theme, bug fixes, refactors, and more
2 parents 7f555ee + 41dd3fe commit 1469e4b

38 files changed

+1698
-936
lines changed

.github/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## ⚡️ 1.8.7 - Bug Fixes and Improvements [PR #273](https://github.com/Lissy93/dashy/pull/273)
4+
- Clean URLs without the hash, now using history-mode routing
5+
- New initial main example conf.yml
6+
- Minor UI style updates and fixes
7+
- Support for single section view
8+
- A new theme, soft-glow
9+
- Container security in management docs, and other things
10+
- Bug fixes, including missing Firefox favicon and fix custom icon paths with base_url
11+
312
## ⚡️ 1.8.6 - Implementation of VueX [PR: #271](https://github.com/Lissy93/dashy/pull/271)
413
- New state management pattern, which should lead to a more organized code base long term, and will also make building out the new UI editor significantly easier to do in a clean and reliable way
514

.github/SUPPORT.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
# Support
22

3-
To raise a bug, please **[Open a new Issue](https://github.com/Lissy93/dashy/issues/new/choose)**.
3+
To report a potential vulnerability, follow the steps in **[Security](https://github.com/Lissy93/dashy/blob/master/.github/SECURITY.md#reporting-a-security-issue)**.
44

5-
To report a potential vulnerability, please see **[Security](https://github.com/Lissy93/dashy/blob/master/.github/SECURITY.md#reporting-a-security-issue)**.
5+
For setup and usage guides, see **[dashy.to/docs](https://dashy.to/)** or the **[GitHub](https://github.com/Lissy93/dashy)** repo.
6+
7+
To raise a bug, for something that's not working, **[Open a new Issue](https://github.com/Lissy93/dashy/issues/new/choose)**.
68

79
For help with getting Dashy up and running, please see the **[Discussions](https://github.com/Lissy93/dashy/discussions)**.
810

9-
If you'd like to help support Dashy's future development, see **[Contributing](https://github.com/Lissy93/dashy/blob/master/docs/contributing.md)**.
11+
If you'd like to help support Dashy's future development, see **[Contributing](https://github.com/Lissy93/dashy/blob/master/docs/contributing.md)**.
12+
13+
To get in contact with the author, email me at **`alicia at omg dot lol`** **[[PGP]](https://keybase.io/aliciasykes/pgp_keys.asc?fingerprint=0688f8d34587d954e9e51fb8fedb68f55c0283a7)**.
14+
15+
-Thank you

.github/pr-badge.yml

+123-123
Original file line numberDiff line numberDiff line change
@@ -2,144 +2,144 @@
22
# Dynamically inserts status badges into PR description, based on certain conditions
33

44
# Checks if the required sections are missing
5-
- label: "⚠️Missing"
6-
message: "Category"
7-
color: "#f25265"
8-
when: "$payload.pull_request.body.includes('Category') === false"
9-
- label: "⚠️Missing"
10-
message: "Overview"
11-
color: "#f25265"
12-
when: "$payload.pull_request.body.includes('Overview') === false"
13-
- label: "⚠️Missing"
14-
message: "Quality Checklist"
15-
color: "#f25265"
16-
when: "$payload.pull_request.body.includes('Code Quality Checklist') === false"
17-
- label: "⚠️Description"
18-
message: "Incomplete"
19-
color: "#f25265"
20-
when: "$payload.pull_request.body.length < 25"
21-
- label: "⚠️Missing"
22-
message: "Label"
23-
color: "#f25265"
24-
when: "$labels.length == 0"
5+
- label: ⚠️Missing
6+
message: Category
7+
color: '#f25265'
8+
when: $payload.pull_request.body.includes('Category') === false
9+
- label: ⚠️Missing
10+
message: Overview
11+
color: '#f25265'
12+
when: $payload.pull_request.body.includes('Overview') === false
13+
- label: ⚠️Missing
14+
message: Quality Checklist
15+
color: '#f25265'
16+
when: $payload.pull_request.body.includes('Code Quality Checklist') === false
17+
- label: ⚠️Description
18+
message: Incomplete
19+
color: '#f25265'
20+
when: $payload.pull_request.body.length < 25
21+
- label: ⚠️Missing
22+
message: Label
23+
color: '#f25265'
24+
when: $labels.length == 0
2525

2626
# Show note when task list has unfinished items
27-
- label: "⚠️Notice"
28-
message: "Unchecked Tasks"
29-
when: "$payload.pull_request.body.includes('- [ ] ')"
30-
color: "#f25265"
27+
- label: ⚠️Notice
28+
message: Unchecked Tasks
29+
when: $payload.pull_request.body.includes('- [ ] ')
30+
color: '#f25265'
3131

3232
# Show badge indicating PR status
33-
- label: "Status"
34-
message: "✏️ Draft"
35-
when: "$isDraft"
36-
color: "#ffa933"
37-
- label: "Status"
38-
message: "🧱 Work in Progress"
39-
when: "$payload.pull_request.title.includes('WIP')"
40-
color: "#29e3f4"
41-
- label: "Status"
42-
message: "✅ Ready"
43-
color: "#3ef963"
44-
when: "$labels.includes('🔀 Ready for Merge')"
33+
- label: Status
34+
message: ✏️ Draft
35+
when: $isDraft
36+
color: '#ffa933'
37+
- label: Status
38+
message: 🧱 Work in Progress
39+
when: $payload.pull_request.title.includes('WIP')
40+
color: '#29e3f4'
41+
- label: Status
42+
message: ✅ Ready
43+
color: '#3ef963'
44+
when: $labels.includes('🔀 Ready for Merge')
4545

4646
# Add size label based on very large or tiny PRs
47-
- label: "PR Size"
48-
message: "Extra Large"
49-
color: "#f9833e"
50-
when: "$additions > 1000"
51-
- label: "PR Size"
52-
message: "Large"
53-
color: "#f4b546"
54-
when: "$additions > 500 && $additions < 1000"
55-
- label: "PR Size"
56-
message: "Medium"
57-
color: "#f3ff59"
58-
when: "$additions > 10 && $additions < 500"
59-
- label: "PR Size"
60-
message: "Quick"
61-
color: "#3eef8b"
62-
when: "$additions < 10"
47+
- label: PR Size
48+
message: Extra Large
49+
color: '#f9833e'
50+
when: '$additions > 1000'
51+
- label: PR Size
52+
message: Large
53+
color: '#f4b546'
54+
when: '$additions > 500 && $additions < 1000'
55+
- label: PR Size
56+
message: Medium
57+
color: '#f3ff59'
58+
when: '$additions > 10 && $additions < 500'
59+
- label: PR Size
60+
message: Quick
61+
color: '#3eef8b'
62+
when: '$additions < 10'
6363

6464
# Show PR number, to destination and from destination
65-
- label: "#$prNumber"
66-
message: "$payload.pull_request.user.login /$payload.pull_request.head.ref → $payload.repository.full_name"
67-
color: "#ab5afc"
68-
url: "https://github.com/$slug/tree/$branchName"
65+
- label: '#$prNumber'
66+
message: '$payload.pull_request.user.login /$payload.pull_request.head.ref → $payload.repository.full_name'
67+
color: '#ab5afc'
68+
url: 'https://github.com/$slug/tree/$branchName'
6969

7070
# Show total code added minus deleted
71-
- label: "New Code"
72-
message: "Commits: $payload.pull_request.commits | Files Changed: $payload.pull_request.changed_files | Additions: $payload.pull_request.additions-$payload.pull_request.deletions"
73-
color: "#dddd00"
71+
- label: New Code
72+
message: 'Commits: $payload.pull_request.commits | Files Changed: $payload.pull_request.changed_files | Additions: $payload.pull_request.additions-$payload.pull_request.deletions'
73+
color: '#dddd00'
7474

7575
# Show submitting user's username and profile link
7676
- label: 💕 Submitted by
77-
message: "$payload.pull_request.user.login"
78-
color: "#f73ae6"
79-
when: "$payload.pull_request.author_association !== 'OWNER'"
80-
url: "https://github.com/$payload.pull_request.user.login"
77+
message: $payload.pull_request.user.login
78+
color: '#f73ae6'
79+
when: $payload.pull_request.author_association !== 'OWNER'
80+
url: 'https://github.com/$payload.pull_request.user.login'
8181

8282
# Show a badge indicating the PR category, based on tag
83-
- label: "Type"
84-
message: "✨ Feature"
85-
color: "#39b0fd"
86-
when: "$labels.includes('✨ New Feature')"
87-
- label: "Type"
88-
message: "🐛 Fix"
89-
color: "#39b0fd"
90-
when: "$labels.includes('🦋 Bug Fix')"
91-
- label: "Type"
92-
message: "📕 Docs"
93-
color: "#39b0fd"
94-
when: "$labels.includes('📕 Docs')"
95-
- label: "Type"
96-
message: "🛠️ Build Changes"
97-
color: "#39b0fd"
98-
when: "$labels.includes('🛠️ Build Changes')"
99-
- label: "Type"
100-
message: "🛠️ Build Changes"
101-
color: "#39b0fd"
102-
when: "$labels.includes('🛠️ Build Changes')"
103-
- label: "Type"
104-
message: "🚚 Refactor"
105-
color: "#39b0fd"
106-
when: "$labels.includes('🚚 Refactor')"
107-
- label: "Type"
108-
message: "💄 Stylistic Changes"
109-
color: "#39b0fd"
110-
when: "$labels.includes('💄 Stylistic Changes')"
111-
- label: "Type"
112-
message: "🌟 Showcase Addition"
113-
color: "#39b0fd"
114-
when: "$labels.includes('💯 Showcase')"
115-
- label: "Type"
116-
message: "🏗️ Architecture"
117-
color: "#39b0fd"
118-
when: "$labels.includes('🏗️ Architectural Changes')"
119-
- label: "Type"
120-
message: "🤖 Auto Submission"
121-
color: "#39b0fd"
122-
when: "$labels.includes('🤖 Auto')"
123-
- label: "Type"
124-
message: "🌐 Language Update"
125-
color: "#39b0fd"
126-
when: "$labels.includes('🌐 Language')"
83+
- label: Type
84+
message: ✨ Feature
85+
color: '#39b0fd'
86+
when: $labels.includes('✨ New Feature')
87+
- label: Type
88+
message: 🐛 Fix
89+
color: '#39b0fd'
90+
when: $labels.includes('🦋 Bug Fix')
91+
- label: Type
92+
message: 📕 Docs
93+
color: '#39b0fd'
94+
when: $labels.includes('📕 Docs')
95+
- label: Type
96+
message: 🛠️ Build Changes
97+
color: '#39b0fd'
98+
when: $labels.includes('🛠️ Build Changes')
99+
- label: Type
100+
message: 🛠️ Build Changes
101+
color: '#39b0fd'
102+
when: $labels.includes('🛠️ Build Changes')
103+
- label: Type
104+
message: 🚚 Refactor
105+
color: '#39b0fd'
106+
when: $labels.includes('🚚 Refactor')
107+
- label: Type
108+
message: 💄 Stylistic Changes
109+
color: '#39b0fd'
110+
when: $labels.includes('💄 Stylistic Changes')
111+
- label: Type
112+
message: 🌟 Showcase Addition
113+
color: '#39b0fd'
114+
when: $labels.includes('💯 Showcase')
115+
- label: Type
116+
message: 🏗️ Architecture
117+
color: '#39b0fd'
118+
when: $labels.includes('🏗️ Architectural Changes')
119+
- label: Type
120+
message: 🤖 Auto Submission
121+
color: '#39b0fd'
122+
when: $labels.includes('🤖 Auto')
123+
- label: Type
124+
message: 🌐 Language Update
125+
color: '#39b0fd'
126+
when: $labels.includes('🌐 Language')
127127

128128
# Show warning, when certain tags are applied
129-
- label: "Warning"
130-
message: "⛔ Do Not Merge"
131-
color: "#f25265"
132-
when: "$labels.includes('⛔ Don't Merge')"
133-
- label: "Warning"
134-
message: "🚫 Merge Conflicts"
135-
color: "#f25265"
136-
when: "$labels.includes('🚫 Merge Conflicts')"
137-
- label: "Warning"
138-
message: "🕸️ Inactive"
139-
color: "#f25265"
140-
when: "$labels.includes('🕸️ Inactive')"
141-
- label: "Warning"
142-
message: "💀 Spam"
143-
color: "#f25265"
144-
when: "$labels.includes('💀 Spam')"
129+
- label: Warning
130+
message: ⛔ Do Not Merge
131+
color: '#f25265'
132+
when: $labels.includes("⛔ Don't Merge")
133+
- label: Warning
134+
message: 🚫 Merge Conflicts
135+
color: '#f25265'
136+
when: $labels.includes('🚫 Merge Conflicts')
137+
- label: Warning
138+
message: 🕸️ Inactive
139+
color: '#f25265'
140+
when: $labels.includes('🕸️ Inactive')
141+
- label: Warning
142+
message: 💀 Spam
143+
color: '#f25265'
144+
when: $labels.includes('💀 Spam')
145145

.github/workflows/assign-reviewer.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
assign-author:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Assign author
13-
uses: technote-space/assign-author@v1
14-
GITHUB_TOKEN: ${{secrets.BOT_GITHUB_TOKEN}}
12+
- name: Assign author
13+
uses: technote-space/assign-author@v1
14+
with:
15+
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}

.github/workflows/issue-spam-control.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ on:
66
types: [opened, reopened]
77
jobs:
88
check-user:
9-
if: ${{ ! contains( github.event.issue.labels.*.name, 'keep-open') && github.event.comment.author_association != 'CONTRIBUTOR' }}
9+
if: >
10+
${{
11+
! contains( github.event.issue.labels.*.name, '📌 Keep Open') &&
12+
! contains( github.event.issue.labels.*.name, '🌈 Feedback') &&
13+
github.event.comment.author_association != 'CONTRIBUTOR'
14+
}}
1015
runs-on: ubuntu-latest
1116
name: Close issue opened by non-stargazer
1217
steps:

0 commit comments

Comments
 (0)