Skip to content

feat: autolabel fields when omitted - #42

Merged
jmikrut merged 15 commits into
masterfrom
field-autolabel
Apr 17, 2021
Merged

jmikrut merged 15 commits into
masterfrom
field-autolabel

Conversation

@denolfe

@denolfe denolfe commented Jan 27, 2021

Copy link
Copy Markdown
Member
  • Field labels get labeled automatically if left undefined.
  • label: false opts out of getting labeled
  • label: 'My Custom Label' overrides auto-labeling

Resolves #37

@denolfe

denolfe commented Feb 3, 2021 •

Copy link
Copy Markdown
Member Author

Blocks must have a label for pill text.

@denolfe

denolfe commented Feb 5, 2021

Copy link
Copy Markdown
Member Author

Ready for review

path?: string
fieldTypes: FieldTypes
permissions: FieldPermissions
label: string

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should also be allowed to be set to false as well, right? As the Blocks type?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ugh, changing this one had a lot of implications, let's discuss.

@denolfe
denolfe force-pushed the field-autolabel branch 2 times, most recently from 6bc7c64 to 195932d Compare March 9, 2021 03:34
@jmikrut
jmikrut merged commit b383eb6 into master Apr 17, 2021
@denolfe
denolfe deleted the field-autolabel branch July 7, 2022 02:38
jacobsfletch pushed a commit to jacobsfletch/payload that referenced this pull request Oct 15, 2023
jacobsfletch pushed a commit to jacobsfletch/payload that referenced this pull request Oct 15, 2023
yashrajsharan18 added a commit to yashrajsharan18/payload that referenced this pull request Aug 8, 2026
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.

Auto-generate field labels if none specified

2 participants