mengw15 opened a new issue, #6749: URL: https://github.com/apache/texera/issues/6749
### Task Summary Two dashboard components, each with a spec that leaves its edit/interaction methods untested. Extend both. jsdom/Vitest; see `frontend/TESTING.md` (reuse `Stub…Service` doubles; call `fixture.detectChanges()` at least once). ### Behavior to add **ListItemComponent** (`frontend/src/app/dashboard/component/user/list-item/list-item.component.ts`, codecov ~70% — EXTEND) - `initializeEntry` — sets up the row from `@Input`. `onEditName` / `onEditDescription` / `setEditingState` — enter/exit edit mode. `confirmUpdateCustomName` / `confirmUpdateCustomDescription` — persist the edited value via the injected service and leave edit mode. `toggleLike` — flips like state / calls the service. `onCheckboxChange` — emits selection. `openDetailModal` — opens the modal with the right config. `renderMarkdownPreview` / `updateProperty` — assert the rendered/updated output. Use service + modal doubles. **FilesUploaderComponent** (`frontend/src/app/dashboard/component/user/files-uploader/files-uploader.component.ts`, codecov ~66% — EXTEND) - `showFileUploadBanner` / `hideBanner` — toggle the banner flag. `fileDropped` — handles a drop event and queues the files. `askResumeOrSkip` / `askUploadOrSkip` — return/emit the chosen action for a name collision. `getOwnerAndName` — parses owner + name from the input. `markForceRestart` — sets the restart flag. Mock the upload/modal service; assert state + delegated calls. ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
