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 02:06:06 UTC
[I] Render the dataset page's view toggle and results wiring [texera]
aglinxinyuan opened a new issue, #7414:
URL: https://github.com/apache/texera/issues/7414
### Task Summary
`UserDatasetComponent`'s spec constructs the component directly with `new`, so the template has never been rendered and sits at 0% coverage — the 0% is simply "never mounted", not a tooling problem.
What the template owns:
- the card/list toggle, and which button carries the `primary` highlight (`[nzType]="viewType === 'list' ? 'primary' : 'default'"`) — the highlight is the only way the user can tell which view they are in
- the view mode, `editable` and `isPrivateSearch` flags handed down to `texera-search-results`
- `(sortMethodChange)="sortMethod = $event; search()"` — an inline statement doing two things, where dropping either leaves the list in the previous order
- `[showEditTime]="false"` / `[showExecutionTime]="false"`, withholding sort options that make no sense for entries which never execute
Worth knowing before starting:
- `viewType` defaults to **card**, not list, and is seeded from `localStorage` at construction. Clear it per test or a view chosen by one test leaks into the next. That persistence is itself worth a test: a freshly created component should pick the stored preference back up.
- The sort button renders its own `<button>` into the same `nz-space-compact`, so a positional selector finds that first. Select the view buttons by their `title` attribute.
- ng-zorro defaults to `zh-cn` and throws `NG0701` without locale data; provide `{ provide: NZ_I18N, useValue: en_US }` as the sibling dashboard specs do.
### 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 dataset page's view toggle and results wiring [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7414:
URL: https://github.com/apache/texera/issues/7414#issuecomment-5223996633
<!-- 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 dataset page's view toggle and results wiring [texera]
Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan closed issue #7414: Render the dataset page's view toggle and results wiring
URL: https://github.com/apache/texera/issues/7414
--
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