Matt Panaro
7fb47a4866
refactor handleChange to extract context from URLs
...
previously, the search box would only add new quickActions if raw `@` or `#` characters were found in the search string; but in the case of a drag and drop, or a copy-paste, of a URL into the search bar, no elements of the URL's path would be recognized for potential quickActions.
This change enables identification of possible hashtags or user accounts in a (presumed) mastodon URL; augmenting id by special input characters.
2025-01-03 11:51:11 -05:00
Matt Panaro
4b28d99f16
refactor handleChange to include helper-object for quickActions
...
parameterize and move all the objects being pushed to newQuickActions (inside of handleChange) into a helper-object called QuickActionGenerators, so that handleChange isn't so many lines; it also separates the concerns a bit between parsing search input text and generating quickActions based on it
2025-01-03 11:51:11 -05:00
Matt Panaro
da6a2d3b51
introduce drag & drop handlers to search box
...
without modification, default browser behavior for dropping new text on top of pre-existing text in an input field is to insert the new text in between whatever characters the mouse is pointing to at time of drop. Instead, by adding handlers, the pre-existing content can be overwritten/replaced. The primary use-case is for accessing quoted toots, or referenced hashtags or accounts, in the feed by searching for the linked URLs & showing the original/expanded version of them in the search results (as opposed to clicking on the links themselves and having them open in a new tab, on a potentially different mastodon server)
Since the search box is designed to actively process its input for context-clues, after the text has been dropped, an Input event is triggered to bubble up from the search-box's new handleDrop method, that will cause the handleChange method to be invoked. This strategy was adapted from https://stackoverflow.com/a/47409362
2025-01-03 11:51:11 -05:00
Claire
7d6da219c0
Remove old notifications actions and reducers ( #31843 )
2025-01-03 16:12:08 +00:00
Matt Jankowski
535866218e
Update rails
to version 8.0.1 ( #32357 )
2025-01-03 16:08:21 +00:00
Christian Schmidt
f9582bcfc3
Localize language names ( #33402 )
2025-01-03 15:29:25 +00:00
Claire
839a4e27a9
Fix incorrect relationship_severance_event
attribute name in changelog ( #33443 )
2025-01-03 13:23:01 +00:00
renovate[bot]
6ffa251d6a
Update dependency net-http to '~> 0.6.0' ( #33130 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 11:20:13 +00:00
renovate[bot]
098dd91523
Update dependency typescript to v5.7.2 ( #33059 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 11:16:44 +00:00
Claire
ed04547de2
Fix Renovate by temporarily constraining it to Ruby 3.3 ( #33440 )
2025-01-03 09:24:55 +00:00
Claire
79a9069deb
Add t
hotkey for post translations ( #33441 )
2025-01-03 09:24:50 +00:00
Matt Jankowski
7cbdcd7b3f
Add role-specific user fabricators ( #33437 )
2025-01-03 08:28:14 +00:00
github-actions[bot]
a8a16695f1
New Crowdin Translations (automated) ( #33439 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2025-01-03 07:53:00 +00:00
Matt Jankowski
590b7b2bb5
Use bundler version 2.6.2 ( #33436 )
2025-01-03 07:52:58 +00:00
Matt Jankowski
8e3fd1b823
Convert disputes/appeals
spec controller->system ( #33434 )
2025-01-02 16:08:25 +00:00
Matt Jankowski
1fbd106af9
Convert admin/report_notes
spec controller->system ( #33433 )
2025-01-02 15:54:21 +00:00
Jeong Arm
a557f9bbaa
Fix keyboard shortcut for open status ( #33419 )
2025-01-02 15:48:59 +00:00
Matt Jankowski
00a8a5467c
Convert admin/relays
spec controller->system ( #33430 )
2025-01-02 15:01:44 +00:00
gunchleoc
3201485df2
Fix favorite & bookmark text toggle in timeline, status and image view ( #27209 )
2025-01-02 13:52:07 +00:00
Claire
655c4a5ebb
Fix processing of incoming notifications for unfilterable types ( #33429 )
2025-01-02 13:22:25 +00:00
Matt Jankowski
2e936785b7
Convert admin/rules
spec controller->system ( #33377 )
2025-01-02 12:57:55 +00:00
Claire
68bfa7ae3f
Fix WebUI erroneously stopping to offer expanding search results after second page ( #33428 )
2025-01-02 10:58:00 +00:00
Claire
f9fef9864a
Fix intermittent failure on ap/activity/update spec timestamp check ( #33425 )
2025-01-02 09:17:49 +00:00
renovate[bot]
ca06156087
Update Yarn to v4.6.0 ( #33417 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 09:07:45 +00:00
renovate[bot]
a9f2e261d3
Update dependency ox to v2.14.19 ( #33398 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 09:05:15 +00:00
renovate[bot]
7b5adb0d64
Update dependency pino to v9.6.0 ( #33386 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 09:03:56 +00:00
github-actions[bot]
ba18289477
New Crowdin Translations (automated) ( #33378 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2025-01-02 09:02:47 +00:00
renovate[bot]
28466865c1
Update dependency csv to v3.3.2 ( #33381 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 08:38:56 +00:00
Matt Jankowski
441dcd7396
Fix intermittent failure on ap/activity/create spec timestamp check ( #33406 )
2025-01-02 08:38:22 +00:00
renovate[bot]
7c50e53baa
Update dependency bufferutil to v4.0.9 ( #33414 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 08:37:51 +00:00
renovate[bot]
79cfffda3b
Update dependency postcss-preset-env to v10.1.3 ( #33415 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 08:36:40 +00:00
renovate[bot]
d94b2b1c39
Update dependency rubocop-rails to v2.28.0 ( #33397 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 08:36:24 +00:00
Matt Jankowski
8770905186
Convert admin/ip_blocks
spec controller->system ( #33376 )
2024-12-20 15:36:19 +00:00
renovate[bot]
b01e8f4a9b
Update dependency ioredis to v5.4.2 ( #33375 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-20 15:35:36 +00:00
Matt Jankowski
f35de1ed0d
Remove un-needed Poll.attached
scope ( #33368 )
2024-12-20 15:15:11 +00:00
Matt Jankowski
b648c64e2e
Add NOT NULL
requirement to columns on polls
( #33374 )
2024-12-20 14:33:48 +00:00
Matt Jankowski
d2fbf42b0e
Avoid validate: false
save in expired poll create activity spec ( #33367 )
2024-12-20 13:34:05 +00:00
Claire
344e2903b3
Fix featured tags for remote accounts not being kept up to date ( #33372 )
2024-12-20 11:50:31 +00:00
Matt Jankowski
d31d988e24
Add coverage for UserMailer
not delivering to memorialized users ( #33366 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-12-20 10:27:40 +00:00
renovate[bot]
aa455aaa49
Update opentelemetry-ruby (non-major) ( #33371 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-20 08:31:27 +00:00
Matt Jankowski
28d309fd86
Add shared example for Expireable
concern ( #33369 )
2024-12-20 08:21:34 +00:00
github-actions[bot]
dd56292d1f
New Crowdin Translations (automated) ( #33370 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-12-20 08:06:18 +00:00
Matt Jankowski
87c892191a
Convert admin/domain_allows
spec controller->system ( #33365 )
2024-12-20 08:04:22 +00:00
Matt Jankowski
1acc54cfc7
Convert admin/webhooks
spec controller->system ( #33364 )
2024-12-20 07:52:16 +00:00
Matt Jankowski
03bf4cde55
Convert statuses_cleanup
controller specs to system specs ( #33363 )
2024-12-19 13:34:54 +00:00
renovate[bot]
d826919aeb
Update dependency debug to v1.10.0 ( #33361 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 13:27:37 +00:00
Matt Jankowski
0ac43700d8
Add coverage for REST::AnnualReportEventSerializer
and two ActivityPub::*
serializers ( #33355 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-12-19 12:30:09 +00:00
Renaud Chaput
22813dbc6e
Fix /health
endpoint when OTEL is configured ( #33362 )
2024-12-19 10:44:44 +00:00
renovate[bot]
32184e3f04
Update dependency test-prof to v1.4.3 ( #33360 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 09:08:56 +00:00
github-actions[bot]
7a08fe91b5
New Crowdin Translations (automated) ( #33358 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-12-19 08:47:20 +00:00