Skip to content

Commit

Permalink
143 GitHub integration amendments (#144)
Browse files Browse the repository at this point in the history
* chore: Lint docs

* Update package-lock

* Update scripts

* chore: Update spell checking dictionary

* wip: Create community GitHub activity tab

* wip: Update GH integration draft

* wip: Update GitHub activity page

* wip: Create GitHub board component

* wip: Update components

* wip: Update GitHub activity page & Format `common`

* wip: Update GitHub activity page

* chore: Inspect the whole `response`

* wip: Update Git Board components

* wip: Create GitHub ticket card component
& Combine GitHub integration components into single entity

* wip: Update GitHub integration components

* wip: Rename bos-loader script

* chore: Update package-lock

* wip: Update GitHub integration components & Fix errors

* wip: Fix errors in GH repo ticket card

* wip: Enable active page indicator for GH activity page

* wip: Update GH integration UI
& Create common components

* wip: Update GH integration UI
& Make board config fetch function shared

* chore: Use JSON strings for log

* fix: Handle nullable props in a simpler way

* fix: Resolve #123 (comment)

* wip: Add global editor toggle & Update styles

* wip: Update GH integration components

* fix: Use correct reference path

* fix: Update state correctly

* wip: Add WIP label to the global editor toggle

* fix: Broken column title update

* wip: Use only 1 column in GH board config mock

* chore: Remove TODO

* wip: Update page name & Remove redundant code

* chore: Ger rid of clunky names

* wip: Create generic form handler & shared toggle GUI

* wip: Update mocks & GUI
& Fix errors

* fix: Add gap between columns

* fix: Broken horizontal scroll

* chore: Change new column default title

* fix: Don't use empty search terms

* wip: Improve responsiveness

* wip: Improve responsiveness

* chore: Format

* wip: Split shared code & Update form lib

* chore: Remove irrelevant changes

* wip: Use indexed columns & update GUI

* wip: Update board config GUI

* wip: Support most use cases with useForm

* wip: Reduce functionalities for MVP

* wip: Lock pull requests enabled

* wip: Hide the global editor toggle

* wip: Extract the feature into separate module
& Update GUI
& Update communities mock
& Move communities mock to the appropriate module

* wip: Pre-MVP

* fix: Include column id into column data

* wip: Replace OR labels search rule with AND

* fix: Use full page URL

* feat: Make columns deletable

* Reset irrelevant changes

* Reset irrelevant changes

* Get ready to MVP release

* chore: Use shorter task name

* Apply code review remarks

* chore: Clarify naming

* feat: Update communities data mock

* feat: Use ticket display mode parameter

* feat: Add ticket state filter

* feat: Render ticket states

* Disable board config editor until #80 release
  • Loading branch information
carina-akaia authored Jun 6, 2023
1 parent 0c2aebc commit 6b2e4fe
Show file tree
Hide file tree
Showing 12 changed files with 1,965 additions and 167 deletions.
231 changes: 213 additions & 18 deletions shared/mocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,72 @@ const communities = {

integrations: {
github: {
kanban: {
boards: {
"18855b9c9f2-216091d-6484800b-42593f54-6102b48a": {
id: "18855b9c9f2-216091d-6484800b-42593f54-6102b48a",

columns: {
"18855f4a93e-76a9b704-14c3ebdb-1e6c0f05-22653630": {
id: "18855f4a93e-76a9b704-14c3ebdb-1e6c0f05-22653630",
description: "Lorem ipsum",
labelSearchTerms: ["S-draft"],
title: "Draft",
},
},

dataTypesIncluded: { Issue: false, PullRequest: true },
description: "Latest NEAR Enhancement Proposals by status",
repoURL: "https://github.com/near/NEPs",
title: "NEAR Protocol NEPs",
boards: {
"18855b9c9f2-216091d-6484800b-42593f54-6102b48a": {
id: "18855b9c9f2-216091d-6484800b-42593f54-6102b48a",

columns: {
"18855f4a93e-76a9b704-14c3ebdb-1e6c0f05-22653630": {
id: "18855f4a93e-76a9b704-14c3ebdb-1e6c0f05-22653630",

description:
"NEPs that need a moderator review or author revision.",

labelSearchTerms: ["WG-protocol", "S-draft"],
title: "📄 Draft",
},

"18877dc932c-c309c28--4b95e909--220e9bbb--51ff54c9": {
description:
"NEPS that need a review by Subject Matter Experts.",

labelSearchTerms: ["WG-protocol", "S-review"],
title: "👀 Review",
id: "18877dc932c-c309c28--4b95e909--220e9bbb--51ff54c9",
},

"18877dd71e5-47d177b8-5505178-640a5937--17968e87": {
description:
"NEPS in the final review stage that need the work group voting indications.",

labelSearchTerms: ["WG-protocol", "S-voting"],
title: "✔ Voting",
id: "18877dd71e5-47d177b8-5505178-640a5937--17968e87",
},

"18877e14753--5b0ca250-1edea464-523fd579--5ebde527": {
description:
"NEPS that were reviewed and approved by a work group.",

labelSearchTerms: ["WG-protocol", "S-approved"],
title: "✅ Approved NEPs",
id: "18877e14753--5b0ca250-1edea464-523fd579--5ebde527",
},

"18877e2f94c-4cc0ff57--1fb016c6--39ce0459-23922e81": {
description:
"NEPS that were reviewed and approved by a work group or NEP moderators.",

labelSearchTerms: ["WG-protocol", "A-NEP-GrammarFix"],
title: "🔧 Approved Fixes",
id: "18877e2f94c-4cc0ff57--1fb016c6--39ce0459-23922e81",
},

"18877e40c46--76d23f4d-578f24a8--2cfcd190--74aa77be": {
description:
"NEPs that were retracted by the author or had no activity for over two months.",

labelSearchTerms: ["WG-protocol", "S-retracted"],
title: "❌ RETRACTED",
id: "18877e40c46--76d23f4d-578f24a8--2cfcd190--74aa77be",
},
},

dataTypesIncluded: { Issue: false, PullRequest: true },
description: "Latest NEAR Enhancement Proposals by status",
repoURL: "https://github.com/near/NEPs",
ticketState: "all",
title: "NEAR Protocol NEPs",
},
},
},
Expand All @@ -65,6 +112,80 @@ const communities = {

title: "Tooling",
desc: "Supporting the ongoing innovation of tooling.",

integrations: {
github: {
boards: {
"18855b9c9f2-216091d-6484800b-42593f54-6102b48a": {
id: "18855b9c9f2-216091d-6484800b-42593f54-6102b48a",

columns: {
"18855f4a93e-76a9b704-14c3ebdb-1e6c0f05-22653630": {
id: "18855f4a93e-76a9b704-14c3ebdb-1e6c0f05-22653630",

description:
"NEPs that need a moderator review or author revision.",

labelSearchTerms: ["WG-tools", "S-draft"],
title: "📄 Draft",
},

"18877dc932c-c309c28--4b95e909--220e9bbb--51ff54c9": {
description:
"NEPS that need a review by Subject Matter Experts.",

labelSearchTerms: ["WG-tools", "S-review"],
title: "👀 Review",
id: "18877dc932c-c309c28--4b95e909--220e9bbb--51ff54c9",
},

"18877dd71e5-47d177b8-5505178-640a5937--17968e87": {
description:
"NEPS in the final review stage that need the work group voting indications.",

labelSearchTerms: ["WG-tools", "S-voting"],
title: "✔ Voting",
id: "18877dd71e5-47d177b8-5505178-640a5937--17968e87",
},

"18877e14753--5b0ca250-1edea464-523fd579--5ebde527": {
description:
"NEPS that were reviewed and approved by a work group.",

labelSearchTerms: ["WG-tools", "S-approved"],
title: "✅ Approved NEPs",
id: "18877e14753--5b0ca250-1edea464-523fd579--5ebde527",
},

"18877e2f94c-4cc0ff57--1fb016c6--39ce0459-23922e81": {
description:
"NEPS that were reviewed and approved by a work group or NEP moderators.",

labelSearchTerms: ["WG-tools", "A-NEP-GrammarFix"],
title: "🔧 Approved Fixes",
id: "18877e2f94c-4cc0ff57--1fb016c6--39ce0459-23922e81",
},

"18877e40c46--76d23f4d-578f24a8--2cfcd190--74aa77be": {
description:
"NEPs that were retracted by the author or had no activity for over two months.",

labelSearchTerms: ["WG-tools", "S-retracted"],
title: "❌ RETRACTED",
id: "18877e40c46--76d23f4d-578f24a8--2cfcd190--74aa77be",
},
},

dataTypesIncluded: { Issue: false, PullRequest: true },
description: "Latest NEAR Enhancement Proposals by status",
repoURL: "https://github.com/near/NEPs",
ticketState: "all",
title: "NEAR Tooling NEPs",
},
},
},
},

telegram: "NEAR_Tools_Community_Group",
},

Expand All @@ -79,6 +200,80 @@ const communities = {

title: "Contract Standards",
desc: "Coordinating the contribution to the NEAR dapp standards.",

integrations: {
github: {
boards: {
"18855b9c9f2-216091d-6484800b-42593f54-6102b48a": {
id: "18855b9c9f2-216091d-6484800b-42593f54-6102b48a",

columns: {
"18855f4a93e-76a9b704-14c3ebdb-1e6c0f05-22653630": {
id: "18855f4a93e-76a9b704-14c3ebdb-1e6c0f05-22653630",

description:
"NEPs that need a moderator review or author revision.",

labelSearchTerms: ["WG-contract-standards", "S-draft"],
title: "📄 Draft",
},

"18877dc932c-c309c28--4b95e909--220e9bbb--51ff54c9": {
description:
"NEPS that need a review by Subject Matter Experts.",

labelSearchTerms: ["WG-contract-standards", "S-review"],
title: "👀 Review",
id: "18877dc932c-c309c28--4b95e909--220e9bbb--51ff54c9",
},

"18877dd71e5-47d177b8-5505178-640a5937--17968e87": {
description:
"NEPS in the final review stage that need the work group voting indications.",

labelSearchTerms: ["WG-contract-standards", "S-voting"],
title: "✔ Voting",
id: "18877dd71e5-47d177b8-5505178-640a5937--17968e87",
},

"18877e14753--5b0ca250-1edea464-523fd579--5ebde527": {
description:
"NEPS that were reviewed and approved by a work group.",

labelSearchTerms: ["WG-contract-standards", "S-approved"],
title: "✅ Approved NEPs",
id: "18877e14753--5b0ca250-1edea464-523fd579--5ebde527",
},

"18877e2f94c-4cc0ff57--1fb016c6--39ce0459-23922e81": {
description:
"NEPS that were reviewed and approved by a work group or NEP moderators.",

labelSearchTerms: ["WG-contract-standards", "A-NEP-GrammarFix"],
title: "🔧 Approved Fixes",
id: "18877e2f94c-4cc0ff57--1fb016c6--39ce0459-23922e81",
},

"18877e40c46--76d23f4d-578f24a8--2cfcd190--74aa77be": {
description:
"NEPs that were retracted by the author or had no activity for over two months.",

labelSearchTerms: ["WG-contract-standards", "S-retracted"],
title: "❌ RETRACTED",
id: "18877e40c46--76d23f4d-578f24a8--2cfcd190--74aa77be",
},
},

dataTypesIncluded: { Issue: false, PullRequest: true },
description: "Latest NEAR Enhancement Proposals by status",
repoURL: "https://github.com/near/NEPs",
ticketState: "all",
title: "NEAR Contract Standards NEPs",
},
},
},
},

telegram: "nearnft",
},
};
Loading

0 comments on commit 6b2e4fe

Please sign in to comment.