You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "aglinxinyuan (via GitHub)" <gi...@apache.org> on 2026/08/08 01:06:18 UTC

[I] Render the hub browse section's entity cards [texera]

aglinxinyuan opened a new issue, #7405:
URL: https://github.com/apache/texera/issues/7405

   ### Task Summary
   
   `BrowseSectionComponent`'s specs cover the route map and the cover-URL cache, but no card has ever been rendered, so every per-entity binding and fallback in the template is unpinned. Locally the template sits at roughly 8% of statements.
   
   What the template decides on its own:
   
   - the whole section disappears when it holds no entities (`*ngIf="entities && entities.length > 0"`)
   - one card per entity, with its name and description
   - `{{ entity.description || 'No description available' }}` — without it, an entity published with no description renders an empty paragraph and collapses the card
   - `[src]="getCoverImage(entity)"` plus an inline `(error)` handler that swaps in `defaultBackground`; a cached cover URL can still 404, and that handler is the only thing preventing a broken image
   - the avatar labelled with the entity id, and `[userName]="entity.ownerName || ''"`
   
   Note for whoever picks this up: the cards embed `texera-user-avatar`, which injects `UserService`. The real one pulls in `AuthService` and from there `JwtHelperService` and `NzModalService`; providing the shared `StubUserService` cuts the chain in one step. `routerLink` on the cards also needs `RouterTestingModule`.
   
   ### 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] Render the hub browse section's entity cards [texera]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7405:
URL: https://github.com/apache/texera/issues/7405#issuecomment-5223749914

   <!-- texera:template-compliance -->
   👋 Thanks for opening this issue, @aglinxinyuan!
   
   It looks like the issue description doesn't quite follow our template yet:
   
   - This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
   
   Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
   
   You can find the template prompts by editing the description, or see [CONTRIBUTING.md](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) for the full contribution flow.
   


-- 
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] Render the hub browse section's entity cards [texera]

Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan closed issue #7405: Render the hub browse section's entity cards
URL: https://github.com/apache/texera/issues/7405


-- 
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