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

Add component for tool list with filters #24

Merged
merged 16 commits into from
Jul 24, 2024
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
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
8002
8002, 6006
]
}
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ module.exports = {
'**/node_modules/**',
'**/src/schema/**',
'**/src/mock/**',
'**/*.stories.tsx',
],
rules: {
'react/no-unknown-property': ['error', { ignore: ['css'] }],
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,5 @@ yarn-error.log
.pnp.js
# Yarn Integrity file
.yarn-integrity

*storybook.log
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@
"react-dom": "^18.2.0",
"typescript": "^4.7.2"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"dependencies": {
"gatsby-source-filesystem": "^5.13.1",
"gatsby-transformer-json": "^5.13.1"
}
}
62 changes: 62 additions & 0 deletions sites/devsite/content/data/tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
[
{
"toolId": "toola",
"name": "Tool A",
"description": "This is Tool A",
"url": "https://www.example.com",
"purpose": ["Purpose A"],
"compliance": ["Compliance A"],
"interface": ["Interface A"],
"resolution": ["Resolution A"]
},
{
"toolId": "toolb",
"name": "Tool B",
"description": "This is Tool B",
"url": "https://google.com",
"purpose": ["Purpose A", "Purpose B"],
"compliance": ["Compliance A"],
"interface": ["Interface A", "Interface B"],
"resolution": ["Resolution A", "Resolution B"]
},
{
"toolId": "toolc",
"name": "Tool Catastrophic Calmity Construction Company C Clarification Center",
"description": "This is Tool C",
"url": "https://staging.phlux.riverscapes.net",
"purpose": ["Purpose C"],
"compliance": ["Compliance C"],
"interface": ["Interface C"],
"resolution": ["Resolution C"]
},
{
"toolId": "toold",
"name": "Tool D",
"description": "This is Tool D",
"url": "https://www.example.com",
"purpose": ["Purpose A", "Purpose B", "Purpose D"],
"compliance": ["Compliance A"],
"interface": ["Interface A", "Interface B", "Interface D"],
"resolution": ["Resolution A", "Resolution B", "Resolution D"]
},
{
"toolId": "toole",
"name": "Tool E",
"description": "This is Tool E. Tool E was meant to provide a description that is longer than the others. Much, much longer. It's a good thing that we have a lot of space to work with here. Man, come to think of it, do we even have enough space?\n\nNahhh... I'm sure it's fine. But just in case, maybe I should stop describing TOOL E soon. \n So... Tool E is a tool that helps with E's. It's a great tool. You should use it.",
"url": "https://github.com/Riverscapes",
"purpose": ["Purpose C", "Purpose E"],
"compliance": ["Compliance C"],
"interface": ["Interface C", "Interface E"],
"resolution": ["Resolution C", "Resolution E"]
},
{
"toolId": "toolf",
"name": "Tool F",
"description": "This is Tool F",
"url": "https://www.example.org",
"purpose": ["Purpose B"],
"compliance": ["Compliance B"],
"interface": ["Interface B"],
"resolution": ["Resolution F", "Resolution B"]
}
]
13 changes: 0 additions & 13 deletions sites/devsite/content/page/TESTING_Thing/TESTING2/table2.mdx

This file was deleted.

13 changes: 0 additions & 13 deletions sites/devsite/content/page/TESTING_Thing/table.mdx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
title: SubPage
banner: true
image: ../../../../src/images/card-image.jpg
imageAlt: "Image Alt Sample"
---

Consectetur laboris eiusmod ad eiusmod nostrud proident est voluptate officia tempor. Exercitation eiusmod deserunt occaecat elit. Voluptate sunt sint veniam velit cillum magna occaecat ut cillum eiusmod pariatur ullamco ad. Excepteur culpa veniam duis nostrud Lorem duis aliquip elit adipisicing mollit consequat. Est excepteur amet cupidatat excepteur nostrud. Sunt sunt aliquip excepteur ea consequat.
Expand Down
2 changes: 0 additions & 2 deletions sites/devsite/content/page/contentPages/index.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
title: Content Page
banner: true
description: "Some description text here"
blurb: "Learn about RC Industry Standards that make collaborating, contributing and sharing easier in a F-A-I-R way."
---

## Subheader H2
Expand Down
Loading