-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Notifier][Bluesky] Add support for tags facet #59784
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
base: 7.4
Are you sure you want to change the base?
Conversation
Please add a line in the changelog, thanks |
4697321
to
a90ab12
Compare
@@ -238,6 +238,39 @@ public function testParseFacetsUrlWithEmoji() | |||
$this->assertEquals($expected, $output); | |||
} | |||
|
|||
public function testParseFacetsHashTags() | |||
{ | |||
$input = 'Salut #test #123 #テスト http://bsky.app'; |
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.
Maybe you could update the URL http://bsky.app
to use something like http://bsky.app#fragment
to see if the regex doesn't catch the URL fragment as a hashtag. Thanks.
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.
Regarding URLs (and tags), this is already the default behavior when not using facets. Any benefits in doing it via facets?
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.
@romainneutron It's great to see you here! Welcome back.
@@ -238,6 +238,39 @@ public function testParseFacetsUrlWithEmoji() | |||
$this->assertEquals($expected, $output); | |||
} | |||
|
|||
public function testParseFacetsHashTags() | |||
{ | |||
$input = 'Salut #test #123 #テスト http://bsky.app'; |
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.
Regarding URLs (and tags), this is already the default behavior when not using facets. Any benefits in doing it via facets?
friendly ping @romainneutron and can you also add an entry to the CHANGELOG? Thanks |
This PR adds support for tags facet on Bluesky notifier
The documentation is here https://docs.bsky.app/docs/advanced-guides/post-richtext