Cyber Slider Feature added
This commit is contained in:
parent
7414759d9d
commit
c7b40f9711
1 changed files with 11 additions and 4 deletions
|
@ -199,10 +199,10 @@ class ApiClient {
|
||||||
constructor(instance) {
|
constructor(instance) {
|
||||||
this._instance = instance;
|
this._instance = instance;
|
||||||
// How many objects to max consider per type
|
// How many objects to max consider per type
|
||||||
this._CNT_NOTES = 70;
|
this._CNT_NOTES = 250;
|
||||||
this._CNT_RENOTES = 50;
|
this._CNT_RENOTES = 250;
|
||||||
this._CNT_REPLIES = 100;
|
this._CNT_REPLIES = 250;
|
||||||
this._CNT_FAVS = 100;
|
this._CNT_FAVS = 250;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -949,6 +949,12 @@ async function circleMain() {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const sliderValue = getSliderValue();
|
||||||
|
client._CNT_NOTES = sliderValue;
|
||||||
|
client._CNT_RENOTES = sliderValue;
|
||||||
|
client._CNT_REPLIES = sliderValue;
|
||||||
|
client._CNT_FAVS = sliderValue;
|
||||||
|
|
||||||
progress.innerText = "Fetching your user...";
|
progress.innerText = "Fetching your user...";
|
||||||
|
|
||||||
const { response: user, error: userError } = await client.getUserIdFromHandle(selfUser);
|
const { response: user, error: userError } = await client.getUserIdFromHandle(selfUser);
|
||||||
|
@ -974,6 +980,7 @@ async function circleMain() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {Map<string, RatedUser>}
|
* @type {Map<string, RatedUser>}
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue