MCPcopy Index your code
hub / github.com/refined-github/refined-github / startFeatureIdentification

Function startFeatureIdentification

source/helpers/bisect.tsx:13–17  ·  view source on GitHub ↗
(origin?: string)

Source from the content-addressed store, hash-verified

11export const state = new CachedValue<FeatureId[]>('bisect', {maxAge: {minutes: 15}});
12
13export async function startFeatureIdentification(origin?: string): Promise<void> {
14 const options = await perDomainOptions.getOptionsForOrigin(origin).getAll();
15 const enabledFeatures = importedFeatures.filter(featureId => options[`feature:${featureId}`]);
16 await state.set(enabledFeatures);
17}
18
19function enableButtons(): void {
20 for (const button of $$('#rgh-bisect-dialog [aria-disabled]')) {

Callers 2

findFeatureHandlerFunction · 0.85
confirmAndReloadFunction · 0.85

Calls 1

setMethod · 0.80

Tested by

no test coverage detected