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/07/29 11:44:06 UTC
[I] Remove the unused environment component and map util from the frontend [texera]
aglinxinyuan opened a new issue, #7029:
URL: https://github.com/apache/texera/issues/7029
### Task Summary
Three frontend files have no reference anywhere in `src/` — not from TypeScript, not from a template, not from a module or route.
| File | Lines | Status |
| --- | ---: | --- |
| `workspace/component/left-panel/environment/environment.component.ts` | 18 | contains **only** the ASF license header — zero statements. It is the sole file in its directory. |
| `common/util/map.ts` | 42 | `mapToRecord` / `recordToMap`, no caller |
| `common/util/map.spec.ts` | 86 | covers only the above |
`map.ts` predates `Object.fromEntries` and `new Map(Object.entries(...))`, both of which the project's tsconfig already supports (`lib: ES2022`), so nothing needs to replace it.
`map.spec.ts` was added by #6621, which is why the util currently looks live.
Total: −146 lines, pure deletion.
### Task Type
- [x] Refactor / Cleanup
--
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] Remove the unused environment component and map util from the frontend [texera]
Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang closed issue #7029: Remove the unused environment component and map util from the frontend
URL: https://github.com/apache/texera/issues/7029
--
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