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

Release 2.31 #2188

Merged
merged 69 commits into from
Nov 4, 2024
Merged

Release 2.31 #2188

merged 69 commits into from
Nov 4, 2024

Conversation

mrcasual
Copy link
Collaborator

@mrcasual mrcasual commented Nov 1, 2024

This release introduces flexible widget positioning in Views, enhances entry-in-a-lightbox functionality, and adds support for the Gravity Forms 2.9+ Image Choice field. It also addresses compatibility issues with LiteSpeed, Divi, and LifterLMS, along with various other fixes and improvements.

🚀 Added

  • Ability to position widgets in the View editor using predefined layouts, offering a range of single or multi-column configurations with varying widths.
  • View setting to control what happens when a user clicks the Cancel link when editing an entry in the lightbox.
  • Support for the upcoming Image Choice field in Gravity Forms 2.9+.

🐛 Fixed

  • GravityView tab not displaying in certain cases under GravityKit > Settings menu.
  • Widgets could not be configured after being added to a new, unsaved View.
  • Compatibility with the Divi theme that prevented the Signature field from being edited on the Edit Entry screen.
  • Conflict with the LiteSpeed plugin that caused a fatal error when redirecting users after duplicating an entry.
  • JavaScript enqueued in the site's footer was not executed when editing an entry in the lightbox.
  • It was not possible to add new entry notes when viewing a single entry in the lightbox.
  • Validation error displayed when adding merge tags to the Entry Slug setting input in the View editor.
  • The search box in the Change Entry Creator field did not return results when editing an entry on the Forms > Entries screen.
  • Fatal error when activating LifterLMS with GravityView active.
  • Searching across all fields not working as expected when the search value contains special characters or accents (e.g., ä, ß, İ).

🔧 Updated

💻 Developer Updates

  • Added gk/gravityview/lightbox/entry/before-output action that fires before the entry content is output in the lightbox.
  • Added gk/gravityview/lightbox/entry/output/head-before action that fires after the tag is opened.
  • Added gk/gravityview/lightbox/entry/output/head-after action that fires before the tag is closed.
  • Added gk/gravityview/lightbox/entry/output/content-before action that fires after the tag is opened and before the content is rendered.
  • Added gk/gravityview/lightbox/entry/output/content-after action that fires after the content is rendered and before the footer.
  • Added gk/gravityview/lightbox/entry/output/footer-after action that fires after the footer and before the closing tag.
  • Added gravityview/fields/image_choice/image_markup filter to modify the Image Choice field (Gravity Forms 2.9+) markup.
  • Added gravityview/fields/image_choice/output_label filter to control whether to display the value or label of an Image Choice field.

mrcasual and others added 16 commits November 3, 2024 10:22
This PR addresses #1921.

I've taken a free interpretation of the designs in Figma, to keep
progress up.

Currently it only focusses on Widgets. 

- [x] Some extra styling
- [x] Multiple Forms button styling
- [x] Add support for fields (letting templates opt-in; DIY by default?)
- [x] Global opt-in setting to this behaviour (?)

💾 [Build
file](https://www.dropbox.com/scl/fi/aa8kibp5utw4ry09ko0fd/gravityview-2.30.1-59fe66296.zip?rlkey=f7m2vyw7s9dlu1d4p88rn23jn&dl=1)
(59fe662).
… gravity forms 29 (#2174)

- Implements #2120
- Support the option to choose what to display, choice, value, or image
(for image choices) on the field options modal for both fields.
- Fixed both fields doesn't show the selected choice when editing (but
allows it to be edited)
- Added both fields to the Search Bar

💾 [Build
file](https://www.dropbox.com/scl/fi/obizyjguoqrfmwfn4k4fa/gravityview-2.29-9f627988e.zip?rlkey=78djrf2kuxbvmo38pfdszhazl&dl=1)
(9f62798).
Ref: https://wordpress.org/support/topic/lifterlms-fatal-error/

To reproduce the original issue: activate GravityView (`develop` branch)
followed by LifterLMS.

After the fix:

![CleanShot 2024-11-02 at 09 50
21@2x](https://github.com/user-attachments/assets/6c81213f-493f-4bcb-984e-f73e6ea84fa8)

I did not test the actual functionality, but all settings work.

💾 [Build
file](https://www.dropbox.com/scl/fi/s8lds3vs7lswre571jb2d/gravityview-2.31-43a55ba24.zip?rlkey=o4folrfrvntonowdozee2izme&dl=1)
(43a55ba).
@mrcasual mrcasual merged commit 5085e77 into main Nov 4, 2024
1 check passed
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