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

143 GitHub integration amendments #144

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
c53561d
chore: Lint docs
carina-akaia May 2, 2023
1cd1659
Update package-lock
carina-akaia May 3, 2023
972e967
Update scripts
carina-akaia May 4, 2023
8e3c375
chore: Update spell checking dictionary
carina-akaia May 5, 2023
119c592
wip: Create community GitHub activity tab
carina-akaia May 5, 2023
8f7fd50
wip: Update GH integration draft
carina-akaia May 6, 2023
b75c63e
wip: Update GitHub activity page
carina-akaia May 6, 2023
06eb984
wip: Create GitHub board component
carina-akaia May 6, 2023
b9b5206
wip: Update components
carina-akaia May 6, 2023
543d8be
wip: Update GitHub activity page & Format `common`
carina-akaia May 8, 2023
cc088dd
wip: Update GitHub activity page
carina-akaia May 8, 2023
04c9d5c
chore: Inspect the whole `response`
carina-akaia May 8, 2023
327a589
wip: Update Git Board components
carina-akaia May 8, 2023
d1525ae
wip: Create GitHub ticket card component
carina-akaia May 9, 2023
42b4b27
wip: Update GitHub integration components
carina-akaia May 10, 2023
fcd04ce
wip: Rename bos-loader script
carina-akaia May 10, 2023
b5cd806
chore: Update package-lock
carina-akaia May 12, 2023
0b82a8e
wip: Update GitHub integration components & Fix errors
carina-akaia May 12, 2023
301efc5
wip: Fix errors in GH repo ticket card
carina-akaia May 12, 2023
1822c68
wip: Enable active page indicator for GH activity page
carina-akaia May 12, 2023
d360367
wip: Update GH integration UI
carina-akaia May 13, 2023
f87451b
wip: Update GH integration UI
carina-akaia May 13, 2023
bf93b49
chore: Use JSON strings for log
carina-akaia May 15, 2023
1c847b5
Merge branch 'main' of https://github.com/near/neardevhub-widgets int…
carina-akaia May 15, 2023
6f3d367
Merge branch 'main' of https://github.com/near/neardevhub-widgets int…
carina-akaia May 15, 2023
7ddd62c
fix: Handle nullable props in a simpler way
carina-akaia May 15, 2023
1e0c2f1
fix: Resolve https://github.com/near/neardevhub-widgets/pull/123#disc…
carina-akaia May 17, 2023
c1373d4
wip: Add global editor toggle & Update styles
carina-akaia May 20, 2023
7f0c65e
wip: Update GH integration components
carina-akaia May 20, 2023
f19e6a0
fix: Use correct reference path
carina-akaia May 20, 2023
1639805
fix: Update state correctly
carina-akaia May 20, 2023
9fc5b86
wip: Add WIP label to the global editor toggle
carina-akaia May 20, 2023
0c48b06
fix: Broken column title update
carina-akaia May 20, 2023
5255609
wip: Use only 1 column in GH board config mock
carina-akaia May 20, 2023
9552248
chore: Remove TODO
carina-akaia May 20, 2023
85f8812
wip: Update page name & Remove redundant code
carina-akaia May 20, 2023
6e575cf
chore: Ger rid of clunky names
carina-akaia May 20, 2023
a8291ea
wip: Create generic form handler & shared toggle GUI
carina-akaia May 20, 2023
383dde7
wip: Update mocks & GUI
carina-akaia May 20, 2023
c0eef3b
Merge branch 'main' of https://github.com/near/neardevhub-widgets int…
carina-akaia May 20, 2023
f71e308
fix: Add gap between columns
carina-akaia May 20, 2023
43fbbf0
fix: Broken horizontal scroll
carina-akaia May 20, 2023
9cbab2f
chore: Change new column default title
carina-akaia May 20, 2023
4428b76
fix: Don't use empty search terms
carina-akaia May 20, 2023
7469f50
wip: Improve responsiveness
carina-akaia May 20, 2023
6f2c890
wip: Improve responsiveness
carina-akaia May 20, 2023
39eaaea
chore: Format
carina-akaia May 20, 2023
740d5b5
wip: Split shared code & Update form lib
carina-akaia May 23, 2023
2ab4a7f
chore: Remove irrelevant changes
carina-akaia May 23, 2023
43dfeaf
wip: Use indexed columns & update GUI
carina-akaia May 23, 2023
1244d9a
wip: Update board config GUI
carina-akaia May 23, 2023
9a81ee1
wip: Support most use cases with useForm
carina-akaia May 24, 2023
1348a4a
wip: Reduce functionalities for MVP
carina-akaia May 24, 2023
c7b2205
wip: Lock pull requests enabled
carina-akaia May 25, 2023
6c45a92
wip: Hide the global editor toggle
carina-akaia May 26, 2023
9063a1e
wip: Extract the feature into separate module
carina-akaia May 26, 2023
45c6aa0
wip: Pre-MVP
carina-akaia May 26, 2023
0a5fe68
fix: Include column id into column data
carina-akaia May 26, 2023
b458fa2
wip: Replace OR labels search rule with AND
carina-akaia May 26, 2023
c33ba66
fix: Use full page URL
carina-akaia May 26, 2023
37632d9
feat: Make columns deletable
carina-akaia May 29, 2023
d3728c8
Reset irrelevant changes
carina-akaia May 29, 2023
d26992b
Reset irrelevant changes
carina-akaia May 29, 2023
594d971
Get ready to MVP release
carina-akaia May 29, 2023
a16717c
chore: Use shorter task name
carina-akaia May 31, 2023
e116795
Merge branch 'main' of https://github.com/near/neardevhub-widgets int…
carina-akaia May 31, 2023
b559341
Apply code review remarks
carina-akaia Jun 1, 2023
ec7b44f
chore: Clarify naming
carina-akaia Jun 1, 2023
81fcea0
feat: Update communities data mock
carina-akaia Jun 2, 2023
fffdee7
feat: Use ticket display mode parameter
carina-akaia Jun 2, 2023
b6f8056
feat: Add ticket state filter
carina-akaia Jun 2, 2023
ba2983d
feat: Render ticket states
carina-akaia Jun 2, 2023
52ac308
Disable board config editor until #80 release
carina-akaia Jun 2, 2023
e56fce0
Merge branch 'main' of https://github.com/near/neardevhub-widgets int…
carina-akaia Jun 2, 2023
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
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