-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hyperlink URLs so that they are clickable #141
Comments
@iteles thank you for opening this issue to capture your feedback/requirements. 🙌 At present the behaviour we have for If you can please be specific with your requirements. Related to dwyl/app#281 which is specific to GitHub links and dwyl/app#279 more generic. 🔗 |
I've added a starter acceptance criteria 👍 If the interaction is difficult on mobile because of the smaller touch area and getting that right, we could add the following as an addition to criteria 3:
|
@iteles these acceptance criteria are a good starting point 👌 In the 3rd AC the part about "and takes you to that tab" is definitely a separate requirement We can set the links to Let's start by trying to split the We can pair on this today when Follow up question: should an |
hey everyone! @nelsonic @iteles @LuchoTurtle I hope you are doing well! I was thinking of getting this issue, I know this is old, but is there some progress on this? If you guys have any other issue or even repo in mind so I can contribute more, let me know! |
@panoramix360 thanks for reminding us of this feature. We are very keen to have it. 🔗 However ... 🤔 💭 Revisiting the Code: mvp/lib/app_web/live/app_live.html.heex Lines 420 to 427 in 93df1b9
Instead of just calling a |
hey! nice tests! I believe that inserting We should only test if the link will be clickable and won't trigger the phx-click on the label. Are you making an experiment? |
@panoramix360 yeah, I’m trying to get something working. But it looks like I may need to use a LiveView Component … 💭 |
Good idea, we could create a LiveView component called Inside it, it will receive a text, then separate the links and use the link library to shorten it. And render the I think that's a good solution and keep things separate. |
Full Try it: https://amemo.fly.dev # Hello Inês! 😊
Write something **bold**, _italic_ or ***both*** with a
[link](https://mvp.fly.dev/)
and some code `dbg("hello")`.
Pasting URLs directly works too:
https://mvp.fly.dev
![iteles](https://avatars.githubusercontent.com/u/4185328?s=80&v=4)
+ Bullet Point
1. Ordered List Quietly confident that we can get this working in the |
Thanks to: dwyl/link#5 Try it: https://amemo.fly.dev/ Type some text ...
[link](https://mvp.fly.dev/)
https://mvp.fly.dev/
Long links are compacted:
https://github.com/dwyl/mvp/issues/141#comment Only a couple more steps until this is in the |
@panoramix360 thanks for QA-testing. 🙏 |
@iteles given the work done in https://github.com/dwyl/link this feature is practically "low hanging fruit" at this point. From your original Acceptance Criteria: I've not added the underline. Because But if you are keen on having the underline that's 1-line of So happy for you to make a decision on this. ⚖️ The color change on hover is implemented: dwyl-mvp-hyperline-urls.movPlease let us know if you feel this is already in a useful state and we will create a PR to ship it. |
Only applied |
Made a couple of updates; so links are underlined and |
As a user who keeps the details to her tasks elsewhere (for now, until further notes and attachment features are available),
I would like to be able to have link I add to my list items be clickable
So that when I go into my list I can quickly click through to the things I need to reference in order to be able to get up and running with my task quickly.
Level 2 of this will be to have the links converted to a short URL as opposed to just hyperlinked but that is absolutely not a priority for now!
Acceptance Criteria
enter
to complete the writing stage of my task, the URL portion of the task appears underlinedThe text was updated successfully, but these errors were encountered: