Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ All notable changes to DashCraft (named pbiview before [ADR-0009](docs/adr/0009-
- Opening and saving a PBIP project fingerprints its files faster: the size and file-count caps are checked before any file is read, and the files are read on up to 8 threads (Acme Outfitters: 8.8 → 5.8 ms per scan).

### Added
- Bookmarks restore drill state and spotlight (M9.5): a captured visual's `activeProjections` and drill filters set its drill levels and path, and a spotlighted visual fades the rest of the page.
- Data labels of highlighted charts show the highlighted value and their tooltips add a "Highlighted" line (M9.1).
- Slicers honour their `general.selfFilter` (M9.6): the filter the newer slicers keep on their own item list narrows that slicer only, not the visuals it filters.
- Drill down and up on report visuals (M9.2): charts with several axis fields and matrices with several row fields drill up, down on a data point, to the next level or expand one level, from the visual's header buttons or right-click menu, and through the new `canvas.drill` command.
Expand Down
2 changes: 1 addition & 1 deletion app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ on Windows 10 and 11.
are capped at 1000 rows per `EVALUATE` and use the model's format strings for model columns.
- Report canvas: highlights are drawn on bar, column, combo, pie, donut, treemap and funnel
charts, whose data labels show the highlighted values and tooltips a "Highlighted" line; other visuals (tables, matrices, lines, …) are filtered instead; Q&A and Web URL
buttons are not executed; bookmarks cannot be added or updated, and their drill, spotlight and
buttons are not executed; bookmarks cannot be added or updated, and their focus-mode and
cross-highlight parts are not applied; range and
relative-date slicers draw but their sliders / date pickers are not interactive (tiles select
like list items); no visual header menus (focus mode, show as table, sort, export) or filter
Expand Down
7 changes: 4 additions & 3 deletions app/src/lib/ops.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,8 @@ export interface CanvasBookmarkOut {
changedPages: string[]
/**
* Parts of the bookmark DashCraft does not apply yet (Top N filter
* changes, drill state, spotlight, formatting, …).
* changes, focus mode, matrix expansion, cross-highlights,
* formatting, …).
*/
notApplied: string[]
/** The page the bookmark shows (else `page`), rendered. */
Expand Down Expand Up @@ -5272,7 +5273,7 @@ export interface OpsCommands {
'canvas.closePopups': { params: CanvasClosePopupsParams; output: CanvasChangeOut }
/** Back to the report's saved slicer selections, no cross-filter, scroll and dropdowns reset; returns the re-rendered page. */
'canvas.reset': { params: CanvasPageParams; output: CanvasPageOut }
/** Applies a report bookmark to the canvas (page, slicers, filters, visibility and sort; all or only its target visuals) and renders the page it shows; lists the parts not applied yet. */
/** Applies a report bookmark to the canvas (page, slicers, filters, visibility, sort, drill and spotlight; all or only its target visuals) and renders the page it shows; lists the parts not applied yet. */
'canvas.applyBookmark': { params: CanvasBookmarkParams; output: CanvasBookmarkOut }
/** The hover tooltip (category, series, values) of a data point hit, from the last render. */
'canvas.tooltip': { params: CanvasHitParams; output: TooltipOut }
Expand Down Expand Up @@ -5624,7 +5625,7 @@ export function makeOps<O = undefined>(run: OpsRunner<O>) {
canvasClosePopups: (params: CanvasClosePopupsParams, options?: O) => run('canvas.closePopups', params, options),
/** Back to the report's saved slicer selections, no cross-filter, scroll and dropdowns reset; returns the re-rendered page. */
canvasReset: (params: CanvasPageParams, options?: O) => run('canvas.reset', params, options),
/** Applies a report bookmark to the canvas (page, slicers, filters, visibility and sort; all or only its target visuals) and renders the page it shows; lists the parts not applied yet. */
/** Applies a report bookmark to the canvas (page, slicers, filters, visibility, sort, drill and spotlight; all or only its target visuals) and renders the page it shows; lists the parts not applied yet. */
canvasApplyBookmark: (params: CanvasBookmarkParams, options?: O) => run('canvas.applyBookmark', params, options),
/** The hover tooltip (category, series, values) of a data point hit, from the last render. */
canvasTooltip: (params: CanvasHitParams, options?: O) => run('canvas.tooltip', params, options),
Expand Down
5 changes: 3 additions & 2 deletions crates/pbi-ops/src/commands/canvas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,8 @@ pub struct CanvasBookmarkOut {
/// (internal names).
pub changed_pages: Vec<String>,
/// Parts of the bookmark DashCraft does not apply yet (Top N filter
/// changes, drill state, spotlight, formatting, …).
/// changes, focus mode, matrix expansion, cross-highlights,
/// formatting, …).
pub not_applied: Vec<String>,
/// The page the bookmark shows (else `page`), rendered.
pub rendered: CanvasPageOut,
Expand All @@ -674,7 +675,7 @@ impl Command for CanvasApplyBookmark {
CommandMeta {
id: "canvas.applyBookmark",
title: "Apply a bookmark",
summary: "Applies a report bookmark to the canvas (page, slicers, filters, visibility and sort; all or only its target visuals) and renders the page it shows; lists the parts not applied yet.",
summary: "Applies a report bookmark to the canvas (page, slicers, filters, visibility, sort, drill and spotlight; all or only its target visuals) and renders the page it shows; lists the parts not applied yet.",
long_running: true,
examples: &[
(
Expand Down
Loading
Loading