Closed kazaky closed 2 weeks ago
๐จ UI regression detected! Checkout the paparazzi-delta artifact. If these changes are expected, you can either:
gradlew cleanRecordPaparazziRelease
and commit the new golden images@spark-ui-bot paparazzi golden images
in this PR๐จ UI regression detected! Checkout the paparazzi-delta artifact. If these changes are expected, you can either:
gradlew cleanRecordPaparazziRelease
and commit the new golden images@spark-ui-bot paparazzi golden images
in this PR@spark-ui-bot paparazzi
๐จ UI regression detected! Checkout the paparazzi-delta artifact. If these changes are expected, you can either:
gradlew cleanRecordPaparazziRelease
and commit the new golden images@spark-ui-bot paparazzi golden images
in this PR@soulcramer Done
@coderabbitai summary
The overall change introduces a new Divider
component with HorizontalDivider
and VerticalDivider
variants. This update involves renaming imports and usages from Divider
to HorizontalDivider
, adding divider customization options, creating new configurations and examples, removing deprecated dividers, and updating related documentation, tests, and examples.
File(s) | Change Summary |
---|---|
.../configurator/component/Component.kt |
Renamed Divider to HorizontalDivider |
.../configurator/samples/divider/DividerConfigurator.kt |
Added DividerConfigurator for divider customization |
.../examples/divider/DividerExamples.kt |
Created examples for horizontal and vertical dividers |
.../examples/example/Example.kt |
Refactored Example composable to support Row and Column layouts |
.../samples/chips/ChipsExamples.kt |
Replaced Divider with MaterialHorizontalDivider |
.../model/Components.kt |
Added new Divider component in inventory before Dropdowns ; reordered imports |
.../model/Example.kt |
Split content property into rowContent and columnContent |
.../res/values/strings.xml |
Reordered annotations for existing texts; added new Divider description |
.../divider/DividerScreenshot.kt |
Added tests for generating divider screenshots |
.../components/divider/Divider.kt |
Deprecated old Divider ; added new HorizontalDivider and VerticalDivider |
.../components/divider/DividerIntent.kt |
Defined DividerIntent enum with options for divider colors |
.../components/divider/divider.md |
Documented HorizontalDivider and VerticalDivider components |
.../components/list/ListItem.kt |
Replaced Divider with HorizontalDivider in list item previews |
.../components/menu/DropdownMenu.kt |
Replaced Divider with HorizontalDivider in DropdownMenuItem function |
.../components/progress/tracker/ProgressTracker.kt |
Replaced custom dividers with MaterialHorizontalDivider and MaterialVerticalDivider |
.../components/tab/TabGroup.kt |
Updated SparkDivider component to HorizontalDivider in TabGroup.kt |
.../components/tab/TabRow.kt |
Updated SparkDivider to HorizontalDivider in SparkTabRow and ScrollableTabRow functions |
Objective | Addressed | Explanation |
---|---|---|
Add and implement Divider and its variants (#1077) |
โ | |
Add label support for dividers (#1077) | โ | |
Add screenshot testing (#1077) | โ | |
Add documentation for Divider (#1077) |
โ | |
Add examples for dividers (#1077) | โ | |
Add new configurator (#1077) | โ | The configurator file is present, but its functionality implementation isn't clear. |
[!TIP]
Early access features: enabled
We are currently testing the following features in early access: - **OpenAI `gpt-4o` model for code reviews and chat**: OpenAI claims that this model is better at understanding and generating code than the previous models. We seek your feedback over the next few weeks before making it generally available. Note: - You can enable or disable early access features from the CodeRabbit UI or by updating the CodeRabbit configuration file. - Please join our [Discord Community](https://discord.com/invite/GsXnASn26c) to provide feedback and report issues. - OSS projects are currently opted into early access features by default.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@soulcramer done
@soulcramer Let's proceed forward
๐ Changes
๐ค Context
Closes #1077
โ Checklist
spark-design
GitHub team.๐ธ Screenshots
๐๏ธ Other info
Summary by CodeRabbit
New Features
HorizontalDivider
andVerticalDivider
components for enhanced customization of UI dividers.Bug Fixes
Divider
component with newHorizontalDivider
across multiple UI components for consistency.Documentation
Tests
Refactor
HorizontalDivider
instead ofDivider
.