Skip to content

Initial PrintOps branding#1

Merged
ichwars merged 1 commit into
mainfrom
agent-printops-branding
Jul 9, 2026
Merged

Initial PrintOps branding#1
ichwars merged 1 commit into
mainfrom
agent-printops-branding

Conversation

@ichwars

@ichwars ichwars commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Rename the project surface from Bambuddy to PrintOps across README, app metadata, frontend labels, issue/PR templates, and backend configuration.
  • Add the supplied transparent PrintOps logo and icon assets and wire them into the frontend, manifest, service worker, and built static bundle.
  • Introduce first PrintOps navigation structure for warehouse and order workflows while preserving upstream/fork context.

Validation

  • npm.cmd run build
  • npm.cmd run test -- --run src/__tests__/components/Layout.test.tsx src/__tests__/pages/LoginPage.test.tsx src/__tests__/pages/StreamOverlayPage.test.tsx
  • npm.cmd run check:i18n
  • python -m py_compile backend\app\core\config.py backend\app\main.py backend\app\services\bug_report.py

Notes

The local gh auth status still reports an invalid token for ichwars, but the Git push succeeded through Windows credentials outside the sandbox.

@ichwars
ichwars marked this pull request as ready for review July 9, 2026 18:45
@ichwars
ichwars merged commit c81420c into main Jul 9, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 686a4e16c0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


const { data: spools = [] } = useQuery({
queryKey: ['warehouse', 'spools', false],
queryFn: () => api.getSpools(false),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Honor Spoolman inventory in warehouse metrics

When Spoolman is enabled, the inventory route switches to api.getSpoolmanInventorySpools(...) (checked frontend/src/pages/InventoryPage.tsx around InventoryPageRouter and the spools query), but this new warehouse overview always calls the local /inventory/spools API. In Spoolman-backed installs the active/low-stock/remaining cards will show the local shadow data or zeroes instead of the inventory users see under /warehouse/filament, so the overview can be materially wrong until it uses the same Spoolman mode selection.

Useful? React with 👍 / 👎.

const activeSpools = spools.filter((spool) => !spool.archived_at);
const lowStockSpools = activeSpools.filter((spool) => {
const remaining = Math.max(0, spool.label_weight - spool.weight_used);
return spool.label_weight > 0 && remaining / spool.label_weight <= 0.2;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use configured low-stock thresholds

For local-inventory installs that have changed the global low-stock threshold or set low_stock_threshold_pct on individual spools, this hard-coded 20% test makes the Warehouse card disagree with the Inventory page, which computes low stock from settings.low_stock_threshold plus the per-spool override. The overview can therefore under- or over-report low stock until it reuses the same threshold logic.

Useful? React with 👍 / 👎.

@ichwars
ichwars deleted the agent-printops-branding branch July 19, 2026 10:16
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.

1 participant