{"id":21835856,"url":"https://github.com/vtex/admin-iframe-container","last_synced_at":"2025-03-21T14:25:52.179Z","repository":{"id":42669809,"uuid":"196224421","full_name":"vtex/admin-iframe-container","owner":"vtex","description":"Iframe interface for VTEX admin apps","archived":false,"fork":false,"pushed_at":"2023-07-19T01:07:29.000Z","size":630,"stargazers_count":1,"open_issues_count":12,"forks_count":2,"subscribers_count":125,"default_branch":"master","last_synced_at":"2025-01-26T10:08:17.748Z","etag":null,"topics":["srv-admin","xp-developer"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/vtex.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-10T14:51:22.000Z","updated_at":"2022-04-07T03:53:09.000Z","dependencies_parsed_at":"2024-11-27T20:38:52.864Z","dependency_job_id":null,"html_url":"https://github.com/vtex/admin-iframe-container","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fadmin-iframe-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fadmin-iframe-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fadmin-iframe-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fadmin-iframe-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vtex","download_url":"https://codeload.github.com/vtex/admin-iframe-container/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244812984,"owners_count":20514551,"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","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":["srv-admin","xp-developer"],"created_at":"2024-11-27T20:25:29.662Z","updated_at":"2025-03-21T14:25:52.153Z","avatar_url":"https://github.com/vtex.png","language":"TypeScript","readme":"# Admin Iframe Container 2.x\n\nIframe that loads every VTEX admin application.\n\n## 📦 Instaling\n\nThis a VTEX IO app you just have to install it with:\n\n```sh\nvtex install vtex.admin-iframe-container@2.x\n```\n\n## 👨🏾‍💻 Development\n\nYou just need to to make the changes and link the app with `vtex link`.\n\n### 🌎 Important peer apps\n\nWhile developing, you should be aware of important apps:\n\n- [admin](https://github.com/vtex/admin) - Application that uses this app. It will pass all props to `IframeContainer`.\n- [admin-proxy](https://github.com/vtex/admin-proxy) - Rewrite requests from vtexcommerce urls to myvtex, so that the iframe can be displayed on modern browsers.\n- [admin-iframe-compatibility](https://github.com/vtex/admin-iframe-compatibility) - Static jquery code that runs on legacy apps.\n\n### 🏗 File structure\n\nAbout this app files\n\n```\n/react - main source\n../components - compose vtex io with core components\n../..Iframe.ts - loads admin v2 \u0026 v3 apps\n../..IframeContainer.ts - selects the correct iframe to load\n../..IframeLegacy.ts - loads admin v1 apps\n../..LegacyHeader.ts - header of admin v1 apps\n../core - components that use admin-ui library\n../../Navbar - renders the app title \u0026 back link of legacy apps\n../../PageHeader - renders Navbar + Tabs\n../../Tabs - renders Tabs of legacy apps\n../hooks\n../..useLoading.ts - triggers frame loading bar\n../..useForceUpdate.ts - force updates a component\n../util - common utilities\n.Iframe.ts - exports components/IframeContainer\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Fadmin-iframe-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvtex%2Fadmin-iframe-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Fadmin-iframe-container/lists"}