Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions config/all-tags.json
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@
"borderColor": "border-[#40ccf7]"
},
{
"name": "TypeScript",
"name": "FastAPI",
"color": "bg-[#61d0f2]",
"borderColor": "border-[#40ccf7]"
},
{
"name": "FastAPI",
"name": "TypeScript",
"color": "bg-[#61d0f2]",
"borderColor": "border-[#40ccf7]"
},
Expand Down Expand Up @@ -278,12 +278,12 @@
"borderColor": "border-[#40ccf7]"
},
{
"name": "AsyncAPI CLI",
"name": "AsyncAPI Generator",
"color": "bg-[#61d0f2]",
"borderColor": "border-[#40ccf7]"
},
{
"name": "AsyncAPI Generator",
"name": "AsyncAPI CLI",
"color": "bg-[#61d0f2]",
"borderColor": "border-[#40ccf7]"
Comment on lines +281 to 288
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check which tools reference AsyncAPI Generator and AsyncAPI CLI
echo "=== Tools using 'AsyncAPI Generator' technology tag ==="
jq -r '.tools[] | select(.technology[]? | select(. == "AsyncAPI Generator")) | .title' config/tools.json config/tools-automated.json 2>/dev/null | sort -u

echo -e "\n=== Tools using 'AsyncAPI CLI' technology tag ==="
jq -r '.tools[] | select(.technology[]? | select(. == "AsyncAPI CLI")) | .title' config/tools.json config/tools-automated.json 2>/dev/null | sort -u

# Also check all-tags.json to see the tag definitions
echo -e "\n=== Tag definitions in all-tags.json ==="
jq '.[] | select(.name == "AsyncAPI Generator" or .name == "AsyncAPI CLI") | {name, color, borderColor}' config/all-tags.json

Repository: asyncapi/website

Length of output: 304


🏁 Script executed:

#!/bin/bash
# Check structure of all-tags.json
echo "=== First 30 lines of all-tags.json ==="
head -30 config/all-tags.json

echo -e "\n=== Check if it's an array or object ==="
jq 'type' config/all-tags.json

echo -e "\n=== First tool entry in tools.json ==="
jq '.tools[0]' config/tools.json 2>/dev/null | head -40

echo -e "\n=== Verify tools.json exists and is readable ==="
wc -l config/tools.json config/tools-automated.json 2>/dev/null

Repository: asyncapi/website

Length of output: 936


🏁 Script executed:

#!/bin/bash
# Check the structure and find AsyncAPI tags
echo "=== Technologies section of all-tags.json (showing AsyncAPI entries) ==="
jq '.technologies[] | select(.name | contains("AsyncAPI")) | {name, color, borderColor}' config/all-tags.json

echo -e "\n=== Root keys in tools.json ==="
jq 'keys' config/tools.json | head -50

echo -e "\n=== Check for AsyncAPI references in tools.json ==="
jq '.[] | select(.technologies[]? | select(. | contains("AsyncAPI"))) | .title' config/tools.json 2>/dev/null | head -20

echo -e "\n=== Root structure of tools-automated.json ==="
jq 'type' config/tools-automated.json
jq 'keys | length' config/tools-automated.json

Repository: asyncapi/website

Length of output: 816


🏁 Script executed:

#!/bin/bash
# Search through all categories in tools.json for AsyncAPI references
echo "=== Tools with AsyncAPI technologies in tools.json ==="
jq -r '
  to_entries[] |
  .value[] |
  select(.technologies[]? != null) |
  select(.technologies | map(select(. | contains("AsyncAPI"))) | length > 0) |
  "\(.title) - Technologies: \(.technologies | @json)"
' config/tools.json | head -50

echo -e "\n=== Tools with AsyncAPI technologies in tools-automated.json ==="
jq -r '
  .[] |
  select(.technologies[]? != null) |
  select(.technologies | map(select(. | contains("AsyncAPI"))) | length > 0) |
  "\(.title) - Technologies: \(.technologies | @json)"
' config/tools-automated.json | head -50

# Also look at the AsyncAPI Generator Templates category specifically
echo -e "\n=== AsyncAPI Generator Templates category ==="
jq '.["AsyncAPI Generator Templates"][] | .title' config/tools.json

Repository: asyncapi/website

Length of output: 409


🏁 Script executed:

#!/bin/bash
# Let's examine the actual structure more carefully
echo "=== Examining tools.json structure around CLIs section ==="
jq '.CLIs | type' config/tools.json
jq '.CLIs | length' config/tools.json

echo -e "\n=== First few CLI entries ==="
jq '.CLIs[0:2]' config/tools.json

echo -e "\n=== Search for AsyncAPI in tools.json using rg ==="
rg -A5 -B5 "AsyncAPI (CLI|Generator)" config/tools.json | head -100

echo -e "\n=== Check tools-automated.json keys ==="
jq 'keys' config/tools-automated.json

Repository: asyncapi/website

Length of output: 4255


🏁 Script executed:

#!/bin/bash
# Check lines 281-288 in all-tags.json
echo "=== Lines 280-295 of all-tags.json ==="
sed -n '280,295p' config/all-tags.json

echo -e "\n=== Find all AsyncAPI entries in all-tags.json ==="
rg -n "AsyncAPI" config/all-tags.json

echo -e "\n=== Check the unique colors used for AsyncAPI tags ==="
jq '.technologies[] | select(.name | contains("AsyncAPI")) | {name, color, borderColor}' config/all-tags.json | sort | uniq -c

Repository: asyncapi/website

Length of output: 805


Color styling conflict for distinct AsyncAPI tools.

Lines 281-283 (AsyncAPI Generator) and 286-288 (AsyncAPI CLI) both use identical color values (bg-[#61d0f2] and border-[#40ccf7]). These are distinct tools with different purposes and should have distinct visual styling to avoid UI confusion when filtering by technology.

🤖 Prompt for AI Agents
config/all-tags.json lines 281-288: both "AsyncAPI Generator" (281-283) and
"AsyncAPI CLI" (286-288) use identical color values causing visual confusion;
update the "AsyncAPI CLI" entry to use a distinct background and borderColor
(for example change bg-[#61d0f2] to a different hex like bg-[#9be3ff] and
border-[#40ccf7] to border-[#66dfff] or choose another accessible color pair),
ensure the new colors maintain sufficient contrast and fit the existing palette,
and run a quick UI check to confirm the two AsyncAPI items are visually
distinguishable.

},
Expand Down
Loading