Skip to content

Commit

Permalink
Merge branch 'master' into icons
Browse files Browse the repository at this point in the history
  • Loading branch information
akshatnema authored Mar 6, 2024
2 parents 3758e4c + a78d89f commit 46bfdb2
Show file tree
Hide file tree
Showing 10 changed files with 213 additions and 197 deletions.
2 changes: 1 addition & 1 deletion components/navigation/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default function NavBar({

<div className="flex flex-row items-center justify-content">
<SearchButton
className="flex items-center text-left space-x-2 p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out"
className="flex items-center text-left space-x-2 p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out mr-2"
aria-label="Open Search"
>
<IconLoupe />
Expand Down
10 changes: 10 additions & 0 deletions config/MAINTAINERS.json
Original file line number Diff line number Diff line change
Expand Up @@ -709,5 +709,15 @@
"repos": [
"website"
]
},
{
"name": "Viacheslav Turovskyi",
"github": "aeworxet",
"slack": "U01G3U01SVC",
"availableForHire": false,
"isTscMember": false,
"repos": [
"bundler"
]
}
]
7 changes: 7 additions & 0 deletions config/meetings.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,12 @@
"url": "https://github.com/asyncapi/community/issues/1068",
"banner": "https://github.com/asyncapi/community/assets/40604284/70eff71e-5de5-4c99-bc89-86a1b9b81e81",
"date": "2024-03-05T08:00:00.000Z"
},
{
"title": "Essential building blocks for AsyncAPI",
"calLink": "https://www.google.com/calendar/event?eid=dmoyY2ZjNXZ1cDh2cGRiZzFnNG92YzQzZHMgY19xOXRzZWlnbG9tZHNqNm5qdWh2YnB0czExY0Bn",
"url": "https://github.com/asyncapi/community/issues/1084",
"banner": "",
"date": "2024-03-12T20:00:00.000Z"
}
]
12 changes: 6 additions & 6 deletions config/newsroom_videos.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
[
{
"image_url": "https://i.ytimg.com/vi/jO4PwdmKGNw/hqdefault.jpg",
"title": "Community Meeting(5th of March, 2024)",
"description": "https://github.com/asyncapi/community/issues/1068.",
"videoId": "jO4PwdmKGNw"
},
{
"image_url": "https://i.ytimg.com/vi/4t4nAmDekDA/hqdefault.jpg",
"title": "AACoT&#39;24 Community Meeting, Wednesday February 7th 2024",
Expand All @@ -22,11 +28,5 @@
"title": "Overview of AsyncAPI v3",
"description": "Join us for an insightful stream diving deep into the latest advancements of AsyncAPI v3! We'll explore this cutting-edge ...",
"videoId": "prFgD14u7T0"
},
{
"image_url": "https://i.ytimg.com/vi/-OsMet9h_dg/hqdefault.jpg",
"title": "3 Request/Reply Use Cases",
"description": "Explain Request/Reply use cases to me like I'm a 5 year old.",
"videoId": "-OsMet9h_dg"
}
]
52 changes: 26 additions & 26 deletions config/tools-automated.json
Original file line number Diff line number Diff line change
Expand Up @@ -635,19 +635,15 @@
"description": "The following is a list of templates compatible with AsyncAPI Generator. You can use them to generate apps, clients or documentation from your AsyncAPI documents.",
"toolsList": [
{
"title": "Java Spring Template",
"description": "Java Spring template for the AsyncAPI Generator",
"title": "Node.js Multiprotocol Template",
"description": "This template generates a server using your AsyncAPI document. It supports multiple different protocols, like Kafka or MQTT. It is designed in the way that generated code is a library and with it's API you can start the server, send messages or register a middleware for listening incoming messages. Runtime message validation included.",
"links": {
"repoUrl": "https://github.com/asyncapi/java-spring-template"
"repoUrl": "https://github.com/asyncapi/nodejs-template"
},
"filters": {
"language": [
"javascript"
],
"language": "javascript",
"technology": [
"Springboot",
"Maven",
"Gradle"
"Node.js"
],
"categories": [
"generator-template"
Expand All @@ -657,15 +653,15 @@
}
},
{
"title": "HTML Template",
"description": "HTML template for AsyncAPI Generator. Use it to generate a static docs. It is using AsyncAPI React component under the hood.",
"title": "Node.js Websockets Template",
"description": "Node.js WebSockets template for the AsyncAPI Generator. It showcases how from a single AsyncAPI document you can generate a server and a client at the same time.",
"links": {
"repoUrl": "https://github.com/asyncapi/html-template"
"repoUrl": "https://github.com/asyncapi/nodejs-ws-template"
},
"filters": {
"language": "javascript",
"technology": [
"HTML"
"Node.js"
],
"categories": [
"generator-template"
Expand All @@ -675,15 +671,15 @@
}
},
{
"title": "Node.js Multiprotocol Template",
"description": "This template generates a server using your AsyncAPI document. It supports multiple different protocols, like Kafka or MQTT. It is designed in the way that generated code is a library and with it's API you can start the server, send messages or register a middleware for listening incoming messages. Runtime message validation included.",
"title": "HTML Template",
"description": "HTML template for AsyncAPI Generator. Use it to generate a static docs. It is using AsyncAPI React component under the hood.",
"links": {
"repoUrl": "https://github.com/asyncapi/nodejs-template"
"repoUrl": "https://github.com/asyncapi/html-template"
},
"filters": {
"language": "javascript",
"technology": [
"Node.js"
"HTML"
],
"categories": [
"generator-template"
Expand All @@ -693,17 +689,19 @@
}
},
{
"title": "Java Template",
"description": "Java template for the AsyncAPI Generator",
"title": "Java Spring Template",
"description": "Java Spring template for the AsyncAPI Generator",
"links": {
"repoUrl": "https://github.com/asyncapi/java-template"
"repoUrl": "https://github.com/asyncapi/java-spring-template"
},
"filters": {
"language": [
"javascript"
],
"technology": [
"Java"
"Springboot",
"Maven",
"Gradle"
],
"categories": [
"generator-template"
Expand All @@ -713,15 +711,17 @@
}
},
{
"title": "Node.js Websockets Template",
"description": "Node.js WebSockets template for the AsyncAPI Generator. It showcases how from a single AsyncAPI document you can generate a server and a client at the same time.",
"title": "Java Template",
"description": "Java template for the AsyncAPI Generator",
"links": {
"repoUrl": "https://github.com/asyncapi/nodejs-ws-template"
"repoUrl": "https://github.com/asyncapi/java-template"
},
"filters": {
"language": "javascript",
"language": [
"javascript"
],
"technology": [
"Node.js"
"Java"
],
"categories": [
"generator-template"
Expand Down
10 changes: 7 additions & 3 deletions cypress/test/scripts/dashboard/build-dashboard.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ describe('getLabel function', () => {
describe('monthsSince function', () => {
// Define some sample dates and expected results
const today = new Date();
const oneMonthAgo = new Date(today.getFullYear(), today.getMonth() - 1, today.getDate());
const twoMonthsAgo = new Date(today.getFullYear(), today.getMonth() - 2, today.getDate());
const threeMonthsAgo = new Date(today.getFullYear(), today.getMonth() - 3, today.getDate());

// number of miliseconds in a month
const month = 30 * 24 * 60 * 60 * 1000;

const oneMonthAgo = today - month;
const twoMonthsAgo = today - 2 * month;
const threeMonthsAgo = today - 3 * month;

// Write the test cases
it('should return 0 for the same date', () => {
Expand Down
124 changes: 57 additions & 67 deletions dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"resourcePath": "/asyncapi/website/pull/2331",
"repo": "asyncapi/website",
"labels": [],
"score": 27.28158593117958
"score": 27.56876051992884
},
{
"id": "PR_kwDOBW5R_c5fbyLb",
Expand All @@ -31,7 +31,7 @@
"resourcePath": "/asyncapi/community/pull/897",
"repo": "asyncapi/community",
"labels": [],
"score": 20.38939580119737
"score": 21.538094156194408
},
{
"id": "I_kwDOBW5R_c5J6qNe",
Expand All @@ -53,6 +53,26 @@
],
"score": 20.102221212448114
},
{
"id": "I_kwDODou01c5AqLB8",
"isPR": false,
"isAssigned": false,
"title": "\"Open with Studio\" button for Markdown files.",
"author": "smoya",
"resourcePath": "/asyncapi/studio/issues/218",
"repo": "asyncapi/studio",
"labels": [
{
"name": "enhancement",
"color": "a2eeef"
},
{
"name": "keep-open",
"color": "f9dd4b"
}
],
"score": 19.527872034949596
},
{
"id": "I_kwDOFDnrNc51TZDT",
"isPR": false,
Expand Down Expand Up @@ -102,18 +122,23 @@
"color": "84b6eb"
}
],
"score": 16.08177696995849
"score": 16.65612614745701
},
{
"id": "PR_kwDODou01c5Iv4zR",
"isPR": true,
"id": "I_kwDODou01c5E_LV0",
"isPR": false,
"isAssigned": false,
"title": "docs: added table of contents and introduction document for Studio tool",
"author": "Jagrutiti",
"resourcePath": "/asyncapi/studio/pull/553",
"title": "Create onboarding for features of Studio",
"author": "mcturco",
"resourcePath": "/asyncapi/studio/issues/284",
"repo": "asyncapi/studio",
"labels": [],
"score": 14.933078614961456
"labels": [
{
"name": "enhancement",
"color": "a2eeef"
}
],
"score": 16.36895155870775
},
{
"id": "PR_kwDOKp3ICM5g9w8f",
Expand All @@ -124,7 +149,18 @@
"resourcePath": "/asyncapi/learning-paths/pull/9",
"repo": "asyncapi/learning-paths",
"labels": [],
"score": 14.645904026212197
"score": 15.220253203710714
},
{
"id": "PR_kwDODou01c5Iv4zR",
"isPR": true,
"isAssigned": false,
"title": "docs: added table of contents and introduction document for Studio tool",
"author": "Jagrutiti",
"resourcePath": "/asyncapi/studio/pull/553",
"repo": "asyncapi/studio",
"labels": [],
"score": 14.933078614961456
},
{
"id": "I_kwDODou01c5BZZv-",
Expand All @@ -144,49 +180,22 @@
"color": "f9dd4b"
}
],
"score": 13.78438025996442
},
{
"id": "PR_kwDODou01c5YJ7kV",
"isPR": true,
"isAssigned": false,
"title": "Add Form component",
"author": "KhudaDad414",
"resourcePath": "/asyncapi/studio/pull/773",
"repo": "asyncapi/studio",
"labels": [
{
"name": "autoupdate",
"color": "ededed"
}
],
"score": 13.78438025996442
},
{
"id": "I_kwDOFLhIt85bebeO",
"isPR": false,
"isAssigned": false,
"title": "Meeting Banners Storage",
"author": "AceTheCreator",
"resourcePath": "/asyncapi/community/issues/568",
"repo": "asyncapi/community",
"labels": [],
"score": 12.635681904967385
"score": 14.645904026212197
}
],
"goodFirstIssues": [
{
"id": "I_kwDODyzcIc6AItqs",
"title": "bug fix in bug template 😃 ",
"isAssigned": false,
"resourcePath": "/asyncapi/.github/issues/271",
"repo": "asyncapi/.github",
"author": "derberg",
"id": "I_kwDODou01c6Aib3a",
"title": "Disable the generators that are not yet supported in V3",
"isAssigned": true,
"resourcePath": "/asyncapi/studio/issues/979",
"repo": "asyncapi/studio",
"author": "Amzani",
"area": "Unknown",
"labels": [
{
"name": "bug",
"color": "d73a4a"
"name": "enhancement",
"color": "a2eeef"
}
]
},
Expand Down Expand Up @@ -224,25 +233,6 @@
}
]
},
{
"id": "I_kwDOE8Qh3858hQCM",
"title": "Add OpenAPI 3.1 support",
"isAssigned": false,
"resourcePath": "/asyncapi/modelina/issues/1749",
"repo": "asyncapi/modelina",
"author": "jonaslagoni",
"area": "typescript",
"labels": [
{
"name": "enhancement",
"color": "a2eeef"
},
{
"name": "openapi",
"color": "960C58"
}
]
},
{
"id": "I_kwDOCVQpZM58chHc",
"title": "Workflows failing because of some leftovers scripts",
Expand Down Expand Up @@ -461,7 +451,7 @@
{
"id": "I_kwDODou01c531nlO",
"title": "Misalignment of Code Editor Highlight Box",
"isAssigned": false,
"isAssigned": true,
"resourcePath": "/asyncapi/studio/issues/861",
"repo": "asyncapi/studio",
"author": "princerajpoot20",
Expand Down
Loading

0 comments on commit 46bfdb2

Please sign in to comment.