Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ARCH] Implement VueX State Management #271

Merged
merged 21 commits into from
Oct 10, 2021
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
6a4146e
:building_construction: Ignore 429 status codes in link-checker action
Lissy93 Oct 3, 2021
362db36
➕ Adds VueX
Lissy93 Oct 3, 2021
41682c8
:sparkles: Implementing VueX
Lissy93 Oct 5, 2021
2946412
:construction: WIP, working on VueX store
Lissy93 Oct 5, 2021
c2e70dc
:zap: Adds VueX store into main Vue entry point
Lissy93 Oct 9, 2021
8a8166b
:zap: Implements a very very basic config store
Lissy93 Oct 9, 2021
b55f96c
:zap: Remove all instances of inject, replace with VueX store
Lissy93 Oct 9, 2021
5e6f78e
:fire: Removes provides from App.vue, replaced with Store
Lissy93 Oct 9, 2021
0e5eca1
:fire: Use VueX store instead of props for router
Lissy93 Oct 9, 2021
004bffc
:fire: Remove no longer needed props, replaced with VueX state
Lissy93 Oct 9, 2021
8d111a1
:zap: Adds VueX store state for modal open state
Lissy93 Oct 10, 2021
fddb77d
:fire: Implementation of VueX, delete all emit events
Lissy93 Oct 10, 2021
877cfda
:bookmark: Bymps to V 1.8.6 and updates changelog
Lissy93 Oct 10, 2021
eae8dc4
:fast_forward: Rebased from master
Lissy93 Oct 10, 2021
048f0cb
:adhesive_bandage: Fixes cannot type with modal open
Lissy93 Oct 10, 2021
4e3b413
:zap: Language now managed in VueX store
Lissy93 Oct 10, 2021
b2a26ae
:hammer: Updates list of auto-tags for PR branch names
Lissy93 Oct 10, 2021
af89594
:hammer: Don't add Awaiting Maintainer label for PRs
Lissy93 Oct 10, 2021
54c8805
:green_heart: Fix ordering issue raised by CI
Lissy93 Oct 10, 2021
fed991d
:green_heart: Fix ordering issue raised by CI
Lissy93 Oct 10, 2021
e1b812c
:hammer: Updates config file for PR badges
Lissy93 Oct 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
🔨 Updates config file for PR badges
  • Loading branch information
Lissy93 committed Oct 10, 2021
commit e1b812c8f67535fa5fef93e9e20c661dd5b068ca
69 changes: 61 additions & 8 deletions .github/pr-badge.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Config file for pull-request-badge. See: https://pullrequestbadge.com/
# Enables badges to be inserted into the PR description, based on certain conditions
# Config file for pull-request-badge. See: https://pullrequestbadge.com/ by @stefanbuck
# Dynamically inserts status badges into PR description, based on certain conditions

# Checks if the required sections are missing
- label: "⚠️Missing"
Expand All @@ -23,21 +23,43 @@
color: "#f25265"
when: "$labels.length == 0"

# Show note when in draft mode
# Show note when task list has unfinished items
- label: "⚠️Notice"
message: "Unchecked Tasks"
when: "$payload.pull_request.body.includes('- [ ] ')"
color: "#f25265"

# Show badge indicating PR status
- label: "Status"
message: "Draft"
message: "✏️ Draft"
when: "$isDraft"
color: "#ffa933"
- label: "Status"
message: "🧱 Work in Progress"
when: "$payload.pull_request.title.includes('WIP')"
color: "#29e3f4"
- label: "Status"
message: "✅ Ready"
color: "#3ef963"
when: "$labels.includes('🔀 Ready for Merge')"

# Add size label based on very large or tiny PRs
- label: "PR Size"
message: "Extra Large"
color: "#f9833e"
when: "$additions > 1000"
- label: "PR Size"
message: "Large"
color: "#f79c47"
when: "$additions > 600"
color: "#f4b546"
when: "$additions > 500 && $additions < 1000"
- label: "PR Size"
message: "Medium"
color: "#f3ff59"
when: "$additions > 10 && $additions < 500"
- label: "PR Size"
message: "Quick"
color: "#3eef8b"
when: "$additions < 5"
when: "$additions < 10"

# Show PR number, to destination and from destination
- label: "#$prNumber"
Expand All @@ -57,7 +79,7 @@
when: "$payload.pull_request.author_association !== 'OWNER'"
url: "https://github.com/$payload.pull_request.user.login"

# Show a badge indicating the PR category
# Show a badge indicating the PR category, based on tag
- label: "Type"
message: "✨ Feature"
color: "#39b0fd"
Expand Down Expand Up @@ -90,3 +112,34 @@
message: "🌟 Showcase Addition"
color: "#39b0fd"
when: "$labels.includes('💯 Showcase')"
- label: "Type"
message: "🏗️ Architecture"
color: "#39b0fd"
when: "$labels.includes('🏗️ Architectural Changes')"
- label: "Type"
message: "🤖 Auto Submission"
color: "#39b0fd"
when: "$labels.includes('🤖 Auto')"
- label: "Type"
message: "🌐 Language Update"
color: "#39b0fd"
when: "$labels.includes('🌐 Language')"

# Show warning, when certain tags are applied
- label: "Warning"
message: "⛔ Do Not Merge"
color: "#f25265"
when: "$labels.includes('⛔ Don't Merge')"
- label: "Warning"
message: "🚫 Merge Conflicts"
color: "#f25265"
when: "$labels.includes('🚫 Merge Conflicts')"
- label: "Warning"
message: "🕸️ Inactive"
color: "#f25265"
when: "$labels.includes('🕸️ Inactive')"
- label: "Warning"
message: "💀 Spam"
color: "#f25265"
when: "$labels.includes('💀 Spam')"