Skip to content

feat(layers): add Arrow columns to IconLayer - #11043

Merged
ibgreen merged 6 commits into
masterfrom
codex/arrow-icon-layer
Nov 5, 2026
Merged

ibgreen merged 6 commits into
masterfrom
codex/arrow-icon-layer

Conversation

@ibgreen

@ibgreen ibgreen commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Background

IconLayer needs row objects to select icons with getIcon. Arrow columns can supply positions and styling directly while those rows still select the icons.

Change List

  • Add five Arrow column props to IconLayer
  • Reuse LayerColumns for conversion, fallback, and chunk drawing
  • Keep Arrow lifecycle logic in private helpers across three layers
  • Test atlas frame picking across chunks on WebGL and WebGPU
  • Document Arrow inputs and the WebGPU vertex buffer limit

Verified with lint and 35 focused browser tests.


Note

Low Risk
Low risk as the changes add optional Arrow column props and chunk picking offsets without altering existing row-accessor rendering paths.

Overview
Adds Apache Arrow vector column support to IconLayer, introducing positions, sizes, colors, angles, and pixelOffsets props that override row accessors while continuing to support row-based icon atlas mapping.

Integrates LayerColumns and GPUVectorModel to handle column conversions and chunked rendering across both WebGL and WebGPU. Adds a rowIndexOffset uniform to GLSL and WGSL shaders to preserve correct object picking across Arrow chunks.

Also extracts accessor restoration logic into dedicated restoreAccessorState() helpers in ArcLayer and ScatterplotLayer when disabling column mode, and updates Arrow column documentation across multiple layers.

Reviewed by Cursor Bugbot for commit a334296. Bugbot is set up for automated code reviews on this repo. Configure here.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-05T01:21:28.751147Z
We couldn’t complete this review. Comment @codex review to try again.
b709f0c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@greptile-apps

greptile-apps Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no new actionable issues were found.

Summary

Adds five Arrow column props to IconLayer while keeping row-based icon selection.

  • IconLayer can place and style icons from Arrow columns.
  • Arrow layer guides list each column's shape and matching accessor.
  • ArcLayer and ScatterplotLayer restore accessors after Arrow columns end.

No new actionable issues were found. Tests were inspected but not run.

Reviews (5) · Last reviewed commit: "Match Arrow column docs to layer prop st..." · Reviewed by Greptile

@coveralls

coveralls commented Nov 5, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 84.865% (+0.03%) from 84.836% — codex/arrow-icon-layer into master

@ibgreen
ibgreen force-pushed the codex/arrow-icon-layer branch from d894e58 to 36a4d27 Compare November 5, 2026 01:33

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 36a4d27. Configure here.

@chrisgervang chrisgervang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending doc re-write

Comment thread docs/api-reference/layers/icon-layer.md Resolved
@ibgreen
ibgreen force-pushed the codex/arrow-icon-layer branch from afc5177 to a334296 Compare November 5, 2026 11:13
@ibgreen
ibgreen merged commit c6fd622 into master Nov 5, 2026
7 checks passed
@ibgreen
ibgreen deleted the codex/arrow-icon-layer branch November 5, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants