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.26 #2094

Merged
merged 107 commits into from
Aug 8, 2024
Merged

Release 2.26 #2094

merged 107 commits into from
Aug 8, 2024

Conversation

zackkatz
Copy link
Member

@zackkatz zackkatz commented Jul 29, 2024

This update resolves various issues, including compatibility with Yoast SEO, improves performance through enhanced View entries caching, and adds new functionality.

🚀 Added

  • Ability to modify the entry creator’s information on the Edit Entry screen.
  • Merge tag modifier for formatting Date and Time fields (e.g., {Date Field:1:format:Y-m-d}).
  • Placeholders in View Settings to inform you that additional functionality is available.

✨ Improved

  • The "Sort By" option in the GravityView Gutenberg block now offers a dropdown selection of fields instead of requiring manual entry of the field ID.
  • Caching of View entries to prevent unnecessary database queries. Thanks, Shehroz!

🐛 Fixed

  • Timeout issue when rendering a page/post with GravityView Gutenberg blocks when Yoast SEO is active.
  • View editor fields added to the Single or Edit Entry layouts inheriting options from the View type set in the Multiple Entries layout.
  • An issue in the Search Bar widget configuration where adding a Date field caused the search mode ("any" and "all") to no longer be toggleable.
  • [gv_entry_link] shortcode not rendering inside the Custom HTML block.

🔧 Updated

💻 Developer Updates

  • Added: gk/gravityview/feature/upgrade/disabled filter to disable the functionality placeholders. Return true to disable the placeholders.
  • Added: gk/gravityview/metabox/content/before and gk/gravityview/metabox/content/after actions, triggered before and after the View metabox is rendered.

💾 Build file (19725d5).

zackkatz and others added 30 commits February 2, 2024 16:43
This needs to be DRY'd and improved, but it's looking pretty good.
Traits allow us to not add too much into the abstract plugin and theme hooks class.

To make a class function as a placeholder, you add `use GravityView_Functionality_Placeholder;` then implement the abstract methods.
- Extracted a placeholder.php template
- Replaced `add_placeholder_hooks` with a more generic `add_inactive_hooks` when the plugin is inactive.
- Removed the trait and opted for a Placeholder value object
- Added `extra_nav_class` option to a metabox for displaying purposes.
- Added a `gk/navigation/tab` hook to overwrite the navigtaion label HTML.
- Added hooks before and after a metabox for additional rendering purposes.
zackkatz and others added 12 commits August 5, 2024 17:07
This handles multi-rule strings while also sanitizing
This implements #2040.

- I created merge tags modifier 'format' for both time and date
- The only thing that is not clear to me is when does this hook run
gravityview/merge_tags/modifiers/value
I tried a lot of values and modifiers but I can't get it to run so i can
see if it has anything to do with date or time
{Time:4:format:g:i a}
{Date:3:format:m-d-Y}



💾 [Build
file](https://www.dropbox.com/scl/fi/x43gyurdn5r1utq1jklsv/gravityview-2.25-2930ecfc2.zip?rlkey=k25yotxfn9wb4krxi3sgcaffd&dl=1)
(2930ecf).
@mrcasual mrcasual changed the title Version 2.25.1 [WIP] Release 2.26 Aug 8, 2024
@mrcasual mrcasual added this to the 2.26 milestone Aug 8, 2024
@mrcasual mrcasual changed the title [WIP] Release 2.26 Release 2.26 Aug 8, 2024
@mrcasual mrcasual merged commit 3905990 into main Aug 8, 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.

5 participants