Skip to content
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

Closed

Conversation

sbordeyne
Copy link
Contributor

related to LemmyNet/lemmy#3318

Copy link
Member

@SleeplessOne1917 SleeplessOne1917 left a 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.

Copy link
Member

@SleeplessOne1917 SleeplessOne1917 left a 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.

Copy link
Member

@dessalines dessalines left a 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.

auto-merge was automatically disabled July 14, 2023 12:36

Head branch was pushed to by a user without write access

Copy link
Member

@dessalines dessalines left a 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";
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use an else here.

Copy link
Contributor Author

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

Copy link
Member

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.

Copy link
Member

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?

@sbordeyne
Copy link
Contributor Author

Closing cause it's never gonna be merged anyways

@sbordeyne sbordeyne closed this Jul 23, 2023
@krestenlaust
Copy link
Contributor

@SleeplessOne1917 can we get a review on the newest changes, and an idea of whether it's good to go?

Copy link
Member

@dessalines dessalines left a 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";
}
Copy link
Member

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?

@krestenlaust
Copy link
Contributor

Merge conflicts, and you didn't address PR comments.

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.
Otherwise, I'd have to make a PR to his fork, which then starts to get a bit messy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants