v0.1.14 - b2b portal
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
import packageInfo from '../../package.json';
|
||||
|
||||
/**
|
||||
* Release notes shown in the "What's new" dialog. This is the single source of
|
||||
* truth for the changelog: add a new entry at the top of `changelog` whenever
|
||||
* the version in package.json is bumped, and the dialog will surface it once per
|
||||
* user on their next login (see $lib/whats-new and WhatsNewDialog.svelte).
|
||||
*/
|
||||
export type ChangelogEntry = {
|
||||
version: string;
|
||||
/** ISO date (YYYY-MM-DD) the version shipped. */
|
||||
date: string;
|
||||
highlights: string[];
|
||||
};
|
||||
|
||||
/** The running app version, read straight from package.json at build time. */
|
||||
export const APP_VERSION: string = packageInfo.version;
|
||||
|
||||
export const changelog: ChangelogEntry[] = [
|
||||
{
|
||||
version: '0.1.14',
|
||||
date: '2026-06-11',
|
||||
highlights: [
|
||||
'New: private B2B customer ordering portal — customers browse their catalogue, see account-specific pricing, and submit orders.',
|
||||
'Order management console for internal staff: review orders, manage products, pricing, and the full order lifecycle.',
|
||||
'Customer-specific pricing engine (fixed, contract, price lists, tiered, and quote-only) calculated on the backend.',
|
||||
'Order confirmations (PDF) and Xero submission, behind a clean integration layer.'
|
||||
]
|
||||
},
|
||||
{
|
||||
version: '0.1.12',
|
||||
date: '2026-06-10',
|
||||
highlights: [
|
||||
'Mix Calculator: Changed from selecting Product to Mix.',
|
||||
'Web app design improved',
|
||||
'Throughput tab ready for testing',
|
||||
'Costing Editor tab ready for testing'
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
/** The changelog entry matching a specific version, if one exists. */
|
||||
export function changelogFor(version: string): ChangelogEntry | undefined {
|
||||
return changelog.find((entry) => entry.version === version);
|
||||
}
|
||||
|
||||
/** The entry for the version the app is currently running, if documented. */
|
||||
export const currentChangelog: ChangelogEntry | undefined = changelogFor(APP_VERSION);
|
||||
Reference in New Issue
Block a user