Skip to content

feat(slack): Unfurl mobile-build dashboard widgets#113939

Merged
DominikB2014 merged 1 commit intomasterfrom
dominikbuszowiecki/dain-1573-unfurl-dashboards-mobile-build-dataset-urls
Apr 24, 2026
Merged

feat(slack): Unfurl mobile-build dashboard widgets#113939
DominikB2014 merged 1 commit intomasterfrom
dominikbuszowiecki/dain-1573-unfurl-dashboards-mobile-build-dataset-urls

Conversation

@DominikB2014
Copy link
Copy Markdown
Contributor

@DominikB2014 DominikB2014 commented Apr 24, 2026

Same as #113937 but for mobile builds

Ai Description

Extend Slack dashboard URL unfurling to cover PREPROD_APP_SIZE (mobile build size) widgets. Previously, only SPANS, LOGS, and TRACEMETRICS unfurled; links to a mobile-build widget fell into the unsupported-widget skip branch.

The /organizations/{slug}/events-timeseries/ endpoint already routes dataset=preprodSize through the PreprodSize RPC dataset (timeseries and top-events both work), and the response shape (TimeSeries[]) is unchanged, so the chart renderer doesn't need to know about this.

_WIDGET_TYPE_TO_DATASET is widened from dict[int, SupportedTraceItemType] to dict[int, str] because "preprodSize" is hardcoded in DATASET_OPTIONS rather than matching SupportedTraceItemType.PREPROD.value ("preprod" — the endpoint would reject it).

Refs DAIN-1573

@linear-code
Copy link
Copy Markdown

linear-code Bot commented Apr 24, 2026

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 24, 2026
Extend Slack dashboard URL unfurling to cover PREPROD_APP_SIZE (mobile
build size) widgets. The events-timeseries endpoint already routes
dataset=preprodSize through the PreprodSize RPC dataset, so the change
is limited to adding the widget-type mapping.

Widen _WIDGET_TYPE_TO_DATASET from SupportedTraceItemType values to
plain dataset label strings, since "preprodSize" is hardcoded in
DATASET_OPTIONS rather than derived from SupportedTraceItemType.PREPROD
(which uses the different "preprod" value).

Refs DAIN-1573
Co-Authored-By: Claude <noreply@anthropic.com>
@DominikB2014 DominikB2014 force-pushed the dominikbuszowiecki/dain-1573-unfurl-dashboards-mobile-build-dataset-urls branch from e1a76de to 5303e3c Compare April 24, 2026 16:43
@DominikB2014 DominikB2014 requested a review from a team April 24, 2026 16:47
@DominikB2014 DominikB2014 marked this pull request as ready for review April 24, 2026 16:47
@DominikB2014 DominikB2014 requested review from a team as code owners April 24, 2026 16:47
@DominikB2014 DominikB2014 enabled auto-merge (squash) April 24, 2026 16:51
@DominikB2014 DominikB2014 merged commit 8c3af90 into master Apr 24, 2026
57 checks passed
@DominikB2014 DominikB2014 deleted the dominikbuszowiecki/dain-1573-unfurl-dashboards-mobile-build-dataset-urls branch April 24, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants