René's URL Explorer Experiment


Title: Problem with components that are created with component factory resolver · Issue #773 · rangle/angular-devtools · GitHub

Open Graph Title: Problem with components that are created with component factory resolver · Issue #773 · rangle/angular-devtools

X Title: Problem with components that are created with component factory resolver · Issue #773 · rangle/angular-devtools

Description: Description: First of all, I am very happy to hear that we have official dev tool support. The bug is that I can't inspect components which i init with component factory resolver in mat-drawer-content component at components side of dev ...

Open Graph Description: Description: First of all, I am very happy to hear that we have official dev tool support. The bug is that I can't inspect components which i init with component factory resolver in mat-drawer-cont...

X Description: Description: First of all, I am very happy to hear that we have official dev tool support. The bug is that I can't inspect components which i init with component factory resolver in mat-drawer-...

Opengraph URL: https://github.com/rangle/angular-devtools/issues/773

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Problem with components that are created with component factory resolver","articleBody":"_Description:_\r\nFirst of all, I am very happy to hear that we have official dev tool support. The bug is that I can't inspect components which i init with component factory resolver in mat-drawer-content component at components side of dev tools. \r\n...\r\n\r\n**Angular Devtools version (required)**: 1.0.0\r\n\r\n**Angular version (required):** 11.0.9 \r\n\r\n**Date:** 19.05.2021 GMT +03:00\r\n\r\n**OS:** Windows 10 Home 10.0.19042\r\n\r\n_Demo test application:_\r\n\r\n- Git repository for demo app showing the issue (optional but very helpful for difficult issues).\r\n- If a code snippet will completely show the issue, please include it.\r\n\r\nTypescript file.\r\n\r\n```typescript\r\n\r\nimport { CustomButtonComponent } from './../custom-button/custom-button.component';\r\nimport { Component, Input, OnInit, OnChanges, ViewChild, ViewContainerRef, ComponentFactoryResolver, Output, EventEmitter, ChangeDetectorRef } from '@angular/core';\r\nimport { Menu } from 'src/models/menu/Menu';\r\nimport { ButtonConfig } from 'src/models/ButtonConfig';\r\nimport { UserManagementComponent } from '../user-management/user-management.component';\r\nimport { ActivityComponent } from '../activity/activity.component';\r\nimport { DashboardComponent } from '../dashboard/dashboard.component';\r\nimport { PolicyComponent } from '../policy/policy.component';\r\nimport { UserSettingsComponent } from 'src/app/user-settings/user-settings.component';\r\nimport { AlertsComponent } from 'src/app/alerts/alerts.component';\r\n\r\n@Component({\r\n  selector: 'app-custom-sidenav-menu',\r\n  templateUrl: './custom-sidenav-menu.component.html',\r\n  styleUrls: ['./custom-sidenav-menu.component.scss']\r\n})\r\nexport class CustomSidenavMenuComponent implements OnInit {\r\n  @ViewChild(\"buttonArea\",{read:ViewContainerRef}) buttonArea:ViewContainerRef | any;\r\n  @Input()\r\n  menuCollection!:Menu[] | any;\r\n  @Output()\r\n  buttonSelected = new EventEmitter\u003cany\u003e();\r\n  cleanMenuCollection : Menu[] | any\r\n  buttonConfig: never[] | any;\r\n  componentMap!:any\r\n  selectedMenu: ButtonConfig;\r\n  constructor(private componentFactoryResolver:ComponentFactoryResolver,private cdr : ChangeDetectorRef) {\r\n    this.componentMap  = {\r\n      \"Users\":UserManagementComponent,\r\n      \"Activity\":ActivityComponent,\r\n      \"Policy\":PolicyComponent,\r\n      \"Dashboard\":DashboardComponent,\r\n      \"User Settings\":UserSettingsComponent,\r\n      \"Alerts\": AlertsComponent\r\n    }\r\n  }\r\n\r\n  ngOnInit(): void {\r\n  }\r\n  ngOnChanges(menuCollection:Menu[] | any){\r\n\r\n\r\n  }\r\n\r\n  ngAfterViewInit(){\r\n    this.cleanMenuCollection = [];\r\n    this.menuCollection.forEach((menuTemp:Menu) =\u003e {\r\n      let foundMenuItemsInBefore :any = this.cleanMenuCollection.find((data :Menu | any) =\u003e {\r\n        if(menuTemp.type ==  data.type){\r\n          return data;\r\n        }\r\n      })\r\n      if(foundMenuItemsInBefore == undefined){\r\n        this.cleanMenuCollection.push(menuTemp)\r\n      }\r\n    });\r\n\r\n\r\n    this.createButtons();\r\n  }\r\n  createButtons() {\r\n    this.buttonArea?.clear();\r\n    this.buttonConfig = this.cleanMenuCollection.map((data:Menu)=\u003e{\r\n      let key :any = this.componentMap[data.type];\r\n      let obj = {icon:data.icon,buttonClass:\"btn-transparent\",status:\"passive\",click:(event:any) =\u003e this.clickOnMenu(event),text:data.type,menuComponent:key}\r\n      let compRef = this.componentFactoryResolver.resolveComponentFactory(CustomButtonComponent);\r\n      let comp = this.buttonArea.createComponent(compRef);\r\n      comp.instance.config = obj\r\n      return obj\r\n    })\r\n    let dashboardButton=this.buttonConfig.find(config =\u003e config.text == 'Dashboard');\r\n    dashboardButton.buttonClass = \"btn-transparent menu-active\"\r\n    this.buttonSelected.emit(dashboardButton.menuComponent)\r\n    this.cdr.detectChanges();\r\n  }\r\n  clickOnMenu(event:any){\r\n    this.buttonConfig=this.buttonConfig.map((menuItem:ButtonConfig)=\u003e{\r\n      if(event.config != menuItem){\r\n        menuItem.buttonClass = 'btn-transparent';\r\n\r\n      }else{\r\n        menuItem.buttonClass = \"btn-transparent menu-active\"\r\n        if(this.selectedMenu?.text != menuItem.text){\r\n          this.selectedMenu = menuItem\r\n          this.buttonSelected.emit(menuItem.menuComponent)\r\n        }\r\n      }\r\n      return menuItem\r\n    })\r\n\r\n  }\r\n  // this.navbarButton = { icon: 'fas fa-bars', buttonClass: 'btn-transparent', status: \"passive\", click: (event: any) =\u003e this.navbarClick(event) }\r\n  getKeyByValue(object: { [x: string]: any; }, value: any) {\r\n    return Object.keys(object).find(key =\u003e object[key] === value);\r\n  }\r\n}\r\n```\r\nHtml File\r\n\r\n\r\n```html\r\n\u003cdiv class=\"application-container w-100 h-100\"\u003e\r\n  \u003cmat-drawer-container class=\"example-container h-100 w-100\"\u003e\r\n    \u003cmat-drawer class=\"mat-container\" #sidenav mode=\"side\" style=\"width: 15%;\"\u003e\r\n      \u003cdiv class=\"d-flex flex-column align-items-center justify-content-between p-2 overflow-hidden\"\u003e\r\n        \u003cdiv class=\"header w-100\"\u003e\r\n          \u003cspan class=\"header-text fs-4 w-100\"\u003e\r\n            {{this.user?.honeypot?. name}}\r\n          \u003c/span\u003e\r\n        \u003c/div\u003e\r\n        \u003cng-container #sidenavArea\u003e\u003c/ng-container\u003e\r\n      \u003c/div\u003e\r\n    \u003c/mat-drawer\u003e\r\n    \u003cmat-drawer-content class=\"component-area\"\u003e\r\n      \u003cng-container #componentArea\u003e\u003c/ng-container\u003e\r\n    \u003c/mat-drawer-content\u003e\r\n  \u003c/mat-drawer-container\u003e\r\n\u003c/div\u003e\r\n\r\n```\r\n_Description of issue:_\r\n\r\n![Capture](https://user-images.githubusercontent.com/30727839/118731168-788fb100-b841-11eb-9c5a-f07bf730c19b.PNG)\r\n\r\n\r\nAs you may see that components that should be produced ,are not shown. \r\n\r\nI appericiate your attention on this spesific problem in advance.","author":{"url":"https://github.com/ayberkaltuntabak","@type":"Person","name":"ayberkaltuntabak"},"datePublished":"2021-05-18T22:29:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/773/angular-devtools/issues/773"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e857bb01-9bcf-549a-5dc3-ea2e2b59d750
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDD26:26866E:42BEE:5D908:6969F91D
html-safe-nonce964d81807054b07401db46cea49c5b21ccddc4f9f0bdb5569c2e3ebfc2f1f2e1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDI2OjI2ODY2RTo0MkJFRTo1RDkwODo2OTY5RjkxRCIsInZpc2l0b3JfaWQiOiI3NTg0NDYyOTYyODYwNjIwMDYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd6ca2c64c045babf134c0b8bb0823bb1b0a81a0e385af9e05884c67cc3b8fc91
hovercard-subject-tagissue:894833536
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/rangle/angular-devtools/773/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d50434977300f1241c11119db418d3cd404702d0f8f65e0ad81c3d002aae7d1f/rangle/angular-devtools/issues/773
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d50434977300f1241c11119db418d3cd404702d0f8f65e0ad81c3d002aae7d1f/rangle/angular-devtools/issues/773
og:image:altDescription: First of all, I am very happy to hear that we have official dev tool support. The bug is that I can't inspect components which i init with component factory resolver in mat-drawer-cont...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameayberkaltuntabak
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
go-importgithub.com/rangle/angular-devtools git https://github.com/rangle/angular-devtools.git
octolytics-dimension-user_id4304982
octolytics-dimension-user_loginrangle
octolytics-dimension-repository_id236543524
octolytics-dimension-repository_nworangle/angular-devtools
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id236543524
octolytics-dimension-repository_network_root_nworangle/angular-devtools
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/rangle/angular-devtools/issues/773#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frangle%2Fangular-devtools%2Fissues%2F773
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frangle%2Fangular-devtools%2Fissues%2F773
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=rangle%2Fangular-devtools
Reloadhttps://github.com/rangle/angular-devtools/issues/773
Reloadhttps://github.com/rangle/angular-devtools/issues/773
Reloadhttps://github.com/rangle/angular-devtools/issues/773
rangle https://github.com/rangle
angular-devtoolshttps://github.com/rangle/angular-devtools
Notifications https://github.com/login?return_to=%2Frangle%2Fangular-devtools
Fork 17 https://github.com/login?return_to=%2Frangle%2Fangular-devtools
Star 256 https://github.com/login?return_to=%2Frangle%2Fangular-devtools
Code https://github.com/rangle/angular-devtools
Issues 35 https://github.com/rangle/angular-devtools/issues
Pull requests 14 https://github.com/rangle/angular-devtools/pulls
Actions https://github.com/rangle/angular-devtools/actions
Projects 0 https://github.com/rangle/angular-devtools/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/rangle/angular-devtools/security
Please reload this pagehttps://github.com/rangle/angular-devtools/issues/773
Insights https://github.com/rangle/angular-devtools/pulse
Code https://github.com/rangle/angular-devtools
Issues https://github.com/rangle/angular-devtools/issues
Pull requests https://github.com/rangle/angular-devtools/pulls
Actions https://github.com/rangle/angular-devtools/actions
Projects https://github.com/rangle/angular-devtools/projects
Security https://github.com/rangle/angular-devtools/security
Insights https://github.com/rangle/angular-devtools/pulse
Problem with components that are created with component factory resolverhttps://github.com/rangle/angular-devtools/issues/773#top
https://github.com/sumitarora
P3https://github.com/rangle/angular-devtools/issues?q=state%3Aopen%20label%3A%22P3%22
bugSomething isn't workinghttps://github.com/rangle/angular-devtools/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/ayberkaltuntabak
https://github.com/ayberkaltuntabak
ayberkaltuntabakhttps://github.com/ayberkaltuntabak
on May 18, 2021https://github.com/rangle/angular-devtools/issues/773#issue-894833536
https://user-images.githubusercontent.com/30727839/118731168-788fb100-b841-11eb-9c5a-f07bf730c19b.PNG
sumitarorahttps://github.com/sumitarora
P3https://github.com/rangle/angular-devtools/issues?q=state%3Aopen%20label%3A%22P3%22
bugSomething isn't workinghttps://github.com/rangle/angular-devtools/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.