Skip to content

feat(items): add per-type column value helpers (email/phone/link/checkbox/dropdown)#43

Open
luarss wants to merge 2 commits into
mondaycom:masterfrom
luarss:feature/luarss/item-column-value-methods
Open

feat(items): add per-type column value helpers (email/phone/link/checkbox/dropdown)#43
luarss wants to merge 2 commits into
mondaycom:masterfrom
luarss:feature/luarss/item-column-value-methods

Conversation

@luarss
Copy link
Copy Markdown

@luarss luarss commented May 20, 2026

No description provided.

luarss added 2 commits May 20, 2026 09:31
…kbox/dropdown)

Fills in the missing `change_*_column_value` siblings to match the
existing pattern of `change_status_column_value` and
`change_date_column_value`. Each new helper wraps the correct JSON shape
expected by Monday's column_values API:

  change_email_column_value     -> {"email": ..., "text": ...}
  change_phone_column_value     -> {"phone": ..., "countryShortName": ...}
  change_link_column_value      -> {"url": ..., "text": ...}
  change_checkbox_column_value  -> {"checked": "true"} or {}
  change_dropdown_column_value  -> {"labels": [...]}

Before this change, callers either had to memorize the JSON shapes and
pass them to `change_custom_column_value` directly, or look them up in
Monday's API reference each time. The docstring on
`change_custom_column_value` is updated to point at the type-specific
helpers and now serves as the escape hatch for column types that don't
have one yet (country, location, people, tags).
Existing change_*_column_value helpers (simple/status/date) have no
docstrings; match that for the new ones. Reverts the
change_custom_column_value docstring to the original informal 'for X
columns, use Y' list format, just extended with the new helpers.
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.

1 participant