-
Notifications
You must be signed in to change notification settings - Fork 336
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
Open links in a new tab setting in UI #1546
Open links in a new tab setting in UI #1546
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small changes and then you're good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meant to request changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once this gets added to the back-end, I'll do a lemmy-js-client release so you can get this working.
…geek/lemmy-ui into lemmy-282/add-open-in-new-tab-setting
Head branch was pushed to by a user without write access
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 minor thing, then its g2g.
.open_links_in_new_tab | ||
) { | ||
return "_blank"; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use an else here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the else
clause here is strictly unnecessary, it's just clutter. At the end of the day, it's the same code, just harder to read. I can add it if you feel like it's strictly necessary, but it doesn't add any value in that instance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please add it, I don't like default returns.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So they never added this simple change, and then closed the PR?
…d-open-in-new-tab-setting
Closing cause it's never gonna be merged anyways |
@SleeplessOne1917 can we get a review on the newest changes, and an idea of whether it's good to go? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge conflicts, and you didn't address PR comments.
.open_links_in_new_tab | ||
) { | ||
return "_blank"; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So they never added this simple change, and then closed the PR?
Are maintainer commits enabled? If that's the case, can't you address it? It looks like a simple change unrelated to the functionality, that's just because of your preference. |
related to LemmyNet/lemmy#3318