{"id":24780756,"url":"https://github.com/christiaanwesterbeek/ra-extensions","last_synced_at":"2025-10-24T11:35:13.964Z","repository":{"id":35900905,"uuid":"219209919","full_name":"christiaanwesterbeek/ra-extensions","owner":"christiaanwesterbeek","description":"Community powered extensions for the frontend framework of react-admin 💪","archived":false,"fork":false,"pushed_at":"2022-02-12T17:06:38.000Z","size":211,"stargazers_count":4,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-05T01:52:04.100Z","etag":null,"topics":["extensions","react-admin","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/christiaanwesterbeek.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-02T20:27:52.000Z","updated_at":"2025-05-29T12:55:29.000Z","dependencies_parsed_at":"2022-08-08T12:16:13.394Z","dependency_job_id":null,"html_url":"https://github.com/christiaanwesterbeek/ra-extensions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/christiaanwesterbeek/ra-extensions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christiaanwesterbeek%2Fra-extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christiaanwesterbeek%2Fra-extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christiaanwesterbeek%2Fra-extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christiaanwesterbeek%2Fra-extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christiaanwesterbeek","download_url":"https://codeload.github.com/christiaanwesterbeek/ra-extensions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christiaanwesterbeek%2Fra-extensions/sbom","scorecard":{"id":280608,"data":{"date":"2025-08-11","repo":{"name":"github.com/christiaanwesterbeek/ra-extensions","commit":"eb05311d93f3cf323250ed8bebb45786e222ca4c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/21 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"18 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T15:44:33.855Z","repository_id":35900905,"created_at":"2025-08-17T15:44:33.855Z","updated_at":"2025-08-17T15:44:33.855Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278245381,"owners_count":25955015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["extensions","react-admin","reactjs"],"created_at":"2025-01-29T10:50:41.573Z","updated_at":"2025-10-03T23:55:20.216Z","avatar_url":"https://github.com/christiaanwesterbeek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-admin extensions\n\nLet's start of by saying that [react-admin](https://github.com/marmelab/react-admin) rocks! That means the people building and supporting it are really all-in with this framework. I'm using it for all my clients. Sometimes it happens that a feature or component is requested, but it isn't getting added to react-admin. In those cases it's often said that they won't add and it can be solved in userland. I respect that.\n\nWelcome to userland, but organised! 👨‍💻👩‍💻\n\nThis repo is here to provide an additional set of components, hooks, action, etc that are not added (yet) to react-admin itself.\n\n## Available extensions\n\n- button\n  - BulkExportButton\n\nRight now this is the only component of this repo. You're very welcome to [create an issue](https://github.com/christiaanwesterbeek/ra-extensions/issues/new) to request or discuss another. Or you can propose your component or addition in a PR.\n\nAlso, many packages have already been [published by the community](https://marmelab.com/react-admin/Ecosystem.html) that augment react-admin. Most of them provide one functionality or component. The intention of this repo is to house many (unrelated) components that we as a community can contribute to and use.\n\n## Installation\n\n`yarn add ra-extensions`\n\n## Usage\n\n### BulkExportButton\n\n```javascript\nimport React, { Fragment } from 'react';\nimport PropTypes from 'prop-types';\nimport { Datagrid, downloadCSV, List, TextField } from 'react-admin';\nimport { unparse as convertToCSV } from 'papaparse/papaparse.min';\nimport { BulkExportButton } from 'ra-extensions';\n\nconst exporter = data =\u003e {\n    const csv = convertToCSV({\n        data,\n        fields: ['id', 'b', 'c'],\n    });\n    downloadCSV(csv, 'somelist'); // download as 'somelist.csv` file\n};\n\nconst BulkActionButtons = ({ resource, selectedIds }) =\u003e (\n    \u003cFragment\u003e\n        \u003cBulkExportButton\n            resource={resource}\n            selectedIds={selectedIds}\n            exporter={exporter}\n        /\u003e\n    \u003c/Fragment\u003e\n);\nBulkActionButtons.propTypes = {\n    resource: PropTypes.string,\n    selectedIds: PropTypes.array,\n};\n\nconst SomeList = props =\u003e (\n    \u003cList\n        {...props}\n        bulkActionButtons={\u003cBulkActionButtons /\u003e}\n        exporter={exporter}\n    \u003e\n        \u003cDatagrid rowClick=\"edit\"\u003e\n            \u003cTextField source=\"id\" /\u003e\n            \u003cTextField source=\"b\" /\u003e\n            \u003cTextField source=\"c\" /\u003e\n        \u003c/Datagrid\u003e\n    \u003c/List\u003e\n);\n\nexport default SomeList;\n```\n\n### Translation\n\nAdd the extra translations that some components may require.\n\n```javascript\n// standard react-admin translations\nimport englishMessages from 'ra-language-english';\nimport frenchMessages from 'ra-language-french';\n\n// ra-extensions translations\nimport { raxMessages } from 'ra-extensions';\n\n// your own translations\nimport * as domainMessages from './i18n';\n\nconst messages = {\n    fr: { ...frenchMessages, ...raxMessages.fr, ...domainMessages.fr },\n    en: { ...englishMessages, ...raxMessages.en, ...domainMessages.en },\n};\nconst i18nProvider = locale =\u003e messages[locale];\n\nconst App = () =\u003e (\n    \u003cAdmin i18nProvider={i18nProvider}\u003e\n        ...\n    \u003c/Admin\u003e\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristiaanwesterbeek%2Fra-extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristiaanwesterbeek%2Fra-extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristiaanwesterbeek%2Fra-extensions/lists"}