Category: DT Theme Releases

Theme Release v1.34.0

December 9, 2022

New Features

  • Avoid duplicates on Contact creation with duplicate checker by @prykon
  • Create Roles with default post type permissions

Fixes

  • Fix language label for Romanian
  • Fix WP Admin font icon picker not loading
  • Fix searching for comments in list view
  • Unblock /wp/v2/users/me for some plugins to work better (iThemes Security).

Development upgrades

  • Add dev key option to site links to be reference by plugins

Details

Contact Creation Duplicate Checker

We now check if another contact already exists for a certain email in order to avoid creating duplicate contacts. Also works with phone numbers. duplicate-emails

Create Roles with default post type permissions

We made it easier to create custom roles with specific permissions for all the record types (contacts, groups, trainings, etc). image

Site link dev key (developer)

Add a custom key to the site link configuration. This lets a plugin find its needed site link image

$site_keys = Site_Link_System::instance()::get_site_keys();
//filter for site_key['dev_key'] === 'your_dev_key';

Full Changelog: https://github.com/DiscipleTools/disciple-tools-theme/compare/1.33.0...1.34.0


Theme Release v1.33.0

November 28, 2022

New

  • Switching from poeditor.com for translations to https://translate.disciple.tools/
  • Ability to hide a tile based on custom conditions
  • Use locations in workflows
  • Remove items in workflows

Dev:

API: Ability to check if a contact email or phone already exists before creating a contact.

Fixes

  • Fix deleting a report in the WP Admin
  • Fix nothing happening when updating a comment
  • Load metrics faster when there are a lot of groups
  • set D.T to not cache pages to avoid showing outdated data in some cases.

Details

Translations with https://translate.disciple.tools

We moved translation of Disciple.Tools from poeditor to a new system called weblate found here: https://translate.disciple.tools

Would you like to help us test it out on the theme? You can create an account here: https://translate.disciple.tools And then find the theme here: https://translate.disciple.tools/projects/disciple-tools/disciple-tools-theme/ For documentation have a look at: https://disciple.tools/user-docs/translations/

Why Weblate? Weblate offers us a few advantages that we couldn't take advantage of with Poeditor.

  • Reusing translations or copying translations from similar strings.
  • Better wordpress compatibility checks.
  • Ability to support many plugins. We are excited about this capacity to bring many D.T plugin to other languages as well.

Ability to hide a tile based on custom conditions

After customizing your Disciple.Tools instance with more fields and tiles, it can become useful to only sometimes display a tile with a group of fields. Example: Lets only show the Follow Up tile when the contact is active.

We can find this setting at WP Admin > Settings (D.T) > Tiles tab. Select the Follow Up tile.

Here, under Tile Display, we can select Custom. Then we add the Contact Status > Active display condition and save.

image

Use locations in workflows

When using workflows to automatically update records, we can now add and remove locations. Example: if a contact is in location "France", when can auto assign the contact to Dispatcher A.

Remove items in workflows

We can now use workflows to remove more items. Contact is archived? Remove the custom "follow-up" tag.

API: Check if a contact email or phone already exists before creating a contact.

Currently used by the webform plugin. Normally filling out the webform creates a new contact. With the check_for_duplicates flag, the API will search for the matching contact and update it instead of creating a new contact. If no matching contact is found, then a new one is still created.

See docs for the API flag.

See all changes since 1.32.0 here: https://github.com/DiscipleTools/disciple-tools-theme/compare/1.32.0...1.33.0


Theme Release v1.32.0

October 10, 2022

New

  • New Link field type
  • People Groups in Core
  • D.T Usage

Dev

  • Filter for registered D.T plugins
  • Ability to update a duplicate record instead for creating a new one

Details

New Link field type

One field to hold many values. Like the phone number or email address fields, but customizable to your needs.

Peek 2022-10-10 12-46

People Groups

Enable the People groups tab in WP Admin > Settings > General to display the people groups UI. This replaces the people groups plugin. image

D.T Usage

