Compare commits

..

8 Commits

Author SHA1 Message Date
d1f0242e1a Merge pull request 'keep-android-open' (#2) from keep-android-open into main
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 5m19s
Daily Cron (Make New DailyStats Document) / cron (push) Successful in 1s
Reviewed-on: #2
2026-03-22 11:01:32 -04:00
c728a8a297 upgraded dependencies
All checks were successful
Main / build-and-push-docker-image (20.x) (pull_request) Successful in 5m47s
2026-03-22 10:42:22 -04:00
dad37f578d added android banner 2026-03-22 10:41:04 -04:00
3e90e1d3ac Update .github/workflows/cron.yml
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 4m52s
Daily Cron (Make New DailyStats Document) / cron (push) Successful in 31s
adjusted for DST
2026-03-18 01:01:13 -04:00
e86804f919 fix responsive flag for line charts
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 4m53s
Daily Cron (Make New DailyStats Document) / cron (push) Successful in 2s
2026-03-11 03:43:17 -04:00
74ab95fc7f Merge pull request 'fix-30-day-history' (#1) from fix-30-day-history into main
All checks were successful
Main / build-and-push-docker-image (20.x) (push) Successful in 4m43s
Reviewed-on: #1
2026-03-11 02:33:38 -04:00
c6eb6ddb7f Upgrade dependencies
All checks were successful
Main / build-and-push-docker-image (20.x) (pull_request) Successful in 4m47s
2026-03-11 02:27:23 -04:00
ae31ed3df1 fix date operation 2026-03-11 02:24:47 -04:00
6 changed files with 1120 additions and 876 deletions

View File

@@ -1,7 +1,7 @@
name: Daily Cron (Make New DailyStats Document)
on:
schedule:
- cron: "0 5 * * *"
- cron: "0 4 * * *"
jobs:
cron:

View File

@@ -1,6 +1,6 @@
{
"name": "no-twitter-bot-stats",
"version": "0.1.0",
"version": "0.1.2",
"private": true,
"scripts": {
"dev": "next dev",
@@ -12,38 +12,38 @@
"prisma-update": "yarn prisma db push"
},
"dependencies": {
"@chakra-ui/charts": "^3.31.0",
"@chakra-ui/react": "^3.31.0",
"@chakra-ui/charts": "^3.34.0",
"@chakra-ui/react": "^3.34.0",
"@emotion/react": "^11.14.0",
"@escape.tech/graphql-armor": "^3.2.0",
"@prisma/client": "^6.19.2",
"@prisma/extension-accelerate": "^3.0.1",
"@urql/next": "^2.0.0",
"dotenv": "^17.2.3",
"graphql": "^16.12.0",
"dotenv": "^17.3.1",
"graphql": "^16.13.1",
"graphql-scalars": "^1.25.0",
"graphql-yoga": "^5.18.0",
"next": "16.1.5",
"graphql-yoga": "^5.18.1",
"next": "16.2.1",
"next-themes": "^0.4.6",
"react": "19.2.4",
"react-dom": "19.2.4",
"react-icons": "^5.5.0",
"recharts": "^3.7.0",
"react-icons": "^5.6.0",
"recharts": "^3.8.0",
"rxjs": "^7.8.2",
"urql": "^5.0.1"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^9.39.2",
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^9.39.4",
"@iconify/react": "^6.0.2",
"@types/node": "^25.0.10",
"@types/react": "^19.2.10",
"@types/node": "^25.5.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"baseline-browser-mapping": "^2.9.18",
"eslint": "^9.39.2",
"eslint-config-next": "16.1.5",
"@typescript-eslint/eslint-plugin": "^8.57.1",
"@typescript-eslint/parser": "^8.57.1",
"baseline-browser-mapping": "^2.10.10",
"eslint": "^9.39.4",
"eslint-config-next": "16.2.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.5.5",
@@ -53,7 +53,7 @@
"prisma": "^6.19.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.54.0"
"typescript-eslint": "^8.57.1"
},
"packageManager": "yarn@4.12.0"
}

View File

@@ -1,5 +1,7 @@
"use client";
import React, { useMemo } from "react";
import Script from "next/script";
import { Provider } from "@/components/ui/provider";
import {
UrqlProvider,
@@ -8,7 +10,6 @@ import {
fetchExchange,
createClient
} from "@urql/next";
import React, { useMemo } from "react";
export default function RootLayout({
children
@@ -73,6 +74,8 @@ export default function RootLayout({
<link rel="apple-touch-icon" sizes="180x180" href={img} />
<link rel="manifest" href={img} />
<body>
<div id="my-banner"></div>
<Script src="https://keepandroidopen.org/banner.js?size=mini&hidebutton=off&id=android-banner&animation=off?link=https://keepandroidopen.org" />
<UrqlProvider client={client} ssr={ssr}>
<Provider>{children}</Provider>
</UrqlProvider>

View File

@@ -63,7 +63,7 @@ export default function Home() {
useEffect(() => {
setCurrDate(new Date().toJSON());
setDate30DaysAgo(
new Date(new Date().setDate(new Date().getDay() - 30)).toJSON()
new Date(new Date().setDate(new Date().getDate() - 30)).toJSON()
);
}, []);

View File

@@ -26,7 +26,7 @@ const LineChartComponent = ({
return (
<Chart.Root maxH="xs" chart={chart} maxW="100dvw">
<LineChart data={chart.data}>
<LineChart data={chart.data} responsive>
<CartesianGrid stroke={chart.color("border")} vertical={false} />
<XAxis
axisLine={false}

1947
yarn.lock

File diff suppressed because it is too large Load Diff