Files
wyndham-ARR/.project-docs/50-evidence/topics/2026-07-31-channel-bi-copy-and-data-coverage.md
2026-08-02 12:56:22 +08:00

36 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Channel BI Copy and Data Coverage
## Metadata
- Date: 2026-07-31
- Status: Implemented
- Scope: Desktop Channel BI and H5 BI presentation plus additive analytics range fields
- Confidence: Fact
- Source: channel analytics contracts/provider, desktop and H5 static assets, focused tests
- Last verified: 2026-07-31
## User-Facing Outcome
- The BI-only CHANNEL PERFORMANCE eyebrow is removed from desktop and H5.
- The BI heading no longer shows the updated-through database snapshot copy.
- Visible BI TOTAL PRICE labels are removed; the revenue helper now reads 销售金额合计.
- 各公司本月销售情况 now has a small 数据范围:开始日期 结束日期 line immediately below its title on both surfaces.
## Data Contract
- The analytics endpoint continues to read current Finance facts in one repeatable-read, read-only snapshot.
- The response now adds min_arrival_date; the existing max_arrival_date remains the end of the coverage range.
- Both dates come from current daily-version business dates, which are validated to equal the included ARRIVAL dates. The
browser formats those API values by the active locale and never infers a full calendar month from the browser clock.
## Verification
- Desktop and H5 JavaScript syntax checks passed.
- Focused analytics/Web/UI tests passed, including the desktop/H5 copy contracts and min/max date API assertions.
- No Finance facts, monthly publication artifacts or report-generation behavior changed.
## Design Boundary
This is a preserve-mode refinement using the existing neutral/blue visual system. The range is intentionally a quiet
metadata line under the chart title so it clarifies the partial-month snapshot without competing with the sales ranking.