We've updated how we collect telemetry on Disciple.Tools to include countries and languages used. For more information, and for the ability to opt out. See WP Admin > Utilities (D.T) > Security

Filter for registered D.T plugins

Ping the dt-core/v1/settings endpoint to get a list of registered D.T plugins. Docs.

Ability to update a duplicate record instead for creating a new one

When creating a post, used the check_for_duplicates url parameter to search for duplicates before creating a new post.

See documentation


Theme Release v1.31.0

September 21, 2022

New

  • Mapping v2 Upgrade by @ChrisChasm
  • Always show record name in details tile by @corsacca
  • Show clickable connection fields it details tile by @corsacca

Fixes

  • Fix error sending daily email digest
  • Let strategist see the Critical Path metrics again
  • Upgrade Release modal by @prykon

Dev

  • Use Github Actions instead of Travis. Available from the Starter Plugin

Details

Mapping v2 Upgrade

  • Updated map polygons
  • Updated population counts
  • One place to install more administrative levels (lower than the state level) in WP Admin > Mapping > Levels

Github Actions

Developers can now enjoy code style and security checks out of the box when creating a plugin from the Disciple.Tools starter plugin

See full changelist: https://github.com/DiscipleTools/disciple-tools-theme/compare/1.30.0...1.31.0


Theme Release v1.30.0

August 10, 2022

What's New

  • Status Indicators on records by @kodinkat
  • Font Icon Selector by @kodinkat
  • List Filters: Add ability to exclude field values by @kodinkat
  • List Filters: search for field by @kodinkat
  • Custom Workflows: action to set current date by @cairocoder01
  • Custom Workflows: workflow updates show as being done by the workflow name in activity by @kodinkat

Fixes

  • Custom Workflows: fix infinite updating loop by @kodinkat
  • Merging: fix to keep email or phone from being removed by @kodinkat
  • Merging: fix for when a connection field is not available by @corsacca

Details

Status Indicators on records

See the record status in Advanced Search or in record lists

image

image

image

Font Icon Selector

Used in the field updating section WP Admin > Settings (D.T) > Fields This gives us the ability to choose the field icon by selecting from a list of existing icons.

font-icon

Exclude Filters

Chose items to exclude when creating a custom filter exclude

Filters Search for fields

Type to search for the field you are looking for filters-search


Theme Release v1.29.0

June 14, 2022

What's Changed

  • Add flags to the language dropdown by @kodinkat
  • New Merge Interface for All Post Types by @kodinkat

Fixes

  • Make sure hidden fields are hidden on new post page by @corsacca
  • Show more results in advanced search by @corsacca
  • Show Notification when adding users in disabled on a multisite by @kodinkat
  • Fix tile title translations by @corsacca
  • fix for number fields with a min or max limit by @squigglybob

Dev

  • Option to geocode an address to a location when creating or updating a record @kodinkat
  • Ipstack api fix by @ChrisChasm
  • pre-commit hook to run phcbf fixing phpcs styling issues by @squigglybob

Details

Add flags to the language dropdown by @kodinkat

image

New Merge Interface for All Post Types by @kodinkat

Merge Contacts, Groups or any record type with another record. On any record click the "Admin Action" dropdown and then "Merge with another record".

image

Option to geocode an address to a location when creating or updating a record @kodinkat

See docs.

$fields = [
  "contact_address" => [
    ["value" => "Poland", "geolocate" => true] //create
  ]
]

Full Changelog: https://github.com/DiscipleTools/disciple-tools-theme/compare/1.28.0...1.29.0


Theme Release v1.28.0

May 25, 2022

New

  • Custom number field by @squigglybob
  • Draggable field options by @kodinkat
  • Better Custom Translations Interface by @kodinkat
  • Magic Link Apps tile help documentation @squigglybob

Fixes

  • Fix for the dispatcher being able to access the users list

Details

Custom number field

Use the WP Admin Fields UI to create custom number fields.

image

Give the number field upper and lower bounds:

image

image

Draggable field options

Break free from endless clicking; change the order of your field options by dragging them!

drag-fields

Better Custom Translations Interface

image


Theme Release v1.27.0

May 11, 2022

What's Changed

  • Upgrade list filters to show in the browser URL by @squigglybob
  • Collapse list filter tile by default on mobile view by @squigglybob
  • Simplify from 5 Spanish translations to 2 translations by @prykon
  • Group list page actions in a "More" dropdown by @prykon
  • Upgrade Field Explorer tool with edit field links and field icons by @squigglybob

Fixes

  • Allow field icons to be changed on all fields by @kodinkat
  • Make sure comments filter is always visible in the comments and activity section on a record by @squigglybob
  • Keep from displaying empty tiles on the group record @squigglybob
  • Bulk record creating: make sure now rows have the same fields by @kodinkat

Details

Upgrade list filters to show in the browser URL

The url for the lists page will now look something like this:

https://example.com/contacts?query=eyJmaWVsZHMiOlt7ImxvY2F0aW9uX2dyaWQiOlsiMTAwMDg5NTg5Il19XSwic29ydCI6Im5hbWUiLCJvZmZzZXQiOjB9&labels=W3siaWQiOiIxMDAwODk1ODkiLCJuYW1lIjoiTG9jYXRpb25zOiBGcmFuY2UiLCJmaWVsZCI6ImxvY2F0aW9uX2dyaWQiLCJ0eXBlIjoibG9jYXRpb25fZ3JpZCJ9XQ%3D%3D

The query above is for "All contacts in the Location: France". If you copy everything starting with ?queue and add it to your domain, you also will have the "Locations: France" filter. This might not look pretty but comes with some useful features.

  • More flexibility saving and bookmarking filters
  • Easier to share the filter with someone else on your team. For them to view or to save
  • More options to open up the list page form different parts of Disciple.Tools like the metrics page.

Group list page actions in a "More" dropdown

image

Upgrade Field Explorer tool with edit field links and field icons

Find the Field Explorer under WP Admin > Utilities (D.T) > Field Explorer

image

New role and capabilities manager in D.T 1.26.0

The new role manager, located inside the admin “Settings” menu, allows for the creation and management of custom user roles. Roles can be assigned to a users to limit or grant access to Disciple.Tools capabilities. Capabilities can be registered by disciple.tools theme and extension developers. See WP Admin > D.T Settings > Roles.

See this awesome loom by @incraigulous for a walk-through on how to use the role and capabilities manager: https://www.loom.com/share/c99b14c3be9c49fcb993b715ccb98d6e

Full Changelog: https://github.com/DiscipleTools/disciple-tools-theme/compare/1.26.0...1.27.0


Theme Release v1.26.0

May 6, 2022

What's Changed

  • Change the Disciple.Tools logo to a custom one by @prykon
  • Ability to translate quick actions by @prykon
  • Some icon upgrades by @mikeallbutt
  • New role and capabilities manager by @incraigulous
  • Group Metrics: Support custom group types by @kodinkat
  • Group Members: Only show leader icon once by @prykon
  • Record list: "Show Archived" toggle. by @squigglybob
  • Bulk add records page. by @kodinkat

Update Details

Change the Disciple.Tools logo to a custom one

In WP Admin > D.T Settings > Custom Logo, click upload to add your own logo

image

And have it show in the navbar:

image

Ability to translate quick actions by

IN WP Admin > D.T Settings > Custom Lists tab > Quick Actions Click tho Translation button to add custom translations to each quick action.

image

New role and capabilities manager

See WP Admin > D.T Settings > Roles.

Group Metrics: Support custom group types by

image

Group Members: Only show leader icon once by

Record list: "Show archived" toggle

Filter out archived contacts or inactive groups on the list page by clicking the "Show Archived" button

show archived

Bulk add records page

See "new group" > "Add Bulk Records?" button

bulk_add2

Full Changelog: https://github.com/DiscipleTools/disciple-tools-theme/compare/1.25.0...1.26.0