Skip to content

Release 0.25.0 #1832

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

Merged
merged 17 commits into from
Nov 25, 2024
Merged

Release 0.25.0 #1832

merged 17 commits into from
Nov 25, 2024

Conversation

odlbot
Copy link
Contributor

@odlbot odlbot commented Nov 18, 2024

Jon Kafton

Carey P Gumaer

James Kachel

Matt Bertrand

renovate[bot]

gumaerc and others added 17 commits November 8, 2024 12:35
* add first draft of run comparison table

* hide labels on mobile

* update differing run table styles

* add tests

* display table if location is different

* move DifferingRunsTable to its own file

* use getDisplayPrice

* fix CTA image z-index issue

* remove errant console.log

* fix location display

* remove duplicate sort
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* break out learning resource run comparison into a utility function

* add show more functionality for start dates

* remove separator at the end before show more / show less button

* don't wrap dates

* don't wrap show more button

* fix test

* fix cta image, use aspect-ratio and relative position

* put aspect on img element instead of containing div so it works in chrome and safari

* fix tests

* remove start date comparison as it's not supposed to work that way

* don't show dates info item at all if there are differning runs

* show less link should be on its own line

* remove unnecessary line break

* optimize the code a bit

* better name

* fix column widths in differing runs table

* refactor logic surrounding run dates

* filter out null start dates

* adjust padding above "Show less"
* Warn on API calls during initial render not prefetched

* Full prefetch for homepage (commented)

* Prefetch utility

* Check for queries prefetched that are not needed during render and warn

* No need to stringify

* Replace useQuery overrides with decoupled cache check (wip)

* Observer count for unnecessary prefetch warnings

* Remove useQuery override

* Test prefetch warnings

* Remove inadvertent/unnecessary diff

* Remove comments

* Remove comment

* Update frontends/api/src/ssr/usePrefetchWarnings.test.ts

Co-authored-by: Chris Chudzicki <[email protected]>

* Remove comment as no longer true

* Less specific object assertion

---------

Co-authored-by: Chris Chudzicki <[email protected]>
* update certification display in v2 drawer to match latest designs

* don't show price info item if runs have differing data

* MicroMasters not Micromasters

* if there is no price for the certificate but it's indicated that one is included, display that

* if resource is free, includes a certification but has no prices, still display the pill in the info item

* generate migration for MicroMasters spelling change

* fix certificate pill padding on mobile
* add format info item

* display location if format is in_person

* add tests

* also show location for hybrid courses
…nt (#1831)

* LocalDate and NoSSR components to render localized dates only on client

* Remove unnecessary React.Fragment
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.

5 participants