Skip to content

Formly field CSS override - #1479

Merged
Yicong-Huang merged 9 commits into
apache:masterfrom
me-here:mihir-formly-highlighting
Jun 2, 2022
Merged

Yicong-Huang merged 9 commits into
apache:masterfrom
me-here:mihir-formly-highlighting

Conversation

@me-here

@me-here me-here commented Mar 13, 2022 •

Copy link
Copy Markdown
Contributor

Description: Takes in map of field names to css style in operator component, let user to specify custom css of a formly field.
Can be useful in case of workflow diffs for fields common to an operator.

One example:
image

@sadeemsaleh
sadeemsaleh requested a review from Yicong-Huang April 1, 2022 16:21
@me-here me-here assigned Yicong-Huang and me-here and unassigned Yicong-Huang Apr 2, 2022

@Yicong-Huang Yicong-Huang 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.

The logic of this highlight API seems not completed: there is no current way for the user of this feature to specify which field to highlight during runtime?

Comment thread yarn.lock Resolved
Comment thread node_modules/.yarn-integrity Resolved
@Xiao-zhen-Liu

Copy link
Copy Markdown
Contributor

Discussion 2022.05.12: @Yicong-Huang will contact @me-here and merge this PR.

# Conflicts:
#	core/new-gui/src/app/workspace/component/property-editor/operator-property-edit-frame/operator-property-edit-frame.component.ts

@Yicong-Huang Yicong-Huang 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.

Taken over the task and made it configurable. Can be used for diff or other scenarios in the future.

@Yicong-Huang Yicong-Huang changed the title Formly Field Highlighting Formly Field CSS Override Jun 2, 2022
@Yicong-Huang Yicong-Huang changed the title Formly Field CSS Override Formly field CSS override Jun 2, 2022
@Yicong-Huang
Yicong-Huang merged commit 00384f7 into apache:master Jun 2, 2022
@Yicong-Huang
Yicong-Huang deleted the mihir-formly-highlighting branch June 2, 2022 02:25
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
Description: Takes in map of field names to css style in operator component, let user to specify custom css of a formly field. 
Can be useful in case of workflow diffs for fields common to an operator.

One example:
![image](https://user-images.githubusercontent.com/5033834/158047051-65c193b8-34db-4517-b2c3-b25ff223fa09.png)

Co-authored-by: Mihir Thanekar <[email protected]>
Co-authored-by: Yicong Huang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants