• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ultimate-notion / ultimate-notion / 28299699145
87%

Build:
DEFAULT BRANCH: main
Ran 27 Jun 2026 07:42PM UTC
Jobs 7
Files 38
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Jun 2026 07:39PM UTC coverage: 87.152% (+0.04%) from 87.108%
28299699145

push

github

web-flow
feat(blocks): Add tab block support via new Tabs block (#188) (#420)

* feat(blocks): Add tab block support via new Tabs block (#188)

Add support for Notion tab blocks, which group content into labeled
tabs. A tab block is a container whose children are paragraph blocks,
each acting as a tab (rich text = label, optional icon, children =
content), mirroring the existing Columns/Column design.

- obj_api: add `Tab`/`TabTypeData`
- high-level: add `Tabs` block (create with labels, `add_tab`, indexing,
  markdown) and a `Paragraph.icon` property; wire `Tabs` into append
  batching; export `Tabs`
- docs + CHANGELOG; offline and live (VCR) tests

Live cassettes for the new tests and the docs example are not yet
recorded.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* refactor(blocks): Scope tabs PR to tab blocks only, drop Paragraph.icon

Remove the general-purpose `Paragraph.icon` property and the tab-icon
handling that came with it, keeping this change focused solely on tab
block support (#188). Tab icons can be added separately as their own
enhancement.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* refactor(blocks): Align Tabs API with Columns conventions

Make the new Tabs block consistent with the existing container blocks:

- `add_tab` now returns `Self` (like `add_column`/`insert_row`) instead
  of the created tab; index is positional and validation mirrors
  `add_column`'s if/else shape
- `Tabs(...)` requires a sequence of label strings (no empty default),
  validates the element type, rejects a bare `str`, and enforces a
  `MIN_TABS` minimum — mirroring `Columns`' type/`MIN_COLS` checks
- Update the docs example and add construction-validation tests

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* refactor(blocks): Drop Tabs init checks already covered by type hints

The `not isinstance(tabs, Sequence)` and per-element `isinstance(label,
str)` guards in `Tabs.__init__` on... (continued)

53 of 58 new or added lines in 2 files covered. (91.38%)

6885 of 7900 relevant lines covered (87.15%)

6.07 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
86.03
0.37% src/ultimate_notion/blocks.py
Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-latest-3.13 - 28299699145.1 27 Jun 2026 07:42PM UTC 38
87.14
GitHub Action Run
2 run-ubuntu-latest-3.14 - 28299699145.2 27 Jun 2026 07:46PM UTC 38
87.14
GitHub Action Run
3 run-ubuntu-latest-3.12 - 28299699145.3 27 Jun 2026 07:42PM UTC 38
87.14
GitHub Action Run
4 run-macos-latest-3.10 - 28299699145.4 27 Jun 2026 07:42PM UTC 38
87.15
GitHub Action Run
5 run-ubuntu-latest-3.11 - 28299699145.5 27 Jun 2026 07:42PM UTC 38
87.14
GitHub Action Run
6 run-ubuntu-latest-3.10 - 28299699145.6 27 Jun 2026 07:44PM UTC 38
87.15
GitHub Action Run
7 run-windows-latest-3.10 - 28299699145.7 27 Jun 2026 07:44PM UTC 38
84.46
GitHub Action Run
Source Files on build 28299699145
  • Tree
  • List 38
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28299699145
  • a448b9c1 on github
  • Prev Build on main (#28298578493)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc