influxdata / influxdata/influxdb

authorizations: replace js client with oats generated client

Open
#16,929 0 comments 0 reactions 0 assignees View on GitHub
kind/tech-debt team/ui
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

Replace references to `import {client} from 'src/utils/api'` in the following files with `import {FUNCTION_NAME} from 'src/client'`

- `src/dataLoaders/components/verifyStep/FetchAuthToken.tsx`

Ensure sufficient tests are available before making the switch and that tests pass after replacement.

Contributor guide

Open the contributing guide

Research direction

Start with src/dataLoaders/components/verifyStep/FetchAuthToken.tsx and inspect the current src/utils/api import and the available export from src/client. Check existing tests for this data loader or authorization flow before changing the client reference, then run those tests and confirm they pass after the replacement.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
api, authorization
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.