Skip to content

Commit

Permalink
Temporarily hide links to the people directory
Browse files Browse the repository at this point in the history
Backfilling the `profileUpdatedAt` field is slower than expected so this
commit hides all links to the people directory so we can deploy the code
without advertising the new feature whilst running the migrations, then
revert this commit after to release the feature.
  • Loading branch information
oetherington committed Apr 25, 2024
1 parent 13a5544 commit 0e833c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ export const menuTabs: ForumOptions<Array<MenuTab>> = {
${taggingNamePluralSetting.get()} in EA and collects posts tagged with those ${taggingNamePluralSetting.get()}.`,
showOnMobileStandalone: true,
showOnCompressed: true,
/*
}, {
id: 'peopleDirectory',
title: 'People directory',
Expand All @@ -311,6 +312,7 @@ export const menuTabs: ForumOptions<Array<MenuTab>> = {
flag: "beta",
desktopOnly: true,
betaOnly: true,
*/
}, {
id: 'takeAction',
title: 'Take action',
Expand Down
2 changes: 1 addition & 1 deletion packages/lesswrong/lib/betas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const userHasEAHomeRHS = isEAForum ? shippedFeature : disabled;
export const visitorGetsDynamicFrontpage = isLW ? shippedFeature : disabled;

export const userHasPeopleDirectory = (user: UsersCurrent|DbUser|null) =>
isEAForum && !!user?.beta;
false;// isEAForum && !!user?.beta;

//defining as Hook so as to combine with ABTest
export const useRecombeeFrontpage = (currentUser: UsersCurrent|DbUser|null) => {
Expand Down

0 comments on commit 0e833c2

Please sign in to comment.