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

Index "change this week" showing 0 when CP on components has moved #2090

Conversation

ncarazon
Copy link
Contributor

Related to #2078

  • fixed movement message and styles when there is no change
  • adjusted rounding for weekly movement to one decimal place
  • updated reopened question in notebook indexes array

@hickman-santini
Copy link
Contributor

Bumping this - small changes and I'd love it to get to prod today if possible. @lsabor could you take a look?

Comment on lines 7 to 13
{ questionId: 31688, weight: -12 },
{ questionId: 31689, weight: 12 },
{ questionId: 31707, weight: 10 },
{ questionId: 31709, weight: 9 },
{ questionId: 34453, weight: 9 },
// { postId: 27797, weight: 9 }, // currently missing on prod
{ questionId: 31710, weight: 11 },
{ questionId: 31711, weight: -8 },
Copy link
Contributor

Choose a reason for hiding this comment

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

Not for this PR, but we should really move away from hard coding any question / post IDs in the codebase as it won't be compatible with new instances. Just keep an eye on this going forward.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks - we'll be changing this soon, discuss next week: #2080

@hickman-santini
Copy link
Contributor

Bumping this - small changes and I'd love it to get to prod today if possible. @lsabor could you take a look?

Nevermind you literally commented at the same moment I posted this. Amazing, thank you!

Copy link
Contributor

@lsabor lsabor left a comment

Choose a reason for hiding this comment

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

lgtm

@ncarazon ncarazon force-pushed the fix/index-change-this-week-showing-0-when-cp-on-components-has-moved branch from 2398bb6 to e42104a Compare January 30, 2025 17:23
@ncarazon ncarazon merged commit e44bb3b into main Jan 30, 2025
3 checks passed
@ncarazon ncarazon deleted the fix/index-change-this-week-showing-0-when-cp-on-components-has-moved branch January 30, 2025 17:31
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.

3 participants