luckyframework / luckyframework/carbon
DevAdapter print_email option should highlight links
Nobody has claimed this yet.
- Dominant language
- Crystal
- Stars
- 87
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
It would be cool if all of the URLs in your email were like green or something when you use the dev adapter to print emails. A well designed email is LOADED with markup, and printing them to find your "confirm email" link is pretty difficult. Since the rest of the text comes out in the basic color, if we had a way to colorize the URLs, then it'd be easier to scan your terminal to find it.
To do this though, I get we'd have to re-parse the HTML which means we'd have to include an HTML parser, and things get messy. So this is more of a wishful thinking, but I'm posting anyway just in case someone gets an idea of how we can do this without it getting too crazy and requiring 3rd party shards.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the DevAdapter and its print_email option, then inspect how HTML email content is currently rendered for terminal output. Determine whether URLs can be highlighted without adding an HTML parser; done means links in printed emails are visibly distinguishable from the surrounding text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- crystal
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100