Skip to content

fix: adding functionality to update isvotedinlast3months in tsc_voting_overview.md#1630

Closed
Shivrajsoni wants to merge 3 commits intoasyncapi:masterfrom
Shivrajsoni:feat
Closed

fix: adding functionality to update isvotedinlast3months in tsc_voting_overview.md#1630
Shivrajsoni wants to merge 3 commits intoasyncapi:masterfrom
Shivrajsoni:feat

Conversation

@Shivrajsoni
Copy link

@Shivrajsoni Shivrajsoni commented Jan 1, 2025

#1614
Description
update voting_tracker.js so that at each user Update , isVotedInLast3Months (in table ) get updated according to lastparticipatedvotetime (of table TSC_VOTING_OVERVIEW)

and manually updated the TSC_VOTING_OVERVIEW.md file

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@Shivrajsoni Shivrajsoni changed the title Adding functionality to update IsVotedInLast3Months in TSC_VOTING_OVERVIEW.md fix: Adding functionality to update IsVotedInLast3Months in TSC_VOTING_OVERVIEW.md Jan 1, 2025
@Shivrajsoni Shivrajsoni changed the title fix: Adding functionality to update IsVotedInLast3Months in TSC_VOTING_OVERVIEW.md fix: adding functionality to update isvotedinlast3months in tsc_voting_overview.md Jan 1, 2025
if (userInfo) {
voteInfo.isVotedInLast3Months = true;
voteInfo.lastParticipatedVoteTime = currentTime;
voteInfo.isVotedInLast3Months = isVotingWithinLastThreeMonths(voteInfo.lastParticipatedVoteTime)? 'true' : 'false';
Copy link
Member

Choose a reason for hiding this comment

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

can you explain how did you try to test it locally? isVotingWithinLastThreeMonths expects an object, and here you don't pass an object?

@Shivrajsoni
Copy link
Author

can you provide me resources for testing it locally, i am not able to find out ?

@derberg
Copy link
Member

derberg commented Jan 20, 2025

@Shivrajsoni there is no easy solution in place yet. You would need to do some refactoring and enable such functionality to run the script on local

Copy link
Member

@derberg derberg left a comment

Choose a reason for hiding this comment

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

no further progress, closing

@derberg derberg closed this Mar 5, 2025
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.

2 participants

Comments