Releases: vaadin/copilot
Releases · vaadin/copilot
24.5.12
What's Changed
New Features
- Connect to service for Flow grid
- Support binding a Hilla grid to a custom service method
- Allow setting custom header for panels
- Allow setting example data for Charts in Hilla
- Pressing ESC should hide floating panels
- Allow setting example data for Grid in Hilla
- Restructure activation menu so the order can be understood and modified
Bug Fixes
- Display proper message when App container is React class component
- Cannot select disabled element with mouse clicks
- Log response code when Hilla request fails
- Retain errors that happened before loading Copilot
- Wrapping a child and a parent causes the parent to be deleted
- Scroll to element when it is outside of viewport only
- Handle 404 on plugin connection
24.5.11
New Features
- Inform that Kotlin is not supported when user wants to update view
- Route can be created using predefined templates
- Added "Go to attach source" for Flow components
- Improved UX of gap and padding updates
- Improved React 19 compatibility
Bug Fixes
- Selection is now cleared on location change
- Selection overlay is now visible when parent element is body
- Copying Details no longer creates invalid summary class
- Fixed issue where width could not be set to 'hug' for a new VerticalLayout
- Fixed issue of SpringBridge being called when Spring is not available
- Fixed issue where CheckboxGroup component does not work after copying and pasting
- Fixed issue where AI remains in progress indefinitely
24.5.10
New Features
- Connect grid to service for Hilla
- Redesigned component toolbar
Bug Fixes
- Selection should scroll into view when navigation with arrow keys
- Added copy and paste for Element ThemeList
- Selection is lost when wrapping a component
- Do not deselect and re-select when clicking on a selected component
- Overlay positions are no longer updated if you briefly pause scrolling
- Changed label editor from Input to TextArea
- Alignment detail is not opened for div elements
24.5.9
New Features
- Drawers have affordances added to increase visibility.
- Improved detection of type of dynamic content (like translations).
- Introduced generic types for UI services parameters.
- Included return type in UI services panel.
Bug Fixes
- Improved detection of project components and external components.
- Resolved issue where copying avatar group was not working correctly.
- Fixed issue with copying Accordion generating invalid properties.
- Restricted floating panel resizing to viewport.
- Resolved issue with the selection overlay being visible when scrolled out of view.
- Restricted badge width in theme editor.
- Fixed panels resizing close to the bottom/right edges.
- Introduced a way to disable non-local (e.g AI) features.
- Corrected badge position calculation based on overlay, not badge.
- Resolved issue with empty Copilot info panel showing when no component breadcrumb/info is present.
- Resolved issue with progress bar not showing when VS Code downloads.
- Fixed location of Activate and Deactivate Copilot options in the Copilot menu.
- Resolved issue with hover looking identical to selection.
- Prevented browser from showing images etc. dropped outside dropzones.
- Fixed i18n panel warning blinking.
24.5.8
Bug Fixes
- Fixed copy and pasting of MenuBar and Combo Box components
- Fixed failing creation of statement when Avatar Group item has url
- Fixed inline edition for all available text nodes
- Fixed sources and projects roots lookup for Gradle projects
- Fixed AI flow after preview is activated
24.5.7
What's Changed
- Flow updated to version 24.5.7
24.5.6
New Features
- Specific error message for Trial period expired in AI assistant
- Show a dismissable notification when a variable is renamed
- Show a notification early to customers when we cannot fetch sources (e.g. in Lit based views projects)
- Rename variable when changing text or label
- Hide warnings about IDE Plugin when running app from eclipse
Bug Fixes
- Copy and paste components implementing HasTheme, but with a null theme, should not raise an IllegalArgumentException
- Remove __copilotTreeNode from Html Element
- Copying does not work for TimePicker setMin, setMax methods
- Do not close overlay when mouse is in the surrounding area
- Ensuring setter present in the code for progress bar on copy
- Handle extra spaces in className in templates
- Copying DateTimePicker throws an exception and copying not used methods as well.
- Copying Checkbox adds redundant statements
- Class name should be copied when copying a flow component
- Use provided reference map for children components
- setMax...,setMin... statements are not copied
- Remove shift space hint from spotlight window
- Find create/attach location in the project
- Invalid syntax when copied prefix/suffix components
24.5.3
New Features
- Create fields when pasting a bean.
- Provided feedback for undo actions.
- Added user info to activation button.
- Introduced flexbox divs in the palette.
- Enabled wrapping with flexbox.
Bug Fixes
- Wrapped log messages correctly.
- Enabled inline editor for all text lines.
- Addressed whitespace and encoded characters during text editing.
- Improved route creation by navigating only when route exists.
- Fixed error on drop operation when one is already in progress.
- Prevented issues with drop causing visual disruptions.
- Added dummy tabsheet content if paste lacks it.
- Fixed issue in locating assignExpr.
- Resolved rich text editor copy issues.
- Ensured I18n element editor is expanded by default.
- Applied bg-contrast for consistent background styling.
- Filtered out router-related intermediate children from the tree.
- Fixed drag component handling by storing source tree node.
- Prevented menu access issues after drag actions.
24.5.2
What's New
- Support for pasting beans/records to create form fields for the properties
- Bug fixes, including
- Always tell the user to restart the server when creating views for new apps
- Correctly import Vaadin icons from Figma
- Improve error message when component is not found in the source
- Ignore properties that cannot be resolved when pasting a bean
- Import components from @vaadin/react-components to avoid extra page reloads
- Experimental features
- Copy/paste of Flow components
- UI test generation temporarily removed
24.5.1
What's New
- Supports pasting Java beans/records into a view to create form fields. Earlier versions only supported dragging and dropping of a Java file to create the fields.
- Bug fixes, including
- Inconsistent naming for Hotswap agent in VS Code #39
- Wrong assumption regarding code location #40
- Vaadin 24.5.0 Sidenav not stylable #41
- Theme editor keeps adding class names in some cases #43
- Exception about browser services when Hilla is not on the classpath
- Fails to import fields from Figma when the label only contained special characters