Skip to content

[Contract] Standardize event name trimming #326

@Yunusabdul38

Description

@Yunusabdul38

Description: Ensure event names are cleanly stored by trimming leading and trailing whitespace during registration to prevent UI inconsistencies. Tasks:

Implement name sanitization in register_event.
Trim the name field before persisting to storage.
Add a test case with intentionally messy names.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions