avih75 / Action_Button_Control

Button for work item
MIT License
2 stars 5 forks source link

Feature request: Copy text without formatting #18

Open mpgraven opened 2 years ago

mpgraven commented 2 years ago

Excellent tool. It really streamlines our workflow.

I am wondering if it is possible to copy just text from a multi-line text field without copying the formatting.

Since the Description field and other multi-line fields in ADO are rich text, various html tags are copied into the new child work item. Even if you erase all formatting (or even delete all of the text in the text box), ghost

tags are left in the text field. This becomes an issue when using the export to CSV feature. The Excel file ends up with lots of extra tagging in the cells.

Judging by various forums, it sounds like this is a frequent issue that is not being addressed. It would be extremely helpful for some teams to have the ability to strip that tagging when copying a Description field into the new work item.

Side question: In the configuration window, the "Actions names (New Work Item/Not a Bug/Convert Work Item/Command)" field --> What is the Command? I haven't been able to find anything that explains what this option is or how to implement it. Can you point me to any pages/docs that elaborate on the Command action?

Thanks for the great tool.

avih75 commented 2 years ago

Hi, thank you Actualy, i dont have any other docs... It is really nececary. ( i will try write you one)

I have several extensions, one of them if i recall, summery field. And you can use it to create a copy of a fields and i think i do remove the tags from there. If you give me a full senario use case, i will try to help you.

Thank you

השג את ‏Outlook עבור Android‏https://aka.ms/AAb9ysg


From: mpgraven @.> Sent: Friday, January 21, 2022 10:05:11 PM To: avih75/Action_Button_Control @.> Cc: Subscribed @.***> Subject: [avih75/Action_Button_Control] Feature request: Copy text without formatting (Issue #18)

Excellent tool. It really streamlines our workflow.

I am wondering if it is possible to copy just text from a multi-line text field without copying the formatting.

Since the Description field and other multi-line fields in ADO are rich text, various html tags are copied into the new child work item. Even if you erase all formatting (or even delete all of the text in the text box), ghost

tags are left in the text field. This becomes an issue when using the export to CSV feature. The Excel file ends up with lots of extra tagging in the cells.

Judging by various forums, it sounds like this is a frequent issue that is not being addressed. It would be extremely helpful for some teams to have the ability to strip that tagging when copying a Description field into the new work item.

Side question: In the configuration window, the "Actions names (New Work Item/Not a Bug/Convert Work Item/Command)" field --> What is the Command? I haven't been able to find anything that explains what this option is or how to implement it. Can you point me to any pages/docs that elaborate on the Command action?

Thanks for the great tool.

— Reply to this email directly, view it on GitHubhttps://github.com/avih75/Action_Button_Control/issues/18, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIPBUI4TJY6R3PWLVNUL3FTUXG37PANCNFSM5MQNNYRQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.***>

mpgraven commented 2 years ago

Thanks for the quick reply.

Here's our scenario: We use ADO to manage the intake of content for a variety of content channels (e.g. newsletters). When we approve a piece of content (a work item) to enter a channel, we use your extension to create the child ticket specific to that channel and bring in the appropriate fields (including Description text). Eventually, to produce a newsletter or other item, we export all the current work items for that channel to a CSV. This is where we encounter a problem--the CSV often includes tagging throughout the Description column (or other multi-line ADO text field columns) that then needs to be cleaned up (which undermines the automation we have built around the CSV ingestion). We just want to copy of the Description field without all the unnecessary

tags.

Thanks.