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 ML Challenge banner #1457

Merged
merged 10 commits into from
Jan 14, 2025
Merged

feat: Update ML Challenge banner #1457

merged 10 commits into from
Jan 14, 2025

Conversation

bchu1
Copy link
Contributor

@bchu1 bchu1 commented Jan 10, 2025

#1440

This should be merged right before 1/15.

Makes some code simplifications:

  • Removes timer logic. We can just make the changes manually before the dates when the banner needs to be updated. This is so we have more testability and control over the code. Product also did not request any countdown text in the final copy.
  • Removes usage of poorly documented third party hook, just uses localStorage directly.
  • Switches from using 1 localStorage key to keep track of the last dismissed banner version to using separate keys for each banner version.

@bchu1 bchu1 changed the title feat: Update ML Challenge banner Update ML Challenge banner Jan 10, 2025
@bchu1 bchu1 changed the title Update ML Challenge banner feat: Update ML Challenge banner Jan 14, 2025
@bchu1 bchu1 merged commit d873866 into main Jan 14, 2025
11 of 19 checks passed
@bchu1 bchu1 deleted the bchu/banner branch January 14, 2025 21:29
kne42 added a commit that referenced this pull request Jan 17, 2025
* main: (25 commits)
  feat: Diff logging for deposition page (#1467)
  chore(main): release web 1.43.0 (#1474)
  feat: Another dummy PR (#1473)
  chore(main): release web 1.42.0 (#1472)
  feat: Dummy PR to trigger release please (#1471)
  chore(main): release web 1.41.0 (#1461)
  feat: Update ML Challenge banner (#1457)
  feat: Convert deposition page query to V2 (#1452)
  fix: Fix deposition filter on run page (#1466)
  docs: Add anchors to FAQ questions (#1458)
  chore: Refactor datasets filter values fragment (#1456)
  feat: Add plausible analytics tracking to pages (#1459)
  chore(main): release web 1.40.0 (#1441)
  feat: Add diff detection for new datasets page query (#1446)
  fix: Remove non-null assertions in dataset page hook (#1450)
  fix: Never send empty argument objects to APIv2 (#1447)
  fix: Fix deposition dropdown filters being broken (#1448)
  feat: Migrate datasets page query (#1438)
  test: filter components unit tests (#1436)
  chore(main): release web 1.39.0 (#1437)
  ...
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