feat: add input component to research panel (#784)#785
Merged
NoopDog merged 4 commits intomim-fran-noop/778-ai-epicfrom Feb 23, 2026
Merged
feat: add input component to research panel (#784)#785NoopDog merged 4 commits intomim-fran-noop/778-ai-epicfrom
NoopDog merged 4 commits intomim-fran-noop/778-ai-epicfrom
Conversation
a151cb6 to
d061704
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds an input component to the research panel as specified in issue #784. The implementation includes a multiline text input with a submit button (styled with an up arrow icon), along with supporting MUI utility constants for Stack and InputBase components. The PR follows the Figma design requirements and excludes microphone/plus icons and placeholder text configuration as noted in the scope.
Changes:
- Added new
Inputcomponent for the research panel with InputBase, submit button, and up arrow icon - Created new MUI utility files for Stack and InputBase prop constants
- Added UpArrowIcon custom SVG component
- Updated Panel component to include the new Input component
- Added Storybook stories for both Input and Panel components
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
src/views/ExploreView/research/panel/panel.tsx |
Updated to render the new Input component within the research panel container |
src/views/ExploreView/research/panel/components/Input/input.tsx |
New Input component with InputBase, submit IconButton, and StyledPaper wrapper |
src/views/ExploreView/research/panel/components/Input/input.styles.ts |
Styled Paper component for Input with flexbox layout and padding |
src/views/ExploreView/research/panel/components/Input/constants.ts |
InputBase configuration with multiline, autofocus, and form properties |
src/views/ExploreView/research/panel/stories/panel.stories.tsx |
Storybook story for Panel component with background and sizing decorator |
src/views/ExploreView/research/panel/components/Input/stories/input.stories.tsx |
Storybook story for Input component with width constraint decorator |
src/components/common/CustomIcon/components/UpArrowIcon/upArrowIcon.tsx |
New custom SVG icon component for the submit button |
src/styles/common/mui/stack.ts |
New MUI Stack utility constants for ALIGN_ITEMS, DIRECTION, and FLEX_WRAP |
src/styles/common/mui/inputBase.ts |
New MUI InputBase utility constants for COLOR, MARGIN, SIZE, and TYPE |
src/views/ExploreView/research/panel/components/Input/constants.ts
Outdated
Show resolved
Hide resolved
src/views/ExploreView/research/panel/components/Input/input.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…s.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
NoopDog
approved these changes
Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #784.
Excludes
This pull request introduces a new styled input component for the research panel in the ExploreView, along with reusable MUI prop constants and supporting Storybook stories for both the input and the panel. The main focus is on improving UI consistency and maintainability by centralizing style and prop definitions.
New Input Component and Integration:
Inputcomponent for the research panel, featuring a styled paper container, a primary-colored multiline input, and a submit button with a custom up arrow icon. This component is now rendered in the research panel (panel.tsx). [1] [2] [3] [4] [5]Reusable MUI Prop Constants:
inputBase.ts,stack.ts), enabling consistent use of colors, sizes, and other options across the app. [1] [2]Storybook Stories:
InputandPanelcomponents, including decorators for layout and background, to facilitate UI testing and development. [1] [2]