Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiment: simple stats #3828

Draft
wants to merge 35 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
768c3be
initial commit
5e-Cleric Oct 14, 2024
44b7e69
make fetchs individual
5e-Cleric Oct 14, 2024
3a541ce
"Added new 'Stats' tab to admin interface, moved stats functionality …
5e-Cleric Oct 15, 2024
9280801
"Removed footer from admin layout, updated stats page with conditiona…
5e-Cleric Oct 16, 2024
4ffe32d
use promise.all to run in paralell
5e-Cleric Oct 16, 2024
0e96eb1
Merge branch 'master' of https://github.com/naturalcrit/homebrewery i…
5e-Cleric Oct 16, 2024
85b6906
separate calls
5e-Cleric Nov 3, 2024
20041cc
Merge branch 'master' of https://github.com/naturalcrit/homebrewery i…
5e-Cleric Jan 18, 2025
711d178
Merge branch 'master' of https://github.com/naturalcrit/homebrewery i…
5e-Cleric Jan 22, 2025
1799dca
Merge branch 'master' into stats
5e-Cleric Jan 23, 2025
a004b98
adapt to million docs
5e-Cleric Jan 30, 2025
7b2e139
Merge branch 'stats' of https://github.com/5e-Cleric/homebrewery into…
5e-Cleric Jan 30, 2025
89f30ca
date to month
5e-Cleric Jan 30, 2025
7358e2b
Merge branch 'master' of https://github.com/naturalcrit/homebrewery i…
5e-Cleric Jan 30, 2025
42f4411
add docs by page count
5e-Cleric Jan 30, 2025
798d26f
Merge branch 'master' of https://github.com/naturalcrit/homebrewery i…
5e-Cleric Feb 8, 2025
aa6a32a
lint
5e-Cleric Feb 8, 2025
5b2e8bf
adding a few comments
5e-Cleric Feb 8, 2025
f8b8986
update logs
5e-Cleric Feb 8, 2025
eaa086c
lint
5e-Cleric Feb 12, 2025
3275dfc
Merge branch 'master' of https://github.com/naturalcrit/homebrewery i…
5e-Cleric Feb 12, 2025
52957d9
title to data-title
5e-Cleric Feb 12, 2025
46bb3cd
hover effect
5e-Cleric Feb 12, 2025
028bfcf
readjust max and display null label
5e-Cleric Feb 13, 2025
9b9a990
`Added loading state management and UI updates for stats and chart da…
5e-Cleric Feb 13, 2025
9f9fd23
simplified lang query
5e-Cleric Feb 13, 2025
aeebb41
explain queries
5e-Cleric Feb 13, 2025
6ce0e06
sort before lang
5e-Cleric Feb 13, 2025
8dd7d8e
comment out thumbnail
5e-Cleric Feb 13, 2025
925f582
Merge branch 'stats' of https://github.com/5e-Cleric/homebrewery; bra…
5e-Cleric Feb 14, 2025
7fdf2d1
bring back thumbnail
5e-Cleric Feb 14, 2025
90d98f1
fix up lang results
5e-Cleric Feb 14, 2025
8a1b823
separate table contents
5e-Cleric Feb 14, 2025
bdbf8b2
admin brews by missing field
5e-Cleric Feb 17, 2025
f6b21ee
Merge branch 'master' of https://github.com/naturalcrit/homebrewery i…
5e-Cleric Feb 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion client/admin/admin.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ import React, { useEffect, useState } from 'react';
const BrewUtils = require('./brewUtils/brewUtils.jsx');
const NotificationUtils = require('./notificationUtils/notificationUtils.jsx');
import AuthorUtils from './authorUtils/authorUtils.jsx';
const Stats = require('./stats/stats.jsx');

const tabGroups = ['brew', 'notifications', 'authors'];
const tabGroups = ['brew', 'notifications', 'authors', 'stats'];

const Admin = ()=>{
const [currentTab, setCurrentTab] = useState('brew');
Expand Down Expand Up @@ -40,6 +41,7 @@ const Admin = ()=>{
{currentTab === 'brew' && <BrewUtils />}
{currentTab === 'notifications' && <NotificationUtils />}
{currentTab === 'authors' && <AuthorUtils />}
{currentTab === 'stats' && <Stats />}
</main>
</div>
);
Expand Down
4 changes: 4 additions & 0 deletions client/admin/admin.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ body {
color : #4B5055;
background-color : #EEEEEE;
text-rendering : optimizeLegibility;

main {
height:100%;
}
}

:where(.admin) {
Expand Down
3 changes: 0 additions & 3 deletions client/admin/brewUtils/brewUtils.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@ require('./brewUtils.less');
const BrewCleanup = require('./brewCleanup/brewCleanup.jsx');
const BrewLookup = require('./brewLookup/brewLookup.jsx');
const BrewCompress = require ('./brewCompress/brewCompress.jsx');
const Stats = require('./stats/stats.jsx');

const BrewUtils = createClass({
render : function(){
return <>
<Stats />
<hr />
<BrewLookup />
<hr />
<BrewCleanup />
Expand Down
46 changes: 0 additions & 46 deletions client/admin/brewUtils/stats/stats.jsx

This file was deleted.

Loading