FieldBase Updates

Patch Notes

Safe update notes for FieldBase. Current patch notes are organized through 1.6.8.3.172. Updates are additive and should never clear user IndexedDB, local storage, or Firebase data.

  • Improves Employee Directory deletes so the local delete resolves first and Cloud Sync tombstone/cloud cleanup continues in the background instead of freezing the click handler.
  • Adds a visible Deleting... state to employee cards while the local employee record is being removed.
  • Keeps Cloud Sync delete tombstones active so deleted employees and schedule items do not reappear after sync.
  • Adds safer schedule delete error handling while preserving the existing schedule delete behavior.
  • Updates employee and schedule page script/style cache strings so the browser loads the patched delete lifecycle files.
  • Does not change Firebase rules, Stripe/billing, Pro guards, Dev guards, invite/team controls, FORGE calculator math, project history, or user account data.
  • Updates FieldBase version files and service-worker cache strings to 1.6.8.3.125 so Cloudflare/browser cache can pick up the latest patch correctly.
  • Updates stale forge-global-writer.js script query strings on AI, Directory, and Projects pages so the guarded FORGE writer is not served from an older cache.
  • Improves mobile wrapping for Settings permission toggles so the switches stay inside their cards on smaller screens.
  • Improves Manual Cloud Sync card wrapping so long company IDs and sync status text stay inside the card on mobile.
  • Does not change Firebase rules, Stripe/billing, Cloud Sync data behavior, Pro guards, Dev guards, invite/team controls, FORGE calculator math, project data, or user data.
  • Changes invite creation to fail closed when the seat manager is missing, late, or unavailable, preventing invites from being created without seat validation.
  • Adds invite-acceptance seat validation so an old or pending invite cannot attach a user to a company workspace when the plan is already full.
  • Keeps primary developer bypass aligned with solo Pro seat limits unless the actual company billing plan is Pro 10, Pro 25, or Enterprise.
  • Refreshes account team/seat display cache versions without adding remove, block, or role-edit actions yet.
  • Does not change Firebase rules, Pro guards, role permissions, Dev Center, Cloud Sync, FORGE pricing, existing users, accepted users, or user-created data.
  • Adds assets/js/account-team-overview.js as a new Account & Billing helper that shows active company users, pending invites, seat usage, and remaining seats.
  • Updates the seat manager so primary developer bypass follows solo Pro seat limits unless the company plan itself is Pro 10, Pro 25, or Enterprise.
  • Refreshes invite seat validation cache versions so regular Pro accounts block extra invites once the owner seat is counted.
  • Adds a non-destructive Team Seats panel to Account & Billing. This patch is visibility/enforcement only; remove, block, and role-edit actions are reserved for a later controlled patch.
  • Does not change Firebase rules, invite acceptance, role permissions, Pro guards, Dev Center, Cloud Sync, FORGE pricing, existing users, pending invites, or user-created data.
  • Adds assets/js/fieldbase-seat-manager.js as a new helper foundation for plan seat/user limits.
  • Rebases the seat manager on the latest Cloudflare footer correction revision so no older dashboard/footer files are restored.
  • Validates invite creation against account limits: Free/Pro solo accounts use 1 seat, Pro 10 uses 10 seats, Pro 25 uses 25 seats, and Enterprise/Developer are treated as unlimited.
  • Updates dashboard script loading so the seat manager loads before the existing invite system, while preserving the existing invite storage and acceptance flow.
  • Does not delete, rewrite, or migrate existing company users, pending invites, roles, Firebase rules, Pro guards, Dev Center, Cloud Sync, FORGE pricing, or user data.
  • Adds the FieldBase global footer loader to app HTML pages so Cloudflare deployments can show the shared footer consistently.
  • Updates assets/js/fieldbase-global-ui.js?v=1.6.8.4.81 to 1.6.8.3.99 and refreshes footer/cache query strings where the loader already existed.
  • Repairs the patch notes layout by keeping new release cards below the Patch Notes hero instead of above the page header.
  • Aligns version.json, service-worker.js, and assets/js/version-manager.js at 1.6.8.3.99 so the update flag can detect this patch.
  • Does not change Firebase rules, Stripe billing, Pro/free guards, Dev Center controls, Cloud Sync storage, IndexedDB, localStorage, or user-created data.
  • Restores stable mixed material + project quote routing after the 1.6.8.3.70 routing break.
  • Reverts ai-engine.js to the safe calculator baseline while keeping current version labels.
  • Restores the combined quote wrapper so complex quotes are handled before single-item fallback pricing.
  • Keeps directory items, calculator sections, and final totals in one normal AI answer block.
  • No user data, Firebase rules, billing, private chat scope, Pro guards, or Cloud Sync storage logic changed.
  • Moves the final directory + project total merge into ai-engine.js so the combined summary is rendered once through the normal AI answer/export pipeline.
  • Stops the old combined wrapper from re-parsing rendered HTML and duplicating the combined project quote summary.
  • Keeps all detected directory items, including long-sentence items like Vantech, while preserving calculator sections.
  • Keeps the normal Export, Hide, Yes, and No controls attached to the final answer.
  • Preserves user data, Firebase rules, billing, Cloud Sync, private chat isolation, and the existing calculator math.
  • Fixes combined quote item preservation so long prompts keep items such as 44 4x8x3/4 Vantech when the same sentence continues into concrete, gravel, or block scope.
  • Fixes the project-keyword trimming regex in the combined quote engine so material lines are trimmed safely instead of being dropped.
  • Moves the directory + project grand total into the normal project calculator answer section instead of creating a separate odd-looking final block.
  • Keeps combined answers inside the standard AI answer card so Export, Hide, Yes, and No remain attached.
  • Keeps update flag diagnostics active and does not clear IndexedDB, localStorage, Firebase, Cloud Sync, billing, private chats, directories, projects, or FORGE regional pricing data.
  • Stabilizes mixed FORGE quotes that contain saved/regional directory items and project calculator scopes in the same long sentence.
  • Preserves item lines such as 4x8x3/4 Vantech even when the prompt continues into concrete, gravel, or block-wall wording.
  • Wraps combined quote output in the standard ai-answer-block so Export, Hide, Yes, and No answer controls attach like the other AI windows.
  • Restores visible region/state context where available, such as TN, without exposing private user, client, or account details.
  • Uses theme-safe FieldBase-style sections: red accent for directory/material items, blue accent for project calculators, and purple accent for the final total.
  • Adds update-flag diagnostics and a safer version manager path so user update banners log current, installed, remote, last-seen, and banner decisions.
  • Does not remove, clear, overwrite, or migrate user IndexedDB, localStorage, Firebase, Cloud Sync, project, directory, billing, role, or FORGE data.
  • Improves the safe additive FORGE combined quote engine so saved/regional directory line items are included with concrete, gravel, and block project calculator totals.
  • Filters project scope phrases out of the material parser so dimensions like 20x20x4 concrete pad do not become false material line items.
  • Keeps the existing concrete/gravel/block calculator sections and combined project summary intact, then adds a matching directory-total summary below it.
  • Uses the existing FORGE multi-item pricing chain for materials, tooling, equipment, and services instead of modifying the working regional pricing reader/writer.
  • Keeps the restored 1.4.1.4.4 update flag/version manager intact. User data, IndexedDB, localStorage, Firebase, Cloud Sync, billing, roles, private chats, and directories are not removed or cleared.
  • Restores the full FieldBase update banner/version manager after patches 1.4.1.4.2 and 1.4.1.4.3 accidentally shipped a placeholder version-manager file.
  • Re-enables local patch notices, remote version.json checks, service worker registration, and safe refresh/update behavior.
  • Keeps version.json, service-worker.js, and assets/js/version-manager.js aligned on 1.4.1.4.4.
  • Adds a clear patch rule: FieldBase patches must never replace the full version manager with a short placeholder because user update flags are required.
  • Does not remove, clear, overwrite, or migrate IndexedDB, localStorage, Firebase, Cloud Sync, project, directory, billing, role, or FORGE data.
  • Adds assets/js/forge-combined-quote-engine.js as a safe additive layer for mixed material/item + project calculator requests.
  • Lets FORGE combine known material/item totals with existing concrete, gravel, and block calculator totals when both are present in one prompt.
  • Repairs Patch Notes structure so recent FORGE patches appear inside the page instead of above the page header.
  • Updates version.json, service-worker.js, and assets/js/version-manager.js so the user update flag can show normally.
  • Does not remove or overwrite user IndexedDB, localStorage, Firebase data, Cloud Sync data, billing records, roles, or the working FORGE regional pricing chain.
  • Rebuilt the Patch Notes page structure so all release cards live inside the normal Patch Notes page instead of appearing above the page header.
  • Restored missing recent entries for 1.6.8.3.56 through 1.6.8.3.59 and kept later billing/account/dev notes in order.
  • Replaced disabled Freeze soon / Ban soon placeholders with a safe Active/Frozen/Banned status selector and Save Status action for non-developer users.
  • Writes account status metadata, ban count preparation, and audit log entries without adding timed bans or automation yet.
  • Kept Stripe Worker/webhooks, Firebase rules, payment unlock logic, Pro guards, Cloud Sync, Business Directory, projects, and FORGE logic unchanged.