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

Hotfix v1.8.0: Views thumbnail fix -- MULTIDEV ONLY #765

Closed
wants to merge 3 commits into from

Conversation

dblanken-yale
Copy link
Contributor

YALB-XX: Title

Description of work

  • Adds functionality bullet item
  • Fixes this or that bullet item

Functional testing steps:

  • Step 1
  • Step 2
  • Step 3
  • ...

When an existing view is modified, the default was that show thumbnail
would be false, when in fact, it should default to true.  When creating
new views, it does this, but for those that had no value at all, it
defaulted to unchecked.

This checks if fieldOptionValue is empty and if so, it uses the default
value of show_thumbnail enabled.
There are three states we're targeting here:
  1.  A new view where the default should be that show_thumbnail is on
  2.  A previously saved view where they might have enabled or disabled
      show_thumbnail
  3.  An existing view that was there before these options were
      presented (no config options set)

We want to make sure that the default behavior is that where appropriate
cards display thumbnails by default until they opt out.  This attempt to
determine if there's no config at all (existing view before update) and
sets the thumbnail option accordingly.
@dblanken-yale
Copy link
Contributor Author

This is only for a multidev

@dblanken-yale dblanken-yale changed the title Hotfix v1.8.0: Views thumbnail fix Hotfix v1.8.0: Views thumbnail fix -- MULTIDEV ONLY Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant