The use of categories, tags as the home page

I saw the following subject: Just how bad is it to have 750 categories

Looked code. Is it enough to make changes to the following items?

app/models/user_option.rb

def homepage
     case homepage_id
     when 1 then "latest"
     when 2 then "categories"
     when 3 then "unread"
     when 4 then "new"
     when 5 then "top"
     else SiteSetting.homepage
     end
   end

app/assets/javascripts/discourse/controllers/preferences/interface.js.es6

const USER_HOMES = { 1: "latest", 2: "categories", 3: "unread", 4: "new", 5: "top" };

It might be a good idea for a plugin?

2 Likes