Skip to content

Fix toggle for status update checks #41

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

Closed
wants to merge 1 commit into from

Conversation

Harshith-2208
Copy link

@Harshith-2208 Harshith-2208 commented Feb 26, 2025

Closes #29
2 new files have been added which are command.rs and storage.rs which are for implementing a command and storing the usernames respectively, and function status_updates_check has some lines added which will exclude the members when checking for status updates. This command can be registered in the main and can be used to exclude some members with their user id's.

@chimnayajith
Copy link
Contributor

chimnayajith commented Feb 27, 2025

Was the decision to store excluded members in a JSON file explicitly instructed?

Wouldn't it be better to have a field in the Member table?

Also, the commit message could be improved by briefly explaining the feature or fix. Same goes for the PR Name. Check out this article for some best practices.

@Harshith-2208
Copy link
Author

I'll edit the code by having a field in member table and have a proper commit message and PR name.

@ivinjabraham
Copy link
Member

A few thoughts:

  1. Why make another command.rs? There's already commands.rs in the root directory.
  2. I believe @chimnayajith meant adding it to the database, you do know that will require work on amfoss/root right? Adding fields to the Member struct will not add it to the database.

@Harshith-2208 Harshith-2208 changed the title closes #29 Fix toggle for status update checks Mar 11, 2025
@ivinjabraham
Copy link
Member

Closing assuming it's not being worked on anymore.

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.

Add toggle for status update checks
3 participants