removing editstatus panel
This commit is contained in:
parent
f2e1478cfa
commit
f4ba3a168f
|
@ -40,7 +40,6 @@ import { SettingsComponent } from './components/floating-column/settings/setting
|
|||
import { AddNewAccountComponent } from './components/floating-column/add-new-account/add-new-account.component';
|
||||
import { SearchComponent } from './components/floating-column/search/search.component';
|
||||
import { AddNewStatusComponent } from "./components/floating-column/add-new-status/add-new-status.component";
|
||||
import { EditStatusComponent } from "./components/floating-column/edit-status/edit-status.component";
|
||||
import { ManageAccountComponent } from "./components/floating-column/manage-account/manage-account.component";
|
||||
import { ActionBarComponent } from './components/stream/status/action-bar/action-bar.component';
|
||||
import { WaitingAnimationComponent } from './components/waiting-animation/waiting-animation.component';
|
||||
|
@ -112,7 +111,6 @@ const routes: Routes = [
|
|||
FloatingColumnComponent,
|
||||
ManageAccountComponent,
|
||||
AddNewStatusComponent,
|
||||
EditStatusComponent,
|
||||
AttachementsComponent,
|
||||
SettingsComponent,
|
||||
AddNewAccountComponent,
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
<div class="panel">
|
||||
<h3 class="panel__title">edit message</h3>
|
||||
|
||||
<div class=" new-message-body flexcroll">
|
||||
<app-create-status (onClose)="closeColumn()" [isDirectMention]="isDirectMention"
|
||||
[replyingUserHandle]="userHandle" [statusToEdit]="statusToEdit"></app-create-status>
|
||||
|
||||
</div>
|
||||
</div>
|
|
@ -1,37 +0,0 @@
|
|||
@import "variables";
|
||||
@import "panel";
|
||||
@import "buttons";
|
||||
@import "commons";
|
||||
|
||||
$btn-send-status-width: 60px;
|
||||
|
||||
.form-control {
|
||||
margin-bottom: 5px;
|
||||
|
||||
&--privacy{
|
||||
display: inline-block;
|
||||
width: calc(100% - 5px - #{$btn-send-status-width});
|
||||
}
|
||||
}
|
||||
|
||||
.btn-custom-primary {
|
||||
display: inline-block;
|
||||
width: $btn-send-status-width;
|
||||
position: relative;
|
||||
top: -1px;
|
||||
left: 5px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.panel {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.new-message-body {
|
||||
overflow: auto;
|
||||
height: calc(100% - 30px);
|
||||
padding-right: 5px;
|
||||
|
||||
padding-bottom: 100px;
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { EditStatusComponent } from '../edit-status/edit-status.component';
|
||||
|
||||
|
||||
xdescribe('EditStatusComponent', () => {
|
||||
let component: EditStatusComponent;
|
||||
let fixture: ComponentFixture<EditStatusComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ EditStatusComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(EditStatusComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
|
@ -1,26 +0,0 @@
|
|||
import { Component, OnInit, Input } from '@angular/core';
|
||||
|
||||
import { NavigationService } from '../../../services/navigation.service';
|
||||
import { StatusWrapper } from '../../../models/common.model';
|
||||
|
||||
@Component({
|
||||
selector: 'app-edit-status',
|
||||
templateUrl: './edit-status.component.html',
|
||||
styleUrls: ['./edit-status.component.scss']
|
||||
})
|
||||
export class EditStatusComponent implements OnInit {
|
||||
|
||||
@Input() isDirectMention: boolean;
|
||||
@Input() userHandle: string;
|
||||
@Input() statusToEdit: StatusWrapper;
|
||||
|
||||
constructor(private readonly navigationService: NavigationService) {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
closeColumn() {
|
||||
this.navigationService.closePanel();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue