Skip to content

New /idose get buttons to view next and previous entries#1136

Open
silent-decibel wants to merge 2 commits into
TripSit:mainfrom
silent-decibel:silentdecibel-idoseGetButtons
Open

New /idose get buttons to view next and previous entries#1136
silent-decibel wants to merge 2 commits into
TripSit:mainfrom
silent-decibel:silentdecibel-idoseGetButtons

Conversation

@silent-decibel

Copy link
Copy Markdown

Dose history is now browsed one entry at a time (most recent first) using Back/Next buttons instead of cramming records into a single embed. Back is disabled on the newest entry, Next on the oldest, the buttons only respond to the user who ran the command, and they grey out after the timeout. Replaces the old 24-field chunking logic.

Other changes

  • seed.ts — use the @prisma/adapter-pg Pool adapter when creating PrismaClient (required by Prisma 7).
  • prisma.config.{ts,mjs} — run the seed via ts-node -r tsconfig-paths/register --transpile-only instead of tsx
    so @-aliased imports resolve.
  • entrypoint.sh — copy the generated Prisma client into build/ (tsc doesn't emit it).
  • .vscode/settings.json — use the ESLint formatter for TypeScript files so format-on-save stops conflicting
    with lint rules.
  • .gitignore — ignore CLAUDE.md and .prettierrc.

@silent-decibel silent-decibel linked an issue Jun 8, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Idose buttons dont work

2 participants