Email search/query + windowed digest preview (v0.1.0:83)
Communications tab (search/query roadmap items 1 & 2): - Fix the investor dropdown: the facet only listed grid investors, so it came back empty whenever email matched a classic contact or org domain (no grid id — the common case). It now mirrors the email list, resolving each link to a typed identity (fund:/org:/contact:/addr:) with precedence grid -> org -> contact -> address; investor_id accepts the typed key (bare id = fund: for back-compat) and an unknown prefix matches nothing. - Add a date-range filter and a click-to-expand full-body view (GET /api/email/detail, admin, soft-delete-gated; body_text only, never raw remote HTML). - Add a "Search content" mode: GET /api/email/search wraps the ingest hybrid_search over the Qdrant email index (doc_type=email), hydrated and soft-delete-filtered against SQLite (canonical), 503 if Spark/Qdrant down. Daily digest: - Settings -> Admin builds a digest over a chosen window (last 24h or since a date) as an in-app preview before sending (POST /api/admin/digest/preview), so the local-Spark summarizer can be verified on demand even on a quiet day. Manual send uses the same window; neither advances the daily cursor, so a preview never suppresses the scheduled digest. Code-only, migrations no-op. 22/22 backend tests, render-smoke pass.
This commit is contained in:
@@ -43,8 +43,9 @@ import { v_0_1_0_79 } from './v0.1.0.79'
|
||||
import { v_0_1_0_80 } from './v0.1.0.80'
|
||||
import { v_0_1_0_81 } from './v0.1.0.81'
|
||||
import { v_0_1_0_82 } from './v0.1.0.82'
|
||||
import { v_0_1_0_83 } from './v0.1.0.83'
|
||||
|
||||
export const versionGraph = VersionGraph.of({
|
||||
current: v_0_1_0_82,
|
||||
other: [v_0_1_0_39, v_0_1_0_40, v_0_1_0_41, v_0_1_0_42, v_0_1_0_43, v_0_1_0_44, v_0_1_0_45, v_0_1_0_46, v_0_1_0_47, v_0_1_0_48, v_0_1_0_49, v_0_1_0_50, v_0_1_0_51, v_0_1_0_52, v_0_1_0_53, v_0_1_0_54, v_0_1_0_55, v_0_1_0_56, v_0_1_0_57, v_0_1_0_58, v_0_1_0_59, v_0_1_0_60, v_0_1_0_61, v_0_1_0_62, v_0_1_0_63, v_0_1_0_64, v_0_1_0_65, v_0_1_0_66, v_0_1_0_67, v_0_1_0_68, v_0_1_0_69, v_0_1_0_70, v_0_1_0_71, v_0_1_0_72, v_0_1_0_73, v_0_1_0_74, v_0_1_0_75, v_0_1_0_76, v_0_1_0_77, v_0_1_0_78, v_0_1_0_79, v_0_1_0_80, v_0_1_0_81],
|
||||
current: v_0_1_0_83,
|
||||
other: [v_0_1_0_39, v_0_1_0_40, v_0_1_0_41, v_0_1_0_42, v_0_1_0_43, v_0_1_0_44, v_0_1_0_45, v_0_1_0_46, v_0_1_0_47, v_0_1_0_48, v_0_1_0_49, v_0_1_0_50, v_0_1_0_51, v_0_1_0_52, v_0_1_0_53, v_0_1_0_54, v_0_1_0_55, v_0_1_0_56, v_0_1_0_57, v_0_1_0_58, v_0_1_0_59, v_0_1_0_60, v_0_1_0_61, v_0_1_0_62, v_0_1_0_63, v_0_1_0_64, v_0_1_0_65, v_0_1_0_66, v_0_1_0_67, v_0_1_0_68, v_0_1_0_69, v_0_1_0_70, v_0_1_0_71, v_0_1_0_72, v_0_1_0_73, v_0_1_0_74, v_0_1_0_75, v_0_1_0_76, v_0_1_0_77, v_0_1_0_78, v_0_1_0_79, v_0_1_0_80, v_0_1_0_81, v_0_1_0_82],
|
||||
})
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
import { VersionInfo } from '@start9labs/start-sdk'
|
||||
|
||||
// Email search/query + windowed digest preview. Code-only, no schema change (migrations no-ops):
|
||||
// * Communications tab: fixed the investor dropdown (was empty whenever email matched a
|
||||
// classic contact / org domain rather than a grid investor) — the facet now mirrors the
|
||||
// list with typed keys (fund:/org:/contact:); added a date-range filter and a click-to-
|
||||
// expand full-body view (GET /api/email/detail), and a semantic "Search content" mode over
|
||||
// indexed email bodies (GET /api/email/search -> ingest hybrid_search, soft-delete-filtered).
|
||||
// * Daily digest: Settings -> Admin now builds a digest over a chosen window (last 24h or
|
||||
// since a date) as an in-app preview before sending (POST /api/admin/digest/preview), and
|
||||
// the manual send uses the same window. Exercises the real local-Spark summarizer; neither
|
||||
// touches the daily schedule cursor.
|
||||
export const v_0_1_0_83 = VersionInfo.of({
|
||||
version: '0.1.0:83',
|
||||
releaseNotes: {
|
||||
en_US: [
|
||||
'Communications: the investor dropdown now lists every matched relationship (not just',
|
||||
'grid investors), plus a date-range filter, a full-body view, and a semantic content',
|
||||
'search over email bodies. Daily Digest: preview a digest over any window before sending.',
|
||||
'No data changes.',
|
||||
].join(' '),
|
||||
},
|
||||
migrations: { up: async () => {}, down: async () => {} },
|
||||
})
|
||||
Reference in New Issue
Block a user