You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "Ma77Ball (via GitHub)" <gi...@apache.org> on 2026/05/26 09:21:17 UTC
[I] Add spec coverage for hub.component.ts [texera]
Ma77Ball opened a new issue, #5224:
URL: https://github.com/apache/texera/issues/5224
### Task Summary
Create hub.component.spec.ts for frontend/src/app/hub/component/hub.component.ts.
The component is a thin sidebar/menu shell — it exposes @Input() isLogin, @Input() sidebarTabs: SidebarTabs, and the routing constants DASHBOARD_HOME, DASHBOARD_HUB_WORKFLOW_RESULT, DASHBOARD_HUB_DATASET_RESULT. It injects GuiConfigService as config.
Behavior to cover:
- Component created with default isLogin = false and empty sidebarTabs.
- RouterLink directives bind to the correct constants for each menu item.
- Menu items render conditionally based on isLogin and sidebarTabs flags (verify NgIf branches for each tab the template gates on).
- config (GuiConfigService) is exposed as protected, and the template uses it for gating — verify gated items render/hide correctly per config.
### Task Type
- [ ] Refactor / Cleanup
- [ ] DevOps / Deployment / CI
- [x] Testing / QA
- [ ] Documentation
- [ ] Performance
- [ ] Other
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add spec coverage for hub.component.ts [texera]
Posted by "Ma77Ball (via GitHub)" <gi...@apache.org>.
Ma77Ball commented on issue #5224:
URL: https://github.com/apache/texera/issues/5224#issuecomment-4542827750
/take
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add spec coverage for hub.component.ts [texera]
Posted by "Ma77Ball (via GitHub)" <gi...@apache.org>.
Ma77Ball commented on issue #5224:
URL: https://github.com/apache/texera/issues/5224#issuecomment-4543381321
/take
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add spec coverage for hub.component.ts [texera]
Posted by "mengw15 (via GitHub)" <gi...@apache.org>.
mengw15 closed issue #5224: Add spec coverage for hub.component.ts
URL: https://github.com/apache/texera/issues/5224
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org