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

增加Framework接口,分离Framework-API模块 #20

Closed
LamGC opened this issue Jul 6, 2020 · 5 comments
Closed

增加Framework接口,分离Framework-API模块 #20

LamGC opened this issue Jul 6, 2020 · 5 comments
Assignees
Labels
adjustment 对程序的调整,无特殊说明情况下不影响现有功能 compatibility 兼容性问题 Priority:Normal 优先级 - 中

Comments

@LamGC
Copy link
Owner

LamGC commented Jul 6, 2020

该改动目的为减小框架与应用的耦合性,通过api模块连接框架与应用。
改动包含:

  • 增加Framework接口
  • 增加Event用于为框架提供事件传入
  • 将禁言相关处理转移到框架,应用专注于功能实现
  • 将现有框架转移到单独的模块(?)
@LamGC LamGC added adjustment 对程序的调整,无特殊说明情况下不影响现有功能 compatibility 兼容性问题 labels Jul 6, 2020
@LamGC LamGC self-assigned this Jul 6, 2020
@LamGC
Copy link
Owner Author

LamGC commented Jul 9, 2020

在这个改动的同时,完成 Issue #16 的功能。

@LamGC LamGC added the Priority:Normal 优先级 - 中 label Jul 10, 2020
@LamGC
Copy link
Owner Author

LamGC commented Jul 11, 2020

分离出Framework的Api模块可能需要为Framework增加平台标识以允许色图姬为群组、联系人id做平台分离,以防止出现A平台与B平台群组Id相同导致配置互通的情况(虽然应该挺少见的,但是还是得预防一下)。

@LamGC
Copy link
Owner Author

LamGC commented Jul 11, 2020

需要明确分清**色图姬(应用)平台(框架)**之间的职责,减少职责越界导致维护困难的问题。

@LamGC
Copy link
Owner Author

LamGC commented Jul 12, 2020

增加对Issue #19 的进行。

@LamGC LamGC changed the title 增加Framework接口,分离Framework模块 增加Framework接口,分离Framework-API模块 Jul 13, 2020
@LamGC
Copy link
Owner Author

LamGC commented Aug 21, 2020

要不预留到下一个大版本上面更新吧- -

@LamGC LamGC added this to the 3.0.0-alpha milestone Aug 27, 2020
@LamGC LamGC closed this as completed Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adjustment 对程序的调整,无特殊说明情况下不影响现有功能 compatibility 兼容性问题 Priority:Normal 优先级 - 中
Projects
None yet
Development

No branches or pull requests

1 participant