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

Release Candidate - v6.0.0 #473

Merged
merged 81 commits into from
Mar 27, 2024
Merged

Release Candidate - v6.0.0 #473

merged 81 commits into from
Mar 27, 2024

Conversation

dbudzins
Copy link
Contributor

⚠ BREAKING CHANGES

Features

  • a11y: many accessibility optimisations (cc02259), closes #48 #47 #46
  • a11y: update font colors for contrast and adjust active state in header (#76) (6444282)
  • accessibility improvements and bug fixes (82b5967), closes #127 #109 #115 #117 #116 #121 #125
  • payment: disable deprecated receipts cleeng (#458) (d37905d)
  • project: add app content search (71433ab)
  • project: customizable footer through env-var (9d8ff15)
  • project: dynamic gtm snippet (6babace)
  • project: favicons in different sizes (a1c6188)
  • project: restructure for multiplatforms with workspaces (#435) (3e3e2b1), closes #8
  • project: update default content-type schemas (0a9817a)
  • underline for active header item and add lineair gradient (1d2f25f)
  • watchhistory: change max items limit (#418) (d7db57a)

Bug Fixes

  • a11y: close search bar when pressing escape (7a14497)
  • a11y: constrast enhancement for search field (b4c3230)
  • a11y: format date call caused an error to be raised (aef1415)
  • a11y: prevent duplicate global a11y selectors (b3ccaff)
  • a11y: remove outline when user is not tabbing (5fe1665)
  • a11y: shelf item navigation with screen reader (91dc66c)
  • account: delete account error (a2885eb)
  • auth: capture error to prevent misleading “wrong combination” error (588f69a)
  • click not working in layout grid (2ded57b)
  • e2e test optimisations and small fixes (b700fbb)
  • e2e tests for a11y (c4d09c5)
  • enter key not closing the account modal (1791b4c)
  • favorites and history validation error (3deabfc)
  • footer overlap fix (bf79d10)
  • hide start watching button in avod platform (86b461f)
  • language menu icon not centered (ddcfc91)
  • layout grid arrow down and end problem (6a291a7)
  • layout grid home and page down problem (a6305ef)
  • logo and header layout issues (a0cca10)
  • menu: ensure logo does not exceed width of the header (ea4af42)
  • payment: incorrect couponCode success message (c97c59b)
  • payment: redirect after incorrect couponcode entry (ca71f29)
  • payment: subscription offer panel shown for authvod+tvod (d63b056)
  • payment: tvod offer not showing in AuthVOD platform (d01d1b7)
  • personal shelves restoration (2741eac)
  • player: inlineplayer not supporting tvod (bb593e9)
  • project: ensure modals obscure underlying elements (f52a0f3)
  • project: fix live stream duration check for ott plugin (#460) (69eff3c)
  • project: show footer when custom footer is provided (6503267)
  • project: undouble serieIds to prevent crash (ca3d38e)
  • project: unused dep (72325a6)
  • related videos title layout issue (361c58a)
  • restore personal shelves after registration (3fdb220)
  • root error screen for unexpected errors (320fe44)
  • set wrong loading state in early return (0837944)
  • update order error handling (bf3e5b5)
  • user: tvod subscription not reloaded after login for authvod/avod (7de84ae)

dbudzins and others added 30 commits January 24, 2024 11:39
* refactor: initialize workspace and separate services, stores and utils

* chore: update configurations and set up linting

* refactor(project): move web assets to theme package

refactor(project): move poster aspect to constants

refactor(project): move test fixtures and utils

refactor: move hooks to react-hooks package

chore: configurations and testing

refactor: add mockService helper

chore: remove .only from useLiveChannels test

refactor: move components, containers and pages to ui-react package

refactor: rename @jwplayer org to @jwp

chore: fix epg fixtures for testing

chore: fix unmet peer dependency warnings

chore: fix e2e typings

* docs: add i18n package readme

chore(i18n): update i18next scripts

* refactor: store supported languages in config store

* chore: update release workflow

* refactor: move web into platforms directory

* chore: update web platform directory in workflows

* chore: update gitignore

* chore: fix epg fixtures

* refactor(project): remove vite from common, ui-react and hooks-react (#8)

* refactor: replace meta env imports with common env object

* refactor(tests): fix broken ui-react unit tests

* refactor(project): add scss typings

* refactor(project): remove obsolete ts rule

* refactor(tests): make sure mode and dev are globally available

* refactor(project): minor code upgrade

Co-authored-by: Christiaan Scheermeijer <christiaan@videodock.com>

---------

Co-authored-by: Christiaan Scheermeijer <christiaan@videodock.com>

* feat: remove browser typings from common

* refactor(project): remove react from common package (#9)

* refactor: replace meta env imports with common env object

* refactor(tests): fix broken ui-react unit tests

* refactor(project): add scss typings

* refactor(project): remove obsolete ts rule

* refactor(tests): make sure mode and dev are globally available

* refactor(project): remove react and react-router-dom from common

* refactor(project): replace react-query with tanstack/query-core in common

* refactor(project): add location.search string failsafe

* feat(player): show nice error message when media item is geo blocked

Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>

* refactor(project): move icons to theme folder (#21)

* refactor(project): add createURL util to replace all url utils

* refactor(project): remove react-router from hooks-react package

* refactor: allow custom integration registration via container

chore: fix scss module import autocomplete in IDE

chore: cleanup

chore: rename calculate_intergration_type

fix: jwp account service injection

chore: fix unit tests

refactor: move get integration type check

# Conflicts:
#	packages/common/src/services/integrations/cleeng/CleengSubscriptionService.ts
#	packages/ui-react/src/containers/AdyenPaymentDetails/AdyenPaymentDetails.tsx
#	packages/ui-react/src/pages/Home/__snapshots__/Home.test.tsx.snap

* refactor(project): split url creation from location based

* feat(accessibility): accessibility improvements and quick wins

* feat(a11y): correct heading structure

* refactor(a11y): modal id and a11y style selector

* refactor(home): add home scss file

* chore(a11y): add hidden h1 element to payment page

* refactor(project): move accessibility import to main scss file

* refactor(e2e): update tests after changes to header hierarchy

* refactor(project): update styling import

* refactor(tests): update account snapshot

* feat(a11y): correct heading structure

* refactor(a11y): modal id and a11y style selector

* feat(a11y): add skiplink to header and update translations

* refactor(project): add tabIndex prop and update translations

* refactor(project): update import and move styling variable

* refactor(project): add hidden h1 element to correct eelements

* refactor(a11y): move hidden header element in dom structure

* feat(a11y): link underlines, role attribute and page titles

* feat(a11y): add an underline to links at all times

* feat(a11y): add role attribute to dialogs

* feat(a11y): add role attribute to dialogs

* chore(a11y): apply aria-labelledby

* chore(a11y): useOpaqueId for id

* chore(a11y): improve role attribute value for test

* chore: fix merge mistake

---------

Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>

---------

Co-authored-by: Roy Schut <roy@videodock.com>
Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>

* fix(a11y): alertdialog with aria-modal for alert component

* fix(a11y): role=“alertdialog” for alert component with id fix

* fix(a11y): add aria-modal to alert component

---------

Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>

* fix(a11y): apply section to account and payment pages

* fix(a11y): add prop arialabeledby to account sections

* fix(tests): update useOpaqueId and snapshots

* fix(a11y): update paymnents page sections with the correct prop

---------

Co-authored-by: Rachid <rachid.ang@sounds.global>
# Conflicts:
#	packages/ui-react/src/components/Payment/Payment.tsx

* refactor(a11y): refactor language menu switch for accessibility compliance

* fix(a11y): cards optimized for screen readers

* fix(a11y): card optimized for screen readers

* chore: update snapshots

* chore: rewrite unit tests for image with empty alt

* fix(e2e): rewrite aria-label with data-label for testing purposes

---------

Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>
# Conflicts:
#	packages/ui-react/src/components/Card/Card.tsx
#	packages/ui-react/src/pages/Home/__snapshots__/Home.test.tsx.snap

* feat(i18n): reflect language switching in root html lang tag.

Co-authored-by: Rachid <rachid.ang@sounds.global>

* feat(a11y): make user menu keyboard accessible

* fix: language menu button

* fix: slow login and preventable errors

* fix: load subscription after restoring SVOD session

* fix(auth): set the correct loading state after logging the user in account-controller

* fix: refresh entitlements on tvod purchase

* chore: fix depcheck errors

* fix: infinite loader when buying a subscription

* docs(project): update documentation for workspaces

* chore: rename web specific workflows

* chore: pr feedback

* chore: move build packages to configs directory

* fix: epg service bindings

---------

Co-authored-by: Roy Schut <royschut@gmail.com>
Co-authored-by: langemike <mikevv@gmail.com>
Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>
Co-authored-by: Melissa Hart <48496458+MelissaDTH@users.noreply.github.com>
Co-authored-by: Roy Schut <roy@videodock.com>
Co-authored-by: Rachid Angelista <80318554+R-Cloud-Designs@users.noreply.github.com>
Co-authored-by: Rachid <rachid.ang@sounds.global>
Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>
Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>
Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>
Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>
Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>
Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>
* chore: add pr deployment previews workflows

* fix(payment): redirect to wrong media after payment

* chore: add version number to footer text

Co-authored-by: Melissa Hart <48496458+MelissaDTH@users.noreply.github.com>

* fix: show error on email field when invalid

* fix(project): favicons & preconnect jwapp.com

* fix: broken checkbox in personal details form

* fix: hide disabled questions in personal details screen

* fix: improve consents required form error

* fix: show error when delete account fails

* fix: hide optional label in season select dropdown

* fix: shelf margin and grid loading state

* chore: add default config and set demo mode on for build (#127)

* feat: Render favicons dynamically

Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>

* refactor(payment): improve choose offer flow

* fix(payment): ui not updating after paypal payment

* refactor: add strict util for modal urls from window location

* feat(a11y): add auto focus to play/pause button of players

* fix(menu): prevent text to go on two lines in buttons

* fix(a11y): ensure wcag compliance with 1.5 line-height for texts (#109)

* feat(a11y): apply the autocomplete attribute to input fields(#115)

* feat(a11y): apply correct aria attributes and improve searchbar (#117)

* feat(a11y): video meta data items separated (#116)

Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>

* fix(a11y): only set focus programmatically on keyboard navigation

Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>

* feat(a11y): form validation improvements for screen readers

Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>

* fix(a11y): apply aria-hidden to checkbox asterisk (#121)

* feat(a11y): slide chevron buttons hitarea increased

Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>

* fix(a11y): usermenu item count & correct html structure

Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>

* fix(a11y): roles and aria-attributes regarding modals (#125)

* feat(a11y): slider navigation optimized

* chore: fix react warning

* fix(payment): layout of invoices on mobile

* fix(a11y): optimize footer for accessibility

* feat(a11y): improve accessibility of sidebar

* feat(a11y): optimize profile menu

* fix(a11y): improve screenreader focus on start watching button

* fix(a11y): videoplayer focus (iOS) & restoration

Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>

* fix: active state of language menu and apply aria-current

* fix(search): prevent keyboard from persisting in searchbar on submit

* fix(a11y): ensure correct focus on first sidebar menu item

* fix(user): update question value while typing

Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>

* fix(videodetail): don’t render empty duration metadata

* fix(user): error when updating customer

* fix(project): checkbox values for customer consents

* fix(menu): ensure sidebar is scrollable

* refactor(menu): apply dynamic viewport height for sidebar

* fix(project): overall styling of the hub page

* fix(payment): fix new subscription not showing in UI

* fix: cinema not covering full viewport height

* fix(videodetail): page behind player too wide

* fix(videodetail): buttons not aligning properly

* feat: align sidebar backdrop with modal

* fix(a11y): add selected state to season filters

* fix(a11y): add role to make lock icon readable

refactor(tests): update snapshots

* fix(a11y): add aria-pressed to password icon and underline to footer links

* fix: video metadata styling with status icon for live events

* chore: format package files

* fix(player): back button not working

* fix(player): title overlay fade animation

* chore(project): maintenance 2024-q1

* chore: enable verbatimModuleSyntax

* chore: use cjs for lighthouse config

* chore: add comment to s3 workflow

* refactor: extract metadata utils

* chore: cleanup translations

---------

Co-authored-by: Vincent Couzij <vincent@videodock.com>
Co-authored-by: Melissa Hart <48496458+MelissaDTH@users.noreply.github.com>
Co-authored-by: Mike van Veenhuijzen <mike@videodock.com>
Co-authored-by: langemike <mikevv@gmail.com>
Co-authored-by: Roy Schut <roy@videodock.com>
Co-authored-by: Roy Schut <royschut@gmail.com>
Co-authored-by: Melissa 't Hart <melissa@videodock.com>
* feat(watchhistory): change max items limit
* chore: replace depcheck with knip

* chore: run prettier on knip.config.ts

* chore: revert to knip entry instead of package exports

* chore: fix prettier
Copy link

github-actions bot commented Mar 25, 2024

Visit the preview URL for this PR (updated for commit b80ab06):

https://ottwebapp--pr473-release-candidate-1o3pq7cu.web.app

(expires Fri, 26 Apr 2024 11:35:40 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c198f8a3a199ba8747819f7f1e45cf602b777529

@AntonLantukh AntonLantukh self-requested a review March 27, 2024 11:48
@AntonLantukh AntonLantukh merged commit 9957f10 into release Mar 27, 2024
10 checks passed
@AntonLantukh AntonLantukh deleted the release-candidate branch March 27, 2024 12:41
@AntonLantukh AntonLantukh restored the release-candidate branch April 5, 2024 13:39
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.

6 participants