aglinxinyuan opened a new pull request, #9382: URL: https://github.com/apache/texera/pull/9382
### What changes were proposed in this PR? Remove the preset wrapper's write-only base state, unused typing subscription, unreachable search branch, and unused template index. Opening and save events still refresh copied preset lists; initialization validation and apply/save/delete behavior are preserved. **+29/−167 lines.** There is no behavior change. The menu flag has never been enabled by production code, and the base state has no live reader. Both were introduced in [#1164](https://github.com/apache/texera/pull/1164) on January 13, 2022. ### Any related issues, documentation, discussions? Closes #9379. ### How was this PR tested? From `frontend/`: ``` node .yarn/releases/yarn-4.14.1.cjs format:ci node node_modules/typescript/bin/tsc --noEmit -p src/tsconfig.app.json node node_modules/typescript/bin/tsc --noEmit -p src/tsconfig.spec.json node .yarn/releases/yarn-4.14.1.cjs build:ci node node_modules/@angular/cli/bin/ng.js test --watch=false --include=src/app/common/formly/preset-wrapper/preset-wrapper.component.spec.ts --include=src/app/workspace/service/preset/preset.service.spec.ts --include=src/app/workspace/component/property-editor/operator-property-edit-frame/operator-property-edit-frame.component.spec.ts ``` 354 passed; one existing skipped case. Characterization checks cover initialization errors, copied lists, dropdown refreshes, and unchanged visible state after apply events. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex (GPT-6) -- 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]
