denoland / dotland

[Archived] deno.land website
https://deno.land
MIT License
957 stars 626 forks source link

refactor: use algolia for module listing #2347

Closed crowlKats closed 2 years ago

crowlKats commented 2 years ago

The one thing missing is how to get total number of modules

ry commented 2 years ago

Why does it have

import { start } from "https://deno.land/x/fresh@1.0.0/server.ts";

crowlKats commented 2 years ago

@ry what do you mean?

ry commented 2 years ago
Screen Shot 2022-08-04 at 5 26 26 PM
crowlKats commented 2 years ago

ah, that is completely unrelated to this PR, however it has been fixed earlier and is on main already

ry commented 2 years ago

can you merge with main?

kitsonk commented 2 years ago

@crowlKats I added popularity_tag as a "display facet" to the algolia search, which means I believe it should be returned on the results now, with the same values of top_1_percent, top_5_percent, top_10_precent, or undefined that we use elsewhere.

kitsonk commented 2 years ago

This is blocked on that we didn't have a filter to only include 3rd party modules in the list. That is in a re-structured search index, but we need to integrate that back into this PR.