This commit is contained in:
Nicolas Constant 2019-02-10 18:57:16 -05:00
parent 0209b76886
commit eee6dd8329
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
8 changed files with 3 additions and 19 deletions

View File

@ -32,9 +32,6 @@ export class AddNewStatusComponent implements OnInit {
const accounts = this.getRegisteredAccounts();
const selectedAccounts = accounts.filter(x => x.isSelected);
console.warn(`selectedAccounts ${selectedAccounts.length}`);
console.warn(`statusHandle ${this.status}`);
let visibility: VisibilityEnum = VisibilityEnum.Unknown;
switch (this.selectedPrivacy) {
case 'Public':

View File

@ -64,7 +64,7 @@ export class FloatingColumnComponent implements OnInit {
}
browseThread(thread: string): void {
console.warn('browseThread');
console.warn('browseThread'); //TODO
console.warn(thread);
}

View File

@ -57,7 +57,6 @@ export class SearchComponent implements OnInit {
// }
browseAccount(accountName: string): boolean {
console.warn(accountName);
if (accountName) {
this.browseAccountEvent.next(accountName);
}
@ -71,8 +70,6 @@ export class SearchComponent implements OnInit {
this.hashtags.length = 0;
this.isLoading = true;
console.warn(`search: ${data}`);
const enabledAccounts = this.toolsService.getSelectedAccounts();
//First candid implementation
if (enabledAccounts.length > 0) {
@ -80,7 +77,6 @@ export class SearchComponent implements OnInit {
this.mastodonService.search(this.lastAccountUsed, data, true)
.then((results: Results) => {
if (results) {
console.warn(results);
this.accounts = results.accounts.slice(0, 5);
this.hashtags = results.hashtags;

View File

@ -64,12 +64,10 @@ export class LeftSideBarComponent implements OnInit, OnDestroy {
}
onToogleAccountNotify(acc: AccountWrapper) {
console.warn(`onToogleAccountNotify username ${acc.info.username}`);
this.store.dispatch([new SelectAccount(acc.info)]);
}
onOpenMenuNotify(acc: AccountWrapper) {
console.warn(`onOpenMenuNotify username ${acc.info.username}`);
this.navigationService.openColumnEditor(acc);
}

View File

@ -180,7 +180,7 @@ export class ActionBarComponent implements OnInit, OnDestroy {
}
more(): boolean {
console.warn('more');
console.warn('more'); //TODO
return false;
}

View File

@ -151,8 +151,6 @@ class OverlayBrowsing {
public readonly account: string,
public readonly thread: string) {
console.warn(`OverlayBrowsing: ${hashtag} ${account} ${thread}`);
if (hashtag) {
this.type = OverlayEnum.hashtag;
} else if (account) {

View File

@ -32,7 +32,6 @@ export class StreamStatusesComponent implements OnInit, OnDestroy {
@Input()
set streamElement(streamElement: StreamElement) {
console.warn('new stream');
this.resetStream();
this._streamElement = streamElement;
@ -139,7 +138,7 @@ export class StreamStatusesComponent implements OnInit, OnDestroy {
}
textSelected(): void {
console.warn(`status comp: textSelected`);
console.warn(`status comp: textSelected`); //TODO
}
private scrolledToTop() {

View File

@ -24,10 +24,6 @@ export class ToolsService {
findAccount(account: AccountInfo, accountName: string): Promise<Account> {
return this.mastodonService.search(account, accountName, true)
.then((result: Results) => {
console.warn('findAccount');
console.warn(`accountName ${accountName}`);
console.warn(result);
if(accountName[0] === '@') accountName = accountName.substr(1);
const foundAccount = result.accounts.filter(