{"id":20549592,"url":"https://github.com/edenreich/admin-message-bag-loader-javascript-plugin","last_synced_at":"2025-12-07T02:02:27.509Z","repository":{"id":43625605,"uuid":"71673900","full_name":"edenreich/Admin-Message-Bag-Loader-Javascript-Plugin","owner":"edenreich","description":"For the admin panel, a messagebag, no jQuery needed.","archived":false,"fork":false,"pushed_at":"2016-10-23T01:07:35.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T05:33:27.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/edenreich.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2016-10-23T00:50:53.000Z","updated_at":"2016-10-23T00:53:24.000Z","dependencies_parsed_at":"2022-09-24T20:23:23.966Z","dependency_job_id":null,"html_url":"https://github.com/edenreich/Admin-Message-Bag-Loader-Javascript-Plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/edenreich/Admin-Message-Bag-Loader-Javascript-Plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edenreich%2FAdmin-Message-Bag-Loader-Javascript-Plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edenreich%2FAdmin-Message-Bag-Loader-Javascript-Plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edenreich%2FAdmin-Message-Bag-Loader-Javascript-Plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edenreich%2FAdmin-Message-Bag-Loader-Javascript-Plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edenreich","download_url":"https://codeload.github.com/edenreich/Admin-Message-Bag-Loader-Javascript-Plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edenreich%2FAdmin-Message-Bag-Loader-Javascript-Plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27558646,"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-12-07T02:00:07.896Z","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":[],"created_at":"2024-11-16T02:18:41.932Z","updated_at":"2025-12-07T02:02:27.483Z","avatar_url":"https://github.com/edenreich.png","language":"JavaScript","readme":"# Admin-Message-Bag-Loader-Javascript-Plugin\nFor the admin panel, a messagebag, no jQuery needed.\n\n##How To Use\njust embed this js file in your project, and then when you want to run it type:\n```javascript\nAdminPanelLoader.start();\n```\n\nnormally you would start the loader before the ajax request is sent.\n\nnow, during the processing you may make your logic and collect either errors or success messages like so:\n```javascript\nAdminPanelLoader.addSuccessMessage('This is my custom success message');\nAdminPanelLoader.addErrorMessage('This is my custom error message');\n```\n\nthen once the ajax request is done you want to list all the messages you collected to the user like so:\n```javascript\nAdminPanelLoader.listMessages();\n```\n\nand of course dont forget to stop the loader before you display the messages like that:\n```javascript\nAdminPanelLoader.stop();\n```\n\nyou may also empty the collected messages like so:\n```javascript\nAdminPanelLoader.emptyMessages();\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedenreich%2Fadmin-message-bag-loader-javascript-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedenreich%2Fadmin-message-bag-loader-javascript-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedenreich%2Fadmin-message-bag-loader-javascript-plugin/lists"}