shridhar-tl / jira-assistant

Repository containing source code of Jira Assistant browser extension. This is also used to track bugs related to the extension.
https://www.jiraassistant.com
247 stars 77 forks source link

Translate special characters like \n #273

Open kihayu opened 1 year ago

kihayu commented 1 year ago

Checklist before you being

How do you use Jira Assistant?

Web version

Are you using cloud version of Jira or self hosted (data center / server) of Jira.

Cloud Jira

Version of Jira Assistant

v2.47

What browser are you using?

Chrome

Feature Suggestion

I recently started using the "Import Worklog" feature. At my work, it is common for me to have comments that include texts spread across multiple lines, separated with an "enter" (\n). However, when I import my work log with \n within, it is written as is inside the comment. It would be great if there was an option to translate special characters like that so they are displayed as I desire.

If I find the time, I will take a look at the source code and implement it myself.

Checklist before you submit

shridhar-tl commented 1 year ago

Hi @kihayu - I have done some analysis on this and it seems like supporting this formatting itself is a big activity. I don't see any public library currently supporting this which can be used in JA.

Hence I am keeping this on hold until a feasible solution is found.

Reference: The following library is something to be looked at in future: @atlaskit/adf-utils. But if there are any other better suggestions from anyone please let me know.