Skip to content
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

feat: sync changes from v2 to v2-develop #872

Merged
merged 35 commits into from
Feb 3, 2025

Conversation

giscegit
Copy link
Contributor

@giscegit giscegit commented Feb 3, 2025

This PR syncs changes from the v2 branch to v2-develop.

mguellsegarra and others added 30 commits January 22, 2025 10:16
gisce/webclient#1646
- Added new localization strings for creating, searching, and navigating items in Catalan, English, and Spanish.
- Enhanced the One2many input components to utilize the toolbar from the current view, improving user experience and consistency across the application.
…nents

gisce/webclient#1646
- Added formRef to improve form submission handling in the FormActionBar and useFormToolbarButtons hooks.
- Refactored One2manyForm to support forwarding refs, enabling better integration with form functionalities.
- Updated One2manyInput and One2manyInputInfinite to utilize formRef for improved form management.
- Enhanced One2manyTopBar to integrate formRef and streamline toolbar button actions.

These changes improve the overall user experience and maintainability of the One2many components.
- Added "parent_id" to the allowed values keys in URL parameters
- Updated useUrlFromCurrentTab to include form values in the actionRawData.
- Modified RootView to merge filtered values with global values
- Ensured getPlainValues in Form handles potential null values for getValues and getFields.
- Updated the logic to prioritize form values over action values for non-tree views.
- For tree views with active_ids, merged form values with action values.
- Simplified the final action data structure by directly assigning merged values.
## [2.58.1](v2.58.0...v2.58.1) (2025-01-28)

### Bug Fixes

* adjust value key filtering in URL sharing ([9fd9d6a](9fd9d6a))
* also clear url when closing all tabs ([bf072e5](bf072e5))
* clear title when no tabs ([68d42f0](68d42f0))
* improve and export parameter filtering ([c79c3e0](c79c3e0))
* improve value merging logic in useUrlFromCurrentTab ([1b5d7dd](1b5d7dd))
* transform initialView to initialViewId ([28fff0a](28fff0a))
# [2.59.0](v2.58.1...v2.59.0) (2025-01-28)

### Bug Fixes

* adjust sharebutton for formactionbar ([b9f3d30](b9f3d30))
* bad conflict resolution ([6c09769](6c09769))
* improve action separator and treeactions bar ([c520994](c520994))
* remove unused function ([c68ec43](c68ec43))
* temporally disable toolbar in one2many's until we decide which design path follow ([7470e76](7470e76))

### Features

* add new localization strings and improve One2many top bar ([0081027](0081027))
* allow use of hooks from one2many's ([0419afe](0419afe))
* extract toolbar behaviour to hooks ([1600b5c](1600b5c))
* fetch toolbar if needed and if view of one2many is hardcoded ([6251874](6251874))
* improve actionbar components with react best practices ([4e8627e](4e8627e))
* improve form handling and toolbar integration in One2many components ([4d82eac](4d82eac))
## [2.59.1](v2.59.0...v2.59.1) (2025-01-28)

### Bug Fixes

* restore bad conflict resolution ([fd9d10f](fd9d10f))
## [2.59.2](v2.59.1...v2.59.2) (2025-01-29)

### Bug Fixes

* ditch the view get API call in one2many for the moment ([#864](#864)) ([e89afa4](e89afa4))
@mguellsegarra mguellsegarra merged commit d9337f4 into v2-develop Feb 3, 2025
1 check passed
@mguellsegarra mguellsegarra deleted the sync/v2-to-v2-develop-20250203-095522 branch February 3, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants