Skip to content

Conversation

@Irozuku
Copy link
Collaborator

@Irozuku Irozuku commented Jan 22, 2026

Summary

This pull request improves frontend theme consistency and maintainability by replacing hardcoded color values with Material UI theme.palette values. It also refactors the generative task selection UI to use shared components, reducing duplication and simplifying the codebase.


Type of Change

Check all that apply like this [x]:

  • Backend change
  • Frontend change
  • CI / Workflow change
  • Build / Packaging change
  • Bug fix
  • Documentation

Changes (by file)

Briefly list the important modified files and what was done.

  • ToolGridItem.jsx: Replaced hardcoded colors with theme.palette values for background, border, and text.
  • ConfigureToolModal.jsx: Updated styling to rely on theme-based colors for consistent appearance across themes.
  • ManualInputForm.jsx: Refactored input styling to use theme palette values.
  • renderInputField.js: Updated input and select fields to use theme-based colors and translated placeholders.
  • SelectTaskMenu.jsx: Refactored layout to use the shared SelectOptionMenu component instead of custom SearchBar and TaskBox.
  • Removed unused SearchBar and TaskBox components related to the generative task selection flow.
  • SessionBar.jsx: Updated imports to use shared components consistently.
  • Various files: Added missing useTheme imports to support theme-based styling.

Testing (optional)

  • Verified UI appearance in both light and dark modes.
  • Manually tested the generative task selection flow after the refactor.

@Irozuku Irozuku added front Frontend work refactor Prune and embelish code labels Jan 22, 2026
@Irozuku Irozuku marked this pull request as draft January 23, 2026 12:41
@Irozuku Irozuku marked this pull request as ready for review January 23, 2026 13:01
@Irozuku Irozuku marked this pull request as draft January 23, 2026 13:06
@Irozuku Irozuku changed the title Replace hardcoded colors with theme palette and unify SearchBar Replace hardcoded colors with theme palette and reuse task selection components Jan 23, 2026
@Irozuku Irozuku marked this pull request as ready for review January 23, 2026 13:21
@Irozuku Irozuku marked this pull request as draft January 27, 2026 13:21
@Irozuku Irozuku marked this pull request as ready for review January 27, 2026 13:37
@Irozuku Irozuku marked this pull request as draft January 27, 2026 14:08
@Irozuku Irozuku marked this pull request as ready for review January 27, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

front Frontend work refactor Prune and embelish code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants