import React from 'dom-chef';
import {$} from 'select-dom';
import * as pageDetect from 'github-url-detection';
import features from '../feature-manager.js';
import openOptions from '../helpers/open-options.js';
import clearCacheHandler from '../helpers/clear-cache-handler.js';
import {expectToken, expectTokenScope} from '../github-helpers/api.js';
import {isRefinedGitHubRepo} from '../github-helpers/index.js';
function addNotice(adjective: JSX.Element | string): void {
$('#issue_body_template_name')!.before(
Your Personal Access Token is {adjective}. Some Refined GitHub features will not work without it.
You can update it .