Przejdź do treści
Biblioteka skilli
Dane i analityka · Budowanie i kod

dashboard-shell

/dashboard-shell

Buduje pełnoekranowy pulpit wewnątrz jednej wizualizacji HTML w Power BI, aby całe płótno raportu wyglądało jak aplikacja.

Licencja
MIT
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Buduje pełnoekranowy pulpit wewnątrz jednej wizualizacji HTML w Power BI, aby całe płótno raportu wyglądało jak aplikacja.

Oryginalny opis (EN)

Build a complete dashboard inside one HTML Content visual that covers the whole report canvas. Use when the user asks for a fullscreen app-like dashboard, a single-visual layout, or a web-app look inside Power BI.

Jak działa

  1. When to use
  2. Decide the binding model first
  3. Shell structure
  4. Canvas sizing
  5. In-DOM navigation vs real navigation
  6. State honesty
  7. RTL
  8. Delivery checklist
Sekcje z nagłówków SKILL.md, w oryginale · 52 linii, 521 słów
Podgląd SKILL.md
---
name: dashboard-shell
description: Build a complete dashboard inside one HTML Content visual that covers the whole report canvas. Use when the user asks for a fullscreen app-like dashboard, a single-visual layout, or a web-app look inside Power BI.
---

# Dashboard shell (single fullscreen visual)

## When to use

The user wants the whole page to be one designed surface: header, side menu, KPI row, charts, table, footer, all inside one HTML Content visual.

## Decide the binding model first

| Model | Binding | Cross-filter out | Scripts | Best for |
| --- | --- | --- | --- | --- |
| A1 One giant measure | Values only | Never | Yes (Regular) | Pixel-perfect app look, story pages |
| A2 Rows + Context | Values (per-row measure) + Context column | Yes, per row | Yes (Regular) | Shell regions that must filter the report |

State the trade-off to the user in one sentence before building: A1 gives freedom but nothing inside it can filter other visuals; A2 filters but the shell must be row-structured.

## Shell structure

Use `library/shell/dashboard-shell-body.html` as the Body template and `library/shell/dashboard-shell.css` as the Stylesheet. The shell gives:

- `header` (title block, date, context actions)
- `aside` side menu (RTL: docked right; LTR: left) with in-DOM tab items
- `main` content area with `{{content}}` injected rows
- `footer` strip

For A1, `{{content}}` receives the single measure's markup. For A2, each Context row lands as one `.htmlViewerEntry`; shape rows with the Row template `{{row}}` passthrough and per-row measures from `library/components/`.

## Canvas sizing

Set the visual to the full page: x=0, y=0, width=page width, height=page height (1280×720 or 1920×1080 by default). Turn off the visual container's Effects → Background, Border and Shadow, or set them deliberately. Inside the DOM, size the shell with `100%` / `100vh`-style flex or grid, not fixed pixels, so the shell survives page-view scaling.

## In-DOM navigation vs real navigation

The shell's side menu can switch **sections inside the visual** using a script (Regular edition) per the documented pattern: shared `window.app` functions defined once in the Body template, tiny per-row init scripts, sections shown/hidden in the DOM. This is real and documented (in-DOM filtering / progressive disclosure). What it does not do: switch Power BI pages, change filters, or affect other visuals. If a menu item must open another report page, overlay a native transparent button on that item (see `skills/navigation-header-menu/SKILL.md`) or move navigation out of the visual.

If the target edition is Secure, menu interactions are impossible; make the menu display-only plus native overlay buttons.

## State honesty

No localStorage/cookies exist in the sandbox. Any in-DOM state (open tab, expanded card) resets when the visual re-renders: on data refresh, on cross-filter, on *Rebuild content* updates. Choose *On data update → Preserve unchanged content* when in-DOM state matters, and know that rows which move are re-inserted and reset.

## RTL

The shell ships RTL-ready: `dir="rtl"` on the root, menu docked right, numbers isolated. Verify mixed-direction runs with the rules in `skills/rtl-hebrew/SKILL.md`.

## Delivery checklist

- Binding model chosen and stated (A1/A2), edition chosen and stated.
- Body template, Row template, Stylesheet, measures: all delivered as copyable code.
- Interactions enumerated, each marked: cross-filter (real), in-DOM script (real, Regular only), native overlay (real), or display-only.
- Verification label: doc-based, not run in Power BI; hand over `checklists/validation.md`.

Wersje

W bazie nie ma innych skilli o nazwie dashboard-shell.

Migawka bazy z 13.11.2026 · wersja paczki 04c112a7985c (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100composite-dashboard
    Buduje pulpit z kilku wizualizacji HTML ułożonych na tle strony Power BI, łącząc je z natywnymi wykresami, filtrami i eksportem.
  • 90navigation-header-menu
    Buduje nagłówki i boczne menu w HTML dla dashboardów Power BI, z prawdziwą nawigacją między stronami i zakładkami.
  • 100make-dashboard
    Zamienia dane w samodzielny dashboard HTML obok raportu lub w specyfikację dla narzędzia BI zespołu, gdy odpowiedź jest zbyt wielowymiarowa na zwykły tekst.
  • 93pbi-theme
    Generuje kompletne pliki motywów Power BI Desktop z kolorów marki: gotowy JSON, tła płótna, tokeny CSS, przykłady wizualizacji DAX HTML i dokument systemu projektowego A4 PDF.
  • 100data-who
    Wyjaśnia raport lub pulpit Power BI prostym językiem: do czego służy, jak go czytać, co znaczy każda miara i skąd są dane.
  • 100pbi-verify-loop
    Sprawdza wizualnie zmiany raportu Power BI w działającym Desktopie: odświeża płótno, robi zrzut strony i porównuje z makietą.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.