{"id":15015988,"url":"https://github.com/iliasderos/ember-ds-inline-edit","last_synced_at":"2025-10-27T15:38:45.675Z","repository":{"id":57223692,"uuid":"76418295","full_name":"IliasDeros/ember-ds-inline-edit","owner":"IliasDeros","description":"EmberJS addon for editing DS.models inline","archived":false,"fork":false,"pushed_at":"2022-08-16T20:11:37.000Z","size":76,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-11T14:38:51.801Z","etag":null,"topics":["ember-data","emberjs","inline-editing"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IliasDeros.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-14T02:44:52.000Z","updated_at":"2022-08-16T20:11:40.000Z","dependencies_parsed_at":"2022-08-30T02:10:15.439Z","dependency_job_id":null,"html_url":"https://github.com/IliasDeros/ember-ds-inline-edit","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/IliasDeros/ember-ds-inline-edit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IliasDeros%2Fember-ds-inline-edit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IliasDeros%2Fember-ds-inline-edit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IliasDeros%2Fember-ds-inline-edit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IliasDeros%2Fember-ds-inline-edit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IliasDeros","download_url":"https://codeload.github.com/IliasDeros/ember-ds-inline-edit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IliasDeros%2Fember-ds-inline-edit/sbom","scorecard":{"id":65757,"data":{"date":"2025-08-11","repo":{"name":"github.com/IliasDeros/ember-ds-inline-edit","commit":"c3dde13ae868207da29403079c5376f6f562289c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 2/27 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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T02:34:03.816Z","repository_id":57223692,"created_at":"2025-08-15T02:34:03.816Z","updated_at":"2025-08-15T02:34:03.816Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281294848,"owners_count":26476754,"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-27T02:00:05.855Z","response_time":61,"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":["ember-data","emberjs","inline-editing"],"created_at":"2024-09-24T19:48:15.002Z","updated_at":"2025-10-27T15:38:45.634Z","avatar_url":"https://github.com/IliasDeros.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm badge](https://img.shields.io/npm/v/ember-ds-inline-edit)](https://www.npmjs.com/package/ember-ds-inline-edit)\n\nEdit an ember DS.model inline by clicking on it to toggle editor.\nClick outside or press escape to rollback change and cancel edit.\n\ninspired by [ember-inline-edit](https://github.com/swastik/ember-inline-edit)\n\n![Inline Edit Demo](https://github.com/IliasDeros/ember-ds-inline-edit/raw/master/demo.gif)\n\n## Installation\n\n`ember install ember-ds-inline-edit`\n\n## Usage\n\nUse the `ds-inline-edit` component and provide it a model with the property to edit/display.\n\n```handlebars\n  {{ds-inline-edit\n    model=model\n    prop='name'\n    customUpdate=(action updateModelName)\n    onError=(action send 'onError')\n    onUpdate=(action send 'onUpdate')\n  }}\n```\n\nCustomize input template using `#ds-inline-edit` :\n\n```handlebars\n  {{#ds-inline-edit model=person prop='age' as |age|}}\n    {{input type=\"number\" class=\"form-control\" value=age}}\n  {{/ds-inline-edit}}\n```\n\n#### Ember Data Integration\n\nBy default, this plugin relies on a strict usage of Ember Data. An automatic model update is sent upon confirming edit. This behavior can be overriden by passing in a _customUpdate_ action :\n`customUpdate(value, model, prop)`\n\nIf the `prop` is an object, the default display is the following property of the model :\n`displayName` \u003e `name` \u003e `id`\n\nOnly the property identified through `prop` is updated, the rest of the model remains\nuncommited.\n\nWhen an update is successful, the `onUpdate` function is called with the updated model.\n\n#### Extending this plugin\n\nFeel free to extend `ds-inline-edit` using the following code :\n\n```\n// app/pods/components/ds-inline-edit\nimport DsInlineEdit from 'ds-inline-edit/components/ds-inline-edit'\nexport default DsInlineEdit.extend({})\n```\n\nYou can override the following functions :\n`onEditSuccess()` - Called when the model is updated successfully\n`onEditError(error)` - Called on update failure (due to error from network or customUpdate)\n\n#### Keyboard Support\n\nHit `enter` to confirm changes.\nHit `esc` or click outside the component to discard the changes.\n\n#### Error Handling\nWhen an error occurs, an `onError` action is executed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filiasderos%2Fember-ds-inline-edit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filiasderos%2Fember-ds-inline-edit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filiasderos%2Fember-ds-inline-edit/lists"}