[CORE] ModeManager #29

Open
opened 2024-03-19 12:30:22 -04:00 by modulatingforce · 1 comment

Relatively High Priority as Core Prototype Feature

From Obsidian Vault

  • #pending_to_code struct ModeManager

Stores :

  • statusdb - HashMap<ChMode, Vec<StatusType>>
    • e.g., ChMode::quiet might be Enabled for a `Channel("channel_name")

Methods & Related Functions :

  • functionality with BotCommand toggle, retrieve, and set the ModeSatusType for any BotModule
    • #pending_to_code #question should I create a type StatusType that can be shared between ModeManager and ModulesManager? The StatusType is entirely the same meaning - it is enabled/disabled for the object encompassing it . => 02.25 - Yes I should just have a generic StatusType
  • Unit Tests
Relatively High Priority as Core Prototype Feature From Obsidian Vault - [ ] _#pending_to_code_ `struct ModeManager` Stores : - statusdb - `HashMap<ChMode, Vec<StatusType>>` - e.g., `ChMode::quiet` might be `Enabled` for a `Channel("channel_name") Methods & Related Functions : - functionality with `BotCommand` toggle, retrieve, and set the `ModeSatusType` for any `BotModule` - [ ] _#pending_to_code_ #question should I create a type `StatusType` that can be shared between `ModeManager` and `ModulesManager`? The `StatusType` is entirely the same meaning - it is enabled/disabled for the object encompassing it . => 02.25 - Yes I should just have a generic `StatusType` - Unit Tests
modulatingforce added this to the Prototype 1.0 milestone 2024-03-19 12:30:22 -04:00
modulatingforce added the
Kind/Feature
Priority
Medium
labels 2024-03-19 12:30:22 -04:00
modulatingforce self-assigned this 2024-03-19 12:30:22 -04:00
modulatingforce added this to the Rust Learning project 2024-03-19 12:30:22 -04:00
Author
Owner

Both the following issues might be redundant , or we may want to be cherry pick what we'd like from both designs depending on critical setting or mode

#29
#33

Both the following issues might be redundant , or we may want to be cherry pick what we'd like from both designs depending on critical setting or mode https://git.flake.sh/modulatingforce/forcebot_rs/issues/29 https://git.flake.sh/modulatingforce/forcebot_rs/issues/33
modulatingforce added the
Status
Need More Info
label 2024-03-19 13:49:25 -04:00
modulatingforce added the
Bot_Code
Core
Complexity
Advanced
labels 2024-03-27 18:35:07 -04:00
modulatingforce modified the project from Rust Learning to Forcebot Prototype 1.0 Push 2024-03-27 18:45:03 -04:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: modulatingforce/forcebot_rs#29
No description provided.