Skip to content

Form : Attachment theming #490

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

Merged
merged 7 commits into from
Jul 11, 2024

Conversation

kaushikrw
Copy link
Collaborator

@kaushikrw kaushikrw commented Jul 1, 2024

Related to issue: #apollo/671

Description:

Adds theming support for an `AttachmentsFormElement.

Summary of changes:

  • Added AttachmentsElementColors and AttachmentsElementTypography to support custom theming for an AttachmentsFormElement.
  • Added test case to verify the themed properties are displayed correctly.
  • Updated featureforms.api file to reflect the latest api binary changes.

Pre-merge Checklist

@kaushikrw kaushikrw changed the title Form : Attachment theme Form : Attachment theming Jul 1, 2024
@kaushikrw kaushikrw self-assigned this Jul 1, 2024
@kaushikrw kaushikrw marked this pull request as ready for review July 1, 2024 23:30
@sorenoid sorenoid self-requested a review July 1, 2024 23:55
Copy link
Collaborator

@shubham7109 shubham7109 left a comment

Choose a reason for hiding this comment

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

I have left some minor formatting comments. Changes here work well and looks good to me 👍

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not sure how to review this, so I assume it looks good.

Copy link
Collaborator Author

@kaushikrw kaushikrw Jul 10, 2024

Choose a reason for hiding this comment

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

I agree its a bit verbose but its all generated so it should be good. Hopefully checks in the future can automate this bit.

@kaushikrw
Copy link
Collaborator Author

thanks @shubham7109 @sorenoid

@kaushikrw kaushikrw merged commit 52bc763 into feature-branches/forms Jul 11, 2024
@kaushikrw kaushikrw deleted the kaushik/forms/attachment-theme branch July 11, 2024 16:18
kaushikrw added a commit that referenced this pull request Jul 18, 2024
* added horizontal scrollbar (#473)

* `Forms` : Add attachment tests (#480)

* `Forms` : Refactor tests (#488)

* Update CorePrototypes.kt (#494)

* `Forms` : handle empty attachments (#498)

* restrict download and viewing attachments of 0 size

* show error along with load

* ignore non-default formattachmentelement (#499)

* `Forms` : Fix strings (#500)

* `Forms` : Micro-app update oauth credentials (#507)

* refactor generating new attachment names (#505)

* `Form` : Attachment theming (#490)

* `Forms` : Consume latest api (#506)

* make thumbnails part of the state object (#514)

* add attachment size restrictions for loading (#518)
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