Skip to content

Support area places on channels#145

Merged
mroloux merged 7 commits into
masterfrom
matti/channels-area-places
May 21, 2026
Merged

Support area places on channels#145
mroloux merged 7 commits into
masterfrom
matti/channels-area-places

Conversation

@mroloux

@mroloux mroloux commented May 21, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 21, 2026 11:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for assigning general admission area places (area_places / areaPlaces) to event channels, extending the Python client’s channel APIs and domain model so these values can be sent to and read back from the Seatsio API.

Changes:

  • Add area_places support to channel operations: add channel, update channel, add/remove objects on a channel.
  • Update request serialization and the Channel domain model to carry and serialize areaPlaces.
  • Add test coverage for area_places on add/update/add_objects/remove_objects channel flows.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/events/channels/testUpdateChannel.py Adds a test verifying updating area_places on an existing channel.
tests/events/channels/testRemoveObjectsFromChannel.py Adds a test verifying removing area_places from a channel via remove_objects.
tests/events/channels/testAddObjectsToChannel.py Adds a test verifying adding area_places via add_objects.
tests/events/channels/testAddChannel.py Adds a test verifying creating a channel with area_places.
seatsio/events/channelsRequests.py Extends request payloads to include areaPlaces; updates replace-channels serialization.
seatsio/events/channelsClient.py Extends client method signatures to accept area_places and forwards it into requests.
seatsio/events/channelProperties.py Extends ChannelProperties with area_places mapped to areaPlaces.
seatsio/domain.py Extends Channel model with area_places and adds JSON serialization for replace-channels.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread seatsio/domain.py
Comment thread seatsio/domain.py
Comment thread seatsio/events/channelsRequests.py
Copilot AI review requested due to automatic review settings May 21, 2026 12:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Comment thread seatsio/domain.py
Copilot AI review requested due to automatic review settings May 21, 2026 12:37
@mroloux mroloux marked this pull request as ready for review May 21, 2026 12:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 14 out of 15 changed files in this pull request and generated 2 comments.

Comment thread seatsio/domain.py
def create(cls, param):
if param is not None:
return Channel(param.get('name'), param.get('color'), param.get('index'), param.get('key'), param.get('objects'))
return Channel(param.get('name'), param.get('color'), param.get('index'), param.get('key'), param.get('objects'), param.get('areaPlaces') or None)
Comment on lines 28 to 32
if categories is not None:
request["categories"] = categories
if channels is not None:
request['channels'] = channels
request['channels'] = [c.to_json() for c in channels]
if for_sale_config is not None:
@mroloux mroloux requested review from bverbeken and sdivelbiss May 21, 2026 13:27
@mroloux mroloux merged commit ff154e1 into master May 21, 2026
5 of 8 checks passed
@mroloux mroloux deleted the matti/channels-area-places branch May 21, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants