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

Feat: Update config to support new schema #71

Merged
merged 8 commits into from
Jun 3, 2022

Conversation

AntonLantukh
Copy link
Collaborator

@AntonLantukh AntonLantukh commented May 25, 2022

  • New config schema changes
  • Existing configs modifications (main config + configs we use for e2e)
  • Validations rules change
  • Continue Watching is now shown if we add it to content array property with a special type
  • Add new 'type' property to PlaylistContainer to deal with 'continue_watching' and 'favorites'
  • Add custom shelf title

This commit breaks backward compatibility. Old config versions are not supported anymore

Description

This PR solves #58

Steps completed:

According to our definition of done, I have completed the following steps:

  • User stories met
  • Storybook stories
  • Unit tests added
  • Linting passing
  • Unit tests passing
  • Docs updated (including config and env variables)
  • Translations added
  • UX tested
  • Browsers / platforms tested
  • Rebased & ready to merge without conflicts
  • Reviewed own code

@AntonLantukh AntonLantukh force-pushed the feature/support-new-config-type branch 4 times, most recently from 8fdaa69 to 88d8c7d Compare May 27, 2022 13:56
@AntonLantukh AntonLantukh linked an issue May 27, 2022 that may be closed by this pull request
@AntonLantukh AntonLantukh marked this pull request as ready for review May 27, 2022 14:18
@AntonLantukh AntonLantukh force-pushed the feature/support-new-config-type branch from 88d8c7d to c99506d Compare May 27, 2022 14:18
@AntonLantukh AntonLantukh requested a review from dbudzins May 27, 2022 14:29
- New config schema changes
- Existing configs modifications (main config + configs we use for e2e)
- Validations rules change
- Continue Watching is now shown if we add it to content array  property with a special type
- Showaces notions changes to app / app-config
- Add new 'type' property to PlaylistContainer to deal with 'continue_watching' and 'favorites'
- Add custom shelf title

This commit breaks backward compatibility. Old config versions are not supported anymore
@AntonLantukh AntonLantukh force-pushed the feature/support-new-config-type branch from c99506d to 1493b40 Compare May 27, 2022 14:42
docs/configuration.md Outdated Show resolved Hide resolved
“Anton added 2 commits May 31, 2022 10:24
- Cleeng getter added to config store
- New error support for playlists without contentId and type

This commit breaks backward compatibility. Old config versions are not supported anymore
- New config schema changes
- Existing configs modifications (main config + configs we use for e2e)
- Validations rules change
- Continue Watching is now shown if we add it to content array property with a special type
- Showcases notions changes to app / app-config
- Add new 'type' property to PlaylistContainer to deal with 'continue_watching' and 'favorites'
- Add custom shelf title

This commit breaks backward compatibility. Old config versions are not supported anymore
@AntonLantukh AntonLantukh force-pushed the feature/support-new-config-type branch from 392db57 to 1b33d7d Compare May 31, 2022 10:25
@AntonLantukh AntonLantukh force-pushed the feature/support-new-config-type branch from 44f7dd5 to d0a3312 Compare May 31, 2022 10:49
@AntonLantukh AntonLantukh requested a review from dbudzins May 31, 2022 10:54
@AntonLantukh AntonLantukh force-pushed the feature/support-new-config-type branch from 137a879 to badc3c7 Compare June 3, 2022 11:43
Comment on lines 16 to 18
} = useConfigStore(({ getCleengData, accessModel }) => ({ cleeng: getCleengData(), accessModel }));
} = useConfigStore(({ getCleengData, accessModel }) => ({ cleeng: getCleengData(), accessModel }), shallow);

console.warn(cleengSandbox, monthlyOfferId, yearlyOfferId);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Committed by accident?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks! Fixed it now

@AntonLantukh AntonLantukh force-pushed the feature/support-new-config-type branch from badc3c7 to 774436a Compare June 3, 2022 12:03
- Add new version
- Minor fixes

Breaking changes
@AntonLantukh AntonLantukh force-pushed the feature/support-new-config-type branch from 774436a to 1b53e61 Compare June 3, 2022 12:11
@AntonLantukh AntonLantukh merged commit f8cf652 into develop Jun 3, 2022
@dbudzins dbudzins deleted the feature/support-new-config-type branch November 10, 2022 12:15
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.

Update config to support new OTT Web App schema
3 participants