# New action button

**URL:** <https://forum.communityhealthtoolkit.org/t/new-action-button/2087>\
**Category:** Development\
**Created:** [August 8, 2022, 7:01am UTC](https://forum.communityhealthtoolkit.org/t/new-action-button/2087 "2022-08-08T07:01:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jkuester](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/jkuester/32/806_2.png) [@jkuester](https://forum.communityhealthtoolkit.org/u/jkuester)\
**Post date:** [August 8, 2022, 3:04pm UTC](https://forum.communityhealthtoolkit.org/t/new-action-button/2087/2 "2022-08-08T15:04:26Z")

</div>

Short answer is no. I do not think it is currently possible to _dynamically_ change [the label](https://github.com/medic/cht-core/blob/7baac9c39b5bf9b13caf1f03376a6121b6522aa2/ddocs/medic/_attachments/translations/messages-en.properties#L282) on [that button](https://github.com/medic/cht-core/blob/8bca58925d4e09a94d5533d59fcfd974277c9cf5/webapp/src/ts/components/actionbar/actionbar.component.html#L189). (Should, of course, be able to supply a custom translation to _statically_ set the label, but it will not dynamically change based on context.)

I do have a couple of other thoughts. First, it is worth noting that there are some [proposed UI changes](https://forum.communityhealthtoolkit.org/t/updates-to-the-cht-ui-ux/1998) that I believe would impact that button specifically (changing it to just a ➕ button following the standard material design). I am not sure how that might look different on a desktop browser, though.

Also, the idea of adding custom actions to the action bar is the kind of thing that would be really interesting to propose as a use-case for [a plugin/add-on](https://forum.communityhealthtoolkit.org/t/plugins-add-ons-and-extensibility/2068)!

---

_[View the full topic](https://forum.communityhealthtoolkit.org/t/new-action-button/2087)._
