-
Notifications
You must be signed in to change notification settings - Fork 0
Test/render toolbar and collapse icon type visual tests #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
imgeorgius
merged 2 commits into
main
from
test/renderToolbar-and-collapseIconType-visual-tests
Jan 12, 2026
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file added
BIN
+72.2 KB
...nipika-with-chevron-collapse-icon---collapse-dark-chromium-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+82.1 KB
...actUnipika-with-chevron-collapse-icon---collapse-dark-webkit-1-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+71.7 KB
...ipika-with-chevron-collapse-icon---collapse-light-chromium-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+82.3 KB
...ctUnipika-with-chevron-collapse-icon---collapse-light-webkit-1-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+46.5 KB
...tUnipika-with-chevron-collapse-icon---expand-dark-chromium-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+53.1 KB
...ReactUnipika-with-chevron-collapse-icon---expand-dark-webkit-1-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+46.4 KB
...Unipika-with-chevron-collapse-icon---expand-light-chromium-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+54 KB
...eactUnipika-with-chevron-collapse-icon---expand-light-webkit-1-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+71.9 KB
...hots/ReactUnipika-with-chevron-collapse-icon-dark-chromium-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+82.8 KB
...napshots/ReactUnipika-with-chevron-collapse-icon-dark-webkit-1-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+73.1 KB
...ots/ReactUnipika-with-chevron-collapse-icon-light-chromium-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+84.1 KB
...apshots/ReactUnipika-with-chevron-collapse-icon-light-webkit-1-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+33 KB
...ctUnipika-with-custom-toolbar---collapse-all-dark-chromium-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+38.9 KB
.../ReactUnipika-with-custom-toolbar---collapse-all-dark-webkit-1-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+32.1 KB
...tUnipika-with-custom-toolbar---collapse-all-light-chromium-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+37.3 KB
...ReactUnipika-with-custom-toolbar---collapse-all-light-webkit-1-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+99.5 KB
...ika-with-custom-toolbar---search-interaction-dark-chromium-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+114 KB
...Unipika-with-custom-toolbar---search-interaction-dark-webkit-1-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+104 KB
...ka-with-custom-toolbar---search-interaction-light-chromium-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+118 KB
...nipika-with-custom-toolbar---search-interaction-light-webkit-1-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+75.3 KB
...x-snapshots/ReactUnipika-with-custom-toolbar-dark-chromium-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+87.2 KB
...t.tsx-snapshots/ReactUnipika-with-custom-toolbar-dark-webkit-1-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+76.5 KB
...-snapshots/ReactUnipika-with-custom-toolbar-light-chromium-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+88 KB
....tsx-snapshots/ReactUnipika-with-custom-toolbar-light-webkit-1-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+172 KB
...nipika-with-chevron-collapse-icon---collapse-dark-chromium-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+189 KB
...actUnipika-with-chevron-collapse-icon---collapse-dark-webkit-1-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+175 KB
...ipika-with-chevron-collapse-icon---collapse-light-chromium-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+195 KB
...ctUnipika-with-chevron-collapse-icon---collapse-light-webkit-1-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+46.1 KB
...tUnipika-with-chevron-collapse-icon---expand-dark-chromium-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+52.7 KB
...ReactUnipika-with-chevron-collapse-icon---expand-dark-webkit-1-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+46.1 KB
...Unipika-with-chevron-collapse-icon---expand-light-chromium-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+53.7 KB
...eactUnipika-with-chevron-collapse-icon---expand-light-webkit-1-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+155 KB
...hots/ReactUnipika-with-chevron-collapse-icon-dark-chromium-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+172 KB
...napshots/ReactUnipika-with-chevron-collapse-icon-dark-webkit-1-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+157 KB
...ots/ReactUnipika-with-chevron-collapse-icon-light-chromium-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+175 KB
...apshots/ReactUnipika-with-chevron-collapse-icon-light-webkit-1-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+32.8 KB
...ctUnipika-with-custom-toolbar---collapse-all-dark-chromium-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+38.7 KB
.../ReactUnipika-with-custom-toolbar---collapse-all-dark-webkit-1-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+31.8 KB
...tUnipika-with-custom-toolbar---collapse-all-light-chromium-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+37.1 KB
...ReactUnipika-with-custom-toolbar---collapse-all-light-webkit-1-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+192 KB
...ika-with-custom-toolbar---search-interaction-dark-chromium-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+211 KB
...Unipika-with-custom-toolbar---search-interaction-dark-webkit-1-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+200 KB
...ka-with-custom-toolbar---search-interaction-light-chromium-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+224 KB
...nipika-with-custom-toolbar---search-interaction-light-webkit-1-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+164 KB
...x-snapshots/ReactUnipika-with-custom-toolbar-dark-chromium-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+177 KB
...t.tsx-snapshots/ReactUnipika-with-custom-toolbar-dark-webkit-1-webkit-linux.png
Oops, something went wrong.
Binary file added
BIN
+167 KB
...-snapshots/ReactUnipika-with-custom-toolbar-light-chromium-1-chromium-linux.png
Oops, something went wrong.
Binary file added
BIN
+180 KB
....tsx-snapshots/ReactUnipika-with-custom-toolbar-light-webkit-1-webkit-linux.png
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| import React from 'react'; | ||
| import type {ToolbarProps} from '../../StructuredYson/types'; | ||
|
|
||
| export function CustomToolbarExample({ | ||
| onFilterChange, | ||
| onExpandAll, | ||
| onCollapseAll, | ||
| isCollapsed, | ||
| }: ToolbarProps) { | ||
| return ( | ||
| <div | ||
| style={{ | ||
| padding: '8px', | ||
| background: 'var(--g-color-base-background)', | ||
| borderBottom: '1px solid var(--g-color-line-generic)', | ||
| position: 'sticky', | ||
| top: '0px', | ||
| display: 'flex', | ||
| gap: '12px', | ||
| justifyContent: 'space-between', | ||
| zIndex: '1', | ||
| }} | ||
| > | ||
| <input | ||
| placeholder="Custom search..." | ||
| onChange={(e) => onFilterChange(e.target.value)} | ||
| data-qa="custom-toolbar-search" | ||
| style={{ | ||
| padding: '4px 8px', | ||
| border: '1px solid var(--g-color-line-generic)', | ||
| borderRadius: '4px', | ||
| flex: 1, | ||
| }} | ||
| /> | ||
| <button | ||
| onClick={isCollapsed ? onExpandAll : onCollapseAll} | ||
| data-qa="custom-toolbar-toggle" | ||
| style={{ | ||
| padding: '4px 12px', | ||
| border: '1px solid var(--g-color-line-generic)', | ||
| borderRadius: '4px', | ||
| background: 'var(--g-color-base-background)', | ||
| cursor: 'pointer', | ||
| }} | ||
| > | ||
| {isCollapsed ? 'Expand All' : 'Collapse All'} | ||
| </button> | ||
| </div> | ||
| ); | ||
| } |
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment of the commit contains unnecessary text
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I've removed the unnecessary conflict markers from the commit message.