Skip to content

Commit

Permalink
disabled chats from buddhist tracker (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
lobsam authored Aug 12, 2024
2 parents 61b3e6f + 18cd45c commit 56ada69
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion static/js/UserProfile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class UserProfile extends Component {
{ id: "collections", text: "Collections", icon: "/static/icons/collection.svg" },
{ id: "followers", text: "Followers", invisible: true },
{ id: "following", text: "Following", invisible: true },
// { id: "torah-tracker", text: "Buddhist Text Tracker", invisible: Sefaria._uid !== props.profile.id, icon: "/static/icons/chart-icon.svg", href: "/torahtracker", applink: true, justifyright: true}
{ id: "torah-tracker", text: "Buddhist Text Tracker", invisible: Sefaria._uid !== props.profile.id, icon: "/static/icons/chart-icon.svg", href: "/torahtracker", applink: true, justifyright: true}
];
if (showNotes) {
tabs.splice(2, 0, { id: "notes", text: Sefaria._("Notes"), icon: "/static/icons/note.svg" });
Expand Down
12 changes: 6 additions & 6 deletions static/js/UserStats.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ const SiteDataBlock = ({site_data}) => (
<span className="int-en">What People are Reading</span>
<span className="int-he">מה אנשים קוראים</span>
</h2>
<div className="chartRow centered">
{/* <div className="chartRow centered">
<CategoriesDonut title="Average Sefaria User" heTitle="משתמש ממוצע בספריא" cats={site_data.categoriesRead}/>
</div>
</div> */}
</div>
<div>
<h2>
Expand Down Expand Up @@ -160,25 +160,25 @@ const StatCard = ({icon_file, name, number}) => (

const UserDonutsBlock = ({user_data, site_data}) => (
<div>
<h2>
{/* <h2>
<span className="int-en">Your Reading by Category</span>
<span className="int-he">לימוד לפי סוגה</span>
</h2>
<div className="chartRow">
<CategoriesDonut title="Your Reading" heTitle="הלימוד שלך" cats={user_data.categoriesRead}/>
<CategoriesDonut title="Average Sefaria User" heTitle="משתמש ממוצע בספריא" cats={site_data.categoriesRead}/>
</div>
</div> */}
</div>
);
const UserCategoryBarchartBlock = ({user_data, site_data}) => (
<div>
<h2>
{/* <h2>
<span className="int-en">Your Top Categories</span>
<span className="int-he">מצעד סוגות הלימוד</span>
</h2>
<div className="chartRow">
<CategoryBars user_cats={user_data.categoriesRead} site_cats={site_data.categoriesRead}/>
</div>
</div> */}
</div>
);
const YourFavoriteTextsBlock = ({user_data}) => (
Expand Down

0 comments on commit 56ada69

Please sign in to comment.