nudge icon indicating copy to clipboard operation
nudge copied to clipboard

Feature Request - Ability to add URL to MainText

Open Eltord opened this issue 4 years ago • 6 comments

It would be useful to be able to add an embedded link to the MainText body of the Nudge app. The use cases for this are primarily in the realm of helping users understand more about what is happening to their device, adding in help desk links, internally shared documentation, etc, and having more embedded links than just the "More Info" text to the bottom right is becoming more necessary now to make sure users have all the info they need from the techs and such.

Thank you

Discussion thread in Slack referencing this FR: https://macadmins.slack.com/archives/CDUU7DJQ2/p1633540020136200

Eltord avatar Oct 06 '21 20:10 Eltord

+1 on this from our org, we'd like to have this

sfc-gh-nkalister avatar Mar 04 '22 19:03 sfc-gh-nkalister

@bartreardon I want to implement something like https://gist.github.com/davidsteppenbeck/a51a55605cc93e696b3cf25066626173 and this might be a good way to also hook into this FR. What do you think given what you've done with your tool?

erikng avatar May 17 '22 14:05 erikng

I use the MarkdownUI framework which might not be something you want to attach.

macOS 12 attributed strings can use some limited markdown (cmark standard, although only partial, e.g. no headings AFAIK) so you can support in-text links already with

if #available(macOS 12.0, *) {
    Text("This is [a link](https://some.url.com)")
}

which will look something like:

image

If you want to support macos 11 for that type of stuff then you're looking at including a markdown framework though.

bartreardon avatar May 18 '22 00:05 bartreardon

+1 would be nice to include a link to our solutions article for Nudge in mainContentText.

We're already using the 'More Info' button to open a Self Service policy.

Would also be nice to bold portions of mainContentText.

07-C9 avatar Aug 12 '22 23:08 07-C9

+1 for enhanced markdown, ability to add bold text, bulleted lists, text colors, and urls in mainContentText would be huge

ehlersmj4814 avatar Nov 07 '22 20:11 ehlersmj4814

+1 for markdown. Would be create to create more dynamic messages for the end user.

rx7raven avatar Nov 09 '22 15:11 rx7raven