Skip to content

FeatureForm: Update UN Association Display Spec #934

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: feature-branches/forms
Choose a base branch
from

Conversation

kaushikrw
Copy link
Collaborator

@kaushikrw kaushikrw commented Jul 9, 2025

Related to issue: #kotlin/6148

Description:

This PR updates the toolkit to follow the latest spec for displaying UNA properties and behavior.

Summary of changes:

  • The properties for a displayed association have been updated according to the spec here.
  • Feature.refresh() is now called when navigating forward/backward to a feature to trigger any attribute rule changes. See apollo/1168.
  • Fixed a size conversion issue in the AttachmentSizeLimitExceededException class.

Test data available in the linked issue.

Pre-merge Checklist

@kaushikrw kaushikrw self-assigned this Jul 9, 2025
Comment on lines +494 to +496
internal class AttachmentSizeLimitExceededException(val limit: Long) : Exception(
"Attachment size exceeds the limit of ${limit/1_000_000} MB"
)
Copy link
Collaborator Author

@kaushikrw kaushikrw Jul 10, 2025

Choose a reason for hiding this comment

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

Unrelated to the primary objective of this PR, this is a small fix where the exception message was being shown in bytes instead of MB.

@kaushikrw kaushikrw marked this pull request as ready for review July 11, 2025 00:05
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.

2 participants