mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Tweak walkthrough ranking
This commit is contained in:
@@ -1089,8 +1089,8 @@ export class GettingStartedPage extends EditorPane {
|
||||
|
||||
const rankWalkthrough = (e: IResolvedWalkthrough) => {
|
||||
let rank: number | null = e.order;
|
||||
// then add bonuses...
|
||||
if (e.isFeatured) { rank += 5; }
|
||||
|
||||
if (e.isFeatured) { rank += 7; }
|
||||
if (e.newEntry) { rank += 3; }
|
||||
if (e.newItems) { rank += 2; }
|
||||
if (e.recencyBonus) { rank += 4 * e.recencyBonus; }
|
||||
|
||||
Reference in New Issue
Block a user