PurpleTurtleCreative / completionist

Asana integration plugin for WordPress.
https://purpleturtlecreative.com/completionist/
GNU General Public License v3.0
1 stars 0 forks source link

Ability to customize the "Section" label in the TaskModal #136

Closed MichelleBlanchette closed 1 year ago

MichelleBlanchette commented 1 year ago

A user would like "Section" to instead be displayed as "Status" since they're using project sections like a Kanban board with status columns. This is very common and should be allowed.

Immediately, I'm thinking it should be customizable via custom code. It doesn't make sense as a global option in the plugin's settings and it also doesn't make sense as a shortcode attribute because it doesn't always apply, right? List view doesn't label the project section titles, and Board view probably wouldn't either... though it will use the TaskModal. 🤔 I don't know; you figure it out! 😆

MichelleBlanchette commented 1 year ago

Hopefully we can use the apply_filters() equivalent in JavaScript to create a hook for this..?

See: https://developer.wordpress.org/block-editor/reference-guides/packages/packages-hooks/

MichelleBlanchette commented 1 year ago

I just realized I made this Issue under the free plugin when it really only applies to Pro. However, I'm actually using this as an opportunity to optimize the frontend customization hooks, like how Pro overrides the display of the [ptc_asana_project] shortcode from Completionist Free.

MichelleBlanchette commented 1 year ago

Technically closed by https://github.com/PurpleTurtleCreative/completionist-pro/pull/18