Admin: add games from any list or itch.io collection (Check first, batches of 200, per-game ingest tracking from scripts/state/ingest_outcomes.json), followed collections and auto-approve run by the cron in one [auto] commit, bulk remove/edit up to 100 games in one commit, New games, Activity and Settings pages. D1 migration 0002 (applied to production before this merge). Policies (ToS, Privacy, Disclaimer, EN + VI) cover approval by the maintainer's rules; LEGAL_VERSION 2026-10-13. Web: the theme button shows the theme in use, no dark-mode flash (pre-paint script, hash in three CSPs), Charts tabs stay mounted (no rebuilt charts or replayed animations), 300 ms entrances, scrollbar gutter on mouse devices. Release 4.4.0 (changelog also covers #130). [skip-discuss] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
661 B
TypeScript
18 lines
661 B
TypeScript
/**
|
|
* Request limits of the admin API, shared with the admin app (webapp/admin),
|
|
* which splits longer lists into batches of these sizes.
|
|
*/
|
|
|
|
/** URLs per add / check / queue decision (one commit each). */
|
|
export const MAX_URLS = 200
|
|
/** URLs per tracking request. */
|
|
export const MAX_TRACK_URLS = 500
|
|
/** Games per bulk removal or bulk edit (one commit each). */
|
|
export const MAX_BULK = 100
|
|
/** Characters of a removal reason (public, on the Removed page). */
|
|
export const MAX_REASON = 200
|
|
/** itch.io collections the cron follows. */
|
|
export const MAX_WATCHED = 50
|
|
/** Collection pages read per admin request. */
|
|
export const COLLECTION_PAGES_PER_READ = 10
|