Skip to content

WIP: Dev trade chat module - #14

Draft
versedi wants to merge 2 commits into
PoE-Overlay-Community:masterfrom
versedi:dev-trade-chat
Draft

WIP: Dev trade chat module#14
versedi wants to merge 2 commits into
PoE-Overlay-Community:masterfrom
versedi:dev-trade-chat

Conversation

@versedi

@versedi versedi commented Jun 12, 2020

Copy link
Copy Markdown

Bugs:

  • path backslashes

TODO:

  • Client.txt reader
  • Chat input handler to use for various modules
  • Notifications (see: wip insert link to road blocking issue)

@versedi
versedi marked this pull request as draft June 12, 2020 01:30
private readonly snackbar: SnackBarService) {
}

public open(external: boolean): Observable<void> {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

completely to rewrite ctrl+c just so UI works

public run(feature: string, _: TradeUserSettings): void {
switch (feature) {
case 'chat-read-client-file':
this.chat.open(feature === 'chat-read-client-file').subscribe();

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

we need to trigger the read file service here

this.chat.open(feature === 'chat-read-client-file').subscribe();
break;
case 'chat-client-file-path':
this.chat.open(feature === 'chat-client-file-path').subscribe();

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

add validation if file exists, if it does start reading in file service

@@ -0,0 +1,3 @@
body {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

to remove import or clear the file, unnecessary

};
}

public getFeatures(settings: TradeUserSettings): Feature[] {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

add other features

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.

1 participant