Skip to content

PART4: chore(settings): Remove dead GraphQL code from fxa-settings#19982

Merged
vbudhram merged 1 commit intomainfrom
FXA-12996
Feb 11, 2026
Merged

PART4: chore(settings): Remove dead GraphQL code from fxa-settings#19982
vbudhram merged 1 commit intomainfrom
FXA-12996

Conversation

@vbudhram
Copy link
Copy Markdown
Contributor

@vbudhram vbudhram commented Feb 2, 2026

Because

  • Delete all gql.ts files that are no longer imported after the migration to direct auth-client calls. These files contained GraphQL query/mutation definitions that have been fully replaced

This pull request

Issue that this pull request solves

Closes: (issue number)

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

Any other information that is important to this pull request.

@vbudhram vbudhram changed the title chore(settings): Remove dead GraphQL code from fxa-settings PART4: chore(settings): Remove dead GraphQL code from fxa-settings Feb 2, 2026
@vbudhram vbudhram self-assigned this Feb 2, 2026
Copy link
Copy Markdown
Contributor

@dschom dschom left a comment

Choose a reason for hiding this comment

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

All deletions. What's not to like. 😄

Pre-emptive R+. I'm guessing the tests will pass once part 3 lands on main and this branch gets rebased.

@vbudhram vbudhram marked this pull request as ready for review February 11, 2026 01:15
@vbudhram vbudhram requested a review from a team as a code owner February 11, 2026 01:15
@vbudhram vbudhram force-pushed the FXA-12996 branch 5 times, most recently from 7fdf8d6 to ed46524 Compare February 11, 2026 15:30
…references

Remove the fxa-graphql-api package and all remaining GraphQL artifacts
from fxa-settings now that it uses direct auth-client calls. Update
l10n tests to use current translation keys from the upstream l10n repo.
);

// en-GB uses British spellings: "authorised" and "cancelled"
assert.include(result, 'authorised');
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This was caused by changes in the fxa l10n repo, appears some text got removed. I've updated these tests to use strings that are avaiable but also cover the test case.

@vbudhram vbudhram merged commit 30e0b8c into main Feb 11, 2026
22 checks passed
@vbudhram vbudhram deleted the FXA-12996 branch February 11, 2026 16:40
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.

2 participants