You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, hackernews links within comments or posts will open in the original hackernews website (naturally). This might disrupt the user experience of hackernews-next if the user wants to continue browsing other hackernews items on the same website.
Tasks
using the replace/transform option in react-html-parser, replace all <a> tags where the URI starts with news.ycombinator.com/item with a custom link component.
set up the custom link component such that clicking it will trigger a popover, presenting the user with 2 choices - go to the original link or view the item in hackernews-next
Acceptance Criteria
Upon clicking a link matching news.ycombinator.com/item in comments or posts, a popover will be triggered, allowing the user to choose between going to news.ycombinator.com/item or hn.oyxw.xyz/item
The text was updated successfully, but these errors were encountered:
Background
Currently, hackernews links within comments or posts will open in the original hackernews website (naturally). This might disrupt the user experience of hackernews-next if the user wants to continue browsing other hackernews items on the same website.
Tasks
replace
/transform
option inreact-html-parser
, replace all<a>
tags where the URI starts withnews.ycombinator.com/item
with a custom link component.hackernews-next
Acceptance Criteria
news.ycombinator.com/item
in comments or posts, a popover will be triggered, allowing the user to choose between going tonews.ycombinator.com/item
orhn.oyxw.xyz/item
The text was updated successfully, but these errors were encountered: