Skip to content
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

Added some style changes in label field selector for the DefaultLabel template #14791

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

Godmartinz
Copy link
Collaborator

@Godmartinz Godmartinz commented May 29, 2024

Description

if theDefaultLabel template is selected the top four field options created will be highlighted to indicate these are the only fields that will show. The highlight disappears for other templates.
image

Screen.Recording.2024-05-29.at.3.mp4

Fixes #[sc-25690]

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • [x ] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • PHP version:
  • MySQL version
  • Webserver version
  • OS version

Checklist:

Copy link

what-the-diff bot commented May 29, 2024

PR Summary

  • Addition of a New Attribute in the Field Definition File
    The label2-field-definitions.blade.php file now has a new template attribute in the x-data directive. This will allow us to better manage our data and provide more dynamic response based on different conditions.

  • Conditional Background Color Change in Field Definition File
    We've added an x-bind:style directive to the label2-field-definitions.blade.php file. This command lets us change the background color of certain divisions on our web page based on specific conditions—enhancing our website's interactive capabilities.

  • Inclusion of New Attribute in the Labels File
    The labels.blade.php file is also enhanced with a new template attribute. It's added to the partials.label2-field-definitions include statement, which can improve our code organization and reusability.

@Godmartinz Godmartinz changed the title Added some css in label field selector for the DefaultLabel template Added some style changes in label field selector for the DefaultLabel template May 29, 2024
@snipe snipe merged commit 6cbdbcb into snipe:develop Jun 20, 2024
8 checks passed
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.

2 participants