Skip to content

chore: update frontend submodule - #8

Merged
itsbkm merged 1 commit into
FreeOpenSourcePOS:mainfrom
ARCHITVARMA15:main
Jun 16, 2026
Merged

itsbkm merged 1 commit into
FreeOpenSourcePOS:mainfrom
ARCHITVARMA15:main

Conversation

@ARCHITVARMA15

Copy link
Copy Markdown
Contributor

Updates frontend (FloUI) submodule to latest main.

Includes fix for layout shift and re-render jank in POS customer search topbar.

Related PR: https://github.com/FreeOpenSourcePOS/FloUI/pull/[new PR number]

@itsbkm
itsbkm merged commit f26a322 into FreeOpenSourcePOS:main Jun 16, 2026
khaira777 added a commit that referenced this pull request Jul 5, 2026
…ts/discounts/tax/loyalty)

Integration tests (7 files, 123 assertions):
- Happy path: order→discount→bill→payment→completed
- Tax correctness: India GST calculation and recalculation
- Payment integrity: split payments, wallet double-spend, zero-amount rejection
- Order lifecycle: status transitions, cancel with PIN
- Bill reconciliation: discount sync, add-items sync
- Loyalty points: cashback, idempotency, wallet balance
- Discount edge cases: combined discounts, max limits, addon prices

Bug fixes:
- #3: Add-items filters cancelled items from total recalculation
- #4: Add-items syncs bill after updating order total
- #5: Cancel/restore round-off formula corrected
- #6: Discount endpoint wrapped in withTxn (race condition)
- #7: Infinity passes validation (NaN/isFinite check)
- #8: Missing amount defaults to remaining balance
- #9: Amount capped at remaining balance
- #11: Removing discount restores original tax
- #12: Add-items preserves order-level discount
- #13: Cancel/restore preserves order-level discount
- #14: Item-level discount checks max settings
- #15: Item-level discount syncs to bill
- #17: Cancel/restore wrapped in withTxn
- #20: Cashback calculated on discounted subtotal
- #23: Quantity/price validation on order creation

Shared test helper (tests/helpers/test-setup.ts):
- Extracts 40 lines of boilerplate per test file
- Provides: initTestDb, createApp, startServer, seed helpers, assert utilities

Co-Authored-By: Claude <[email protected]>
khaira777 pushed a commit that referenced this pull request Jul 6, 2026
chore: update frontend submodule
itsbkm added a commit that referenced this pull request Aug 9, 2026
… legacy digest tests

Issue #220 item #3 (High, supply chain): canonical/setup-lxd@main was
a mutable ref used in a workflow with write permissions. Pinned to
8c6a87b (tag v1).

Issue #220 item #8 (Low): `on.push.tags: '[0-9]*'` is a glob, not a
version pattern — it matches any tag starting with a digit. Every
downstream step reads VERSION from package.json rather than the
pushed tag, so a malformed or mismatched tag could silently create a
release titled after whatever package.json says. Added a validation
step that rejects a tag that isn't strict X.Y.Z or doesn't equal
package.json's version, before anything is built.

Issue #220 item #4 (Medium): added a real, generated fixture frozen
at schema v56 (the parent version of the tax-registration-number
rename migration) and a test asserting that migration against a real
pre-existing install's shape, not just a fresh createSchema() DB.

Issue #220 item #9 (Medium): recovered the actual pre-removal
official-india/official-thailand pack JSON from git history (the
commit a51e828 removed the files but kept only their digests) and
added a test proving the real historical bytes hash to exactly the
digests LEGACY_TRUSTED_PACK_DIGESTS documents — previously only a
synthetic stand-in pack exercised this path.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
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.

2 participants