https://github.com/crowdstrike/foundry-js-blueprint-react
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.3%) to scientific vocabulary
Keywords from Contributors
Repository
Basic Info
- Host: GitHub
- Owner: CrowdStrike
- License: mit
- Language: JavaScript
- Default Branch: main
- Size: 613 KB
Statistics
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
foundry-js-blueprint-react
React blueprint for Foundry UI application development.
Getting started
npm installnpm run watch
npm run watch will start Rollup in watch mode and your application's output will be under /src/dist. The contents of src/dist is what will be rendered by Foundry.
UI development
Included in this blueprint are some common css and React components you can use in your app. They're already styled to be consistent with the rest of Falcon Console and handle light and dark mode for you.
Shoelace is already installed and we've also included shoelace specific Falcon css to make the components provided by Shoelace look consistent with the rest of Falcon.
Tailwind Toucan Base is a tailwindcss theme that gives you utility classes you can use in html or React components. You have the full power of tailwind in this boilerplate. The Falcon specific colors are a great place to start in Tailwind Toucan Base.
Routing
This blueprint provides a Link component to help with routing in your Extension or Page and within Falcon Console.
The <Link> component accepts two props:
to- the path to navigate touseFalconNavigation- a boolean value indicating whether or not a link click will update the Falcon Console url. Defaults tofalse
Setting useFalconNavigation to true will send the user to a new location within Falcon Console (this changes the Falcon Console url in the user's browser)
By default useFalconNavigation is set to false and React Router (included in this blueprint) will handle user navigation and UI changes within your app.
Usage of the <Link> component can be seen in the home and navigation components.
```js import { Link } from '../components/link';
// navigates to https://falcon.crowdstrike.com/crowdscore Crowdscore
// navigates to an /about route within your Extension or Page Crowdscore ```
Building your app
Before deploying your Foundry app, you must do a final build of your UI extension so the app has access to the latest files in /src/dist. Run the following build command when you're ready to deploy:
npm run build
App manifest updates
Add entries to your manifest's ignored field
When deploying your app, the dist directory is required and everything else can be ignored.
Below are some starter regex patterns you can add to your app's manifest.yml file.
yaml
ignored:
- ui/(extensions|pages)/[^\/]*?/public
- ui/(extensions|pages)/[^\/]*?/index.html
- ui/(extensions|pages)/[^\/]*?/favicon.ico
- ui/(extensions|pages)/.*?/node_modules
- ui/(extensions|pages)/.*?/config
- ui/(extensions|pages)/.*?/\.gitignore
- ui/(extensions|pages)/.*?/package\.json
- ui/(extensions|pages)/.*?/tsconfig\.json
- ui/(extensions|pages)/.*?/tsconfig\..*\.json
- ui/(extensions|pages)/.*?/.*?\.(md|log|lock|cjs)
Here's an example of how to set your manifest's ignored field.
Update your app's path and entrypoint
When using this React template, you must add /dist to the app path and entrypoint in the manifest file.
In the manifest.yml file, make the following changes ({extensionName} should be the name of your extension):
- Set
pathto this:ui/extensions/{extensionName}/src/dist - Set
entrypointto this:ui/extensions/{extensionName}/src/dist/index.html
Here's an example of how to set your manifest's path and entrypoint fields.
Owner
- Name: CrowdStrike
- Login: CrowdStrike
- Kind: organization
- Email: github@crowdstrike.com
- Location: United States of America
- Website: https://www.crowdstrike.com
- Repositories: 183
- Profile: https://github.com/CrowdStrike
GitHub Events
Total
- Issues event: 3
- Delete event: 79
- Member event: 1
- Issue comment event: 42
- Push event: 86
- Pull request review comment event: 8
- Pull request review event: 73
- Pull request event: 169
- Fork event: 2
- Create event: 72
Last Year
- Issues event: 3
- Delete event: 79
- Member event: 1
- Issue comment event: 42
- Push event: 86
- Pull request review comment event: 8
- Pull request review event: 73
- Pull request event: 169
- Fork event: 2
- Create event: 72
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| dependabot[bot] | 4****] | 39 |
| Matt Raible | m****e@c****m | 11 |
| Ryan Hinchey | r****y@c****m | 6 |
| Ruslan Zavacky | r****y@c****m | 3 |
| Ade Adesokan | a****n@c****m | 2 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 4
- Total pull requests: 175
- Average time to close issues: about 1 month
- Average time to close pull requests: 9 days
- Total issue authors: 2
- Total pull request authors: 5
- Average comments per issue: 0.75
- Average comments per pull request: 0.41
- Merged pull requests: 96
- Bot issues: 2
- Bot pull requests: 149
Past Year
- Issues: 4
- Pull requests: 173
- Average time to close issues: about 1 month
- Average time to close pull requests: 9 days
- Issue authors: 2
- Pull request authors: 5
- Average comments per issue: 0.75
- Average comments per pull request: 0.41
- Merged pull requests: 94
- Bot issues: 2
- Bot pull requests: 149
Top Authors
Issue Authors
- dependabot[bot] (2)
- mraible (2)
Pull Request Authors
- dependabot[bot] (149)
- mraible (16)
- cs-ade-adesokan (5)
- rhinchey-cs (4)
- rlucha-crowdstrike (1)