Skip to content

Commit

Permalink
Release 2.33 (#2243)
Browse files Browse the repository at this point in the history
This release introduces support for the Source ID meta (Gravity Forms
2.9+), adds a new User Activation field to the View editor, and includes
various fixes and enhancements.

#### 🚀 Added
* Support for the Source ID meta introduced in Gravity Forms 2.9.
* New User Activation field in the View editor to activate users added
by the Gravity Forms User Registration add-on.
* Client-side validation of View editor settings to prevent incorrect
values.
* `:initials` merge tag modifier for Name fields to display initials.
* `:format` merge tag modifier for field inputs (e.g., `{Event
Field:1.1:format:Y-m-d}`).

#### 🐛 Fixed
* Merge tags in redirect URLs were not processed after editing or
deleting an entry in the lightbox.
* Individual Checkboxes field inputs incorrectly exported in CSV.
* Custom permalinks not being used in embedded Views.
* Deprecated filter notice when both the Advanced Filter extension
(version 3 or newer) and Gravity Flow are active.
* Labels for fields with empty values disappearing in mobile view when
joining forms using the Multiple Forms extension.
* Views defaulting to English instead of the site's language for users
without certain capabilities.

#### 🔧 Updated
* [Foundation](https://www.gravitykit.com/foundation/) to version
1.2.22.

#### 💻 Developer Updates
* Added `gravityview/template/field/csv/tick` filter to programmatically
modify the checkbox "check" output in CSV.
* Added `gravityview/shortcode/after-processing` action after a
`[gravityview]` shortcode is finished.


💾 [Build
file](https://www.dropbox.com/scl/fi/hzb1ofveml13nkj2y8oho/gravityview-2.33-e621cbbe3.zip?rlkey=jqhtrzpmzfx3i4gc9e4ed3gk0&dl=1)
(e621cbb).
  • Loading branch information
mrcasual authored Dec 20, 2024
2 parents 185c969 + 1527124 commit 95c81ac
Show file tree
Hide file tree
Showing 59 changed files with 2,040 additions and 541 deletions.
2 changes: 1 addition & 1 deletion assets/css/admin-global.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/admin-views.css

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions assets/css/scss/admin-global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,46 @@
}
}

.post-type-gravityview {
#wpcontent {
position: relative;
}

h1.wp-heading-inline {
margin-bottom: 24px;

&:before {
content: "";
display: inline-block;
width: 36px;
height: 36px;
margin-right: 8px;
position: relative;
top: 9px;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
background-image: url("data:image/svg+xml,%3Csvg fill='none' height='80' viewBox='0 0 80 80' width='80' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3CclipPath id='a'%3E%3Cpath d='m16 18h48v44h-48z'/%3E%3C/clipPath%3E%3Crect fill='%23ff1b67' height='80' rx='8' width='80'/%3E%3Cg clip-path='url(%23a)'%3E%3Cpath clip-rule='evenodd' d='m58.4105 54.6666h-5.5281v1.8333c0 3.0376-2.4922 5.5-5.528 5.5h-14.741c-3.0759 0-5.5281-2.4624-5.5281-5.5v-27.4999h-5.5281c-1.0428 0-1.8424.8207-1.8424 1.8333v18.3333c0 1.0126.7996 1.8334 1.8424 1.8334h.9216c.4841 0 .9209.4104.9209.9167v1.8333c0 .5062-.4368.9166-.9209.9166h-.9216c-3.0786 0-5.528-2.4624-5.528-5.5v-18.3333c0-3.0376 2.4494-5.5 5.528-5.5h5.5281v-1.8333c0-3.0376 2.4522-5.5 5.5281-5.5h14.741c3.0358 0 5.528 2.4624 5.528 5.5v27.5h5.5281c1.0027 0 1.8424-.8208 1.8424-1.8334v-18.3333c0-1.0126-.8397-1.8333-1.8424-1.8333h-.9216c-.5242 0-.9216-.4104-.9216-.9167v-1.8334c0-.5062.3974-.9166.9216-.9166h.9216c3.0385 0 5.5273 2.4624 5.5273 5.5v18.3333c0 3.0376-2.4888 5.5-5.5273 5.5zm-9.2137-31.1666c0-1.0126-.8424-1.8333-1.8424-1.8333h-14.741c-1.0401 0-1.8425.8207-1.8425 1.8333v32.9999c0 1.0126.8024 1.8334 1.8425 1.8334h14.741c1 0 1.8424-.8208 1.8424-1.8334z' fill='%23fff' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E");
}

&:after {
content: "";
position: absolute;
display: block;
left: -20px; // Adjust for the left padding applied to #wpcontent.
right: 0;
height: 84px;
background: white;
top: 0;
z-index: -1;

@media (max-width: 782px) {
height: 136px;
}
}
}
}

// Form Toolbar for connected views
#wpwrap .gv_connected_forms {

Expand Down
4 changes: 4 additions & 0 deletions assets/css/scss/admin-metabox-panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@
}
}

select {
width: 100%;
}

textarea {
vertical-align: top;
height: 3.5em;
Expand Down
20 changes: 19 additions & 1 deletion assets/css/scss/admin-views.scss
Original file line number Diff line number Diff line change
Expand Up @@ -594,11 +594,19 @@ $gv-overlay-index: 10000;

th,
td {

span, input {
font-weight: normal !important;
}

input.gv-error {
border: 1px solid $color-red;
}

.gv-error-message {
margin-top: 4px;
color: $color-red;
}

// 2.6 field groups in the Merge Tag dropdowns inside View Settings
.gform-dropdown--merge-tags .gform-dropdown__group-text {
font-weight: 500 !important;
Expand Down Expand Up @@ -814,6 +822,16 @@ $gv-overlay-index: 10000;
margin-top: 1em;
transition: none;

// Disable default WP style and use .alternate instead to support hidden items.
.striped > tbody {
> :nth-child(odd) {
background-color: initial;
}
.alternate {
background-color: #f6f7f7;
}
}

#gv-view-configuration-tabs-tooltip {
position: absolute;
right: 0;
Expand Down
Loading

0 comments on commit 95c81ac

Please sign in to comment.