{"id":36976894,"url":"https://github.com/backendorf/m2-floating-messages","last_synced_at":"2026-01-13T22:45:36.558Z","repository":{"id":318726381,"uuid":"1074222525","full_name":"backendorf/m2-floating-messages","owner":"backendorf","description":"Magento 2 Luma floating messages","archived":false,"fork":false,"pushed_at":"2025-10-11T13:21:08.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-13T01:43:48.716Z","etag":null,"topics":["luma","magento","magento-extension","magento2","magento2-extension","magento2-module","magento2-module-free"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/backendorf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-11T11:30:20.000Z","updated_at":"2025-10-11T13:21:11.000Z","dependencies_parsed_at":"2025-10-13T01:43:53.406Z","dependency_job_id":"687b6345-dec3-4462-bf30-ddac9f821039","html_url":"https://github.com/backendorf/m2-floating-messages","commit_stats":null,"previous_names":["backendorf/m2-floating-messages"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/backendorf/m2-floating-messages","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backendorf%2Fm2-floating-messages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backendorf%2Fm2-floating-messages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backendorf%2Fm2-floating-messages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backendorf%2Fm2-floating-messages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/backendorf","download_url":"https://codeload.github.com/backendorf/m2-floating-messages/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backendorf%2Fm2-floating-messages/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28402262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["luma","magento","magento-extension","magento2","magento2-extension","magento2-module","magento2-module-free"],"created_at":"2026-01-13T22:45:35.869Z","updated_at":"2026-01-13T22:45:36.552Z","avatar_url":"https://github.com/backendorf.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magento 2 Floating Messages\n\nA Magento 2 module that makes the default storefront messages float and auto-hide, improving UX without modifying core\ncode. Messages can be positioned (e.g., top/bottom, left/right) and a hide delay can be configured from Admin.\n\n## Overview\n\n- Adds CSS/JS to float the .page.messages container and apply optional positioning classes.\n- RequireJS mixin augments Magento_Theme/js/view/messages to auto-hide success and notice messages after a configurable\n  delay.\n- Admin configuration under Stores \u003e Configuration \u003e Backendorf \u003e Floating Messages.\n\n## Stack\n\n- Language: PHP (Magento 2 module)\n- Platform/Framework: Magento 2 (frontend: RequireJS, jQuery, Magento customer-data)\n- Package manager: Composer (type: magento2-module)\n- Autoloading: PSR-4 (Backendorf\\\\FloatingMessages\\\\) and registration.php\n\n## Requirements\n\n- Magento 2.x\n- PHP version compatible with your Magento 2 installation\n- Composer\n\nTODO:\n\n- Document exact supported Magento and PHP versions (none declared in composer.json).\n\n## Installation\n\nRun in your Magento project root:\n\n- composer require backendorf/m2-floating-messages\n- bin/magento module:enable Backendorf_FloatingMessages\n- bin/magento setup:upgrade\n\nIf in production mode, also run:\n\n- bin/magento setup:di:compile\n- bin/magento setup:static-content:deploy -f\n\nFinally:\n\n- bin/magento cache:flush\n\n## Configuration\n\nAdmin path: Stores \u003e Configuration \u003e Backendorf \u003e Floating Messages\n\nOptions (scope: Default/Website/Store):\n\n- Enabled (Yes/No)\n- Position (options provided by Backendorf\\\\FloatingMessages\\\\Model\\\\Config\\\\Source\\\\Position)\n- Time to hide (milliseconds)\n\nDefaults (from etc/config.xml):\n\n- Enabled: 1 (Yes)\n- Position: bottom right\n- Time to hide: 5000 ms\n\n## How it works\n\n- Observer Backendorf\\\\FloatingMessages\\\\Observer\\\\LayoutLoadBefore adds body classes based on configuration (\n  floating-messages, and top/bottom, left/right).\n- Layout handle view/frontend/layout/default.xml injects a block Backendorf\\\\FloatingMessages\\\\Block\\\\Config which\n  renders a small JS snippet exposing window.floating_messages.timeToHide.\n- RequireJS config adds a mixin for Magento_Theme/js/view/messages which subscribes to messages and auto-hides\n  success/notice types after the configured delay.\n- LESS styles in view/frontend/web/css/source/_module.less position the messages container based on body classes.\n\n## License\n\nThe repository contains an MIT License file.\n\n## Changelog\n\n- Initial README expanded to include installation, configuration, internals, and commands.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackendorf%2Fm2-floating-messages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackendorf%2Fm2-floating-messages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackendorf%2Fm2-floating-messages/lists"}