Skip to content

Conversation

@vaind
Copy link
Contributor

@vaind vaind commented Oct 29, 2025

Summary

Frontend changes to support platform-restricted builtin symbol sources.

This PR updates the Debug Files settings page to pass the project's platform to the builtin symbol sources API endpoint, enabling platform-based filtering of available symbol sources.

Changes

Frontend

  • projectDebugFiles/index.tsx: Pass project.platform query parameter to the builtin symbol sources API

Context

This is the frontend companion to backend PR #102013 that adds:

  • Platform restrictions for builtin symbol sources (e.g., Nintendo Switch private servers)
  • Organization-level access control via enabledConsolePlatforms
  • Automatic default symbol sources for game engines (Unity, Unreal, Godot)

Implementation

The change is minimal - it adds the platform query parameter when fetching builtin symbol sources:

platform: project.platform || undefined,

This allows the backend to filter symbol sources based on:

  1. Platform match (if source has platforms restriction)
  2. Organization access (for platform-restricted sources)

Deployment

Can be merged independently - This change is backward compatible:

  • If backend doesn't have filtering yet: Parameter is ignored, no issues
  • If backend has filtering: Platform-based filtering works immediately

Both PRs (#102013 backend and #102308 frontend) can be merged in any order.

Test Plan

  • Visual testing: Debug Files page loads without errors
  • Verify backward compatibility (works without backend changes)
  • Platform filtering works when backend is deployed

Related: Backend PR #102013 (independent, can merge in any order)

Sends the project's platform to the builtin symbol sources API endpoint
to enable platform-based filtering of symbol sources.

This is the frontend companion to the backend PR that adds platform
restrictions for builtin symbol sources with org access control.

Depends on backend PR #TBD
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 29, 2025
@vaind
Copy link
Contributor Author

vaind commented Oct 29, 2025

@sentry review

@sentry
Copy link

sentry bot commented Oct 29, 2025

Seer had some issues with your request. Please try again.

@vaind
Copy link
Contributor Author

vaind commented Oct 29, 2025

@sentry review

@sentry
Copy link

sentry bot commented Oct 29, 2025

Seer had some issues with your request. Please try again.

@getsantry
Copy link
Contributor

getsantry bot commented Nov 20, 2025

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you add the label WIP, I will leave it alone unless WIP is removed ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@getsantry getsantry bot added the Stale label Nov 20, 2025
Copy link
Member

@priscilawebdev priscilawebdev left a comment

Choose a reason for hiding this comment

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

lgtm 🙏

@getsantry getsantry bot closed this Nov 28, 2025
@vaind vaind deleted the feat/frontend-platform-restricted-symbol-sources branch November 28, 2025 09:30
@vaind
Copy link
Contributor Author

vaind commented Nov 28, 2025

Because this was closed (despite a comment, which was ignored by the bot), i've reopened a new pr: #104116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants