-
Notifications
You must be signed in to change notification settings - Fork 63
Conversation
* feat(vm-logs): VM logs plugin (bwsw#1330) * vm logs mock * vm logs * feat(vm-logs): show vm logs * vm logs * add tests * fix action name * fix selector name * fix monospace text in column header * feat(vm-logs): replace show logs icon button with text button * feat(vm-logs): keyword filtering * feat(vm-logs): save vm log keywords in query params * feat(vm-logs): filter by dates * feat(vm-logs): filter by dates * v1.10.1 * fix tests * fix version * fix package.json * sort by timestamp * fix timestamp * feat(vm-logs): filter vms by account * refactor date picker label * refactor labels * refactor labels * fix IE * feat(vm-logs): newest first (bwsw#1346) * vm logs mock * vm logs * feat(vm-logs): show vm logs * vm logs * add tests * fix action name * fix selector name * fix monospace text in column header * feat(vm-logs): replace show logs icon button with text button * feat(vm-logs): keyword filtering * feat(vm-logs): save vm log keywords in query params * feat(vm-logs): filter by dates * feat(vm-logs): filter by dates * v1.10.1 * fix tests * fix version * fix package.json * sort by timestamp * fix timestamp * feat(vm-logs): filter vms by account * refactor date picker label * refactor labels * refactor labels * fix IE * feat(vm-logs): newest first sorting * add types * add types * fix newest first * fix typings * fix typings * fix typings * feat(vm-logs): log files (bwsw#1351) * feat(vm-logs): log files * feat(vm-logs): log files * code style * feat(vm-logs): realtime logs * feat(vm-logs): disable auto update on show logs click * VM logs (bwsw#1362) * refactor(vm): get rid of BaseModel for VM model (bwsw#1180) PR close bwsw#1104 * build(code-coverage): enable source-maps by default (bwsw#1347) This is a workaround to fix code coverage mapping * Update README.md * Create version * Update README.md * Update README.md * feat(navigation): rework navigation menu (bwsw#1333) PR close bwsw#1235 * feat(config-validation): add config validators (bwsw#1309) * feat(config-validation): add config validators * revert security group template interface * add more validation * remove allowReorderingSidenav validation, use uniqueItems * Update vm-colors.scheme.json * style: update app code style (bwsw#1359) * Add prettier * Prettier formatted * Work in progress * Fix tsc errors and lint errors * Ann few more rules and changes to codebase * Add precommit hook * Run prettier on entire codebase * Run prettier * Fix lint error * fix bug about grouping * Fix bugs * Remove unused files * fix(misc): semantic errors * fix(lint) * Vm logs (bwsw#1363) * refactor(vm): get rid of BaseModel for VM model (bwsw#1180) PR close bwsw#1104 * build(code-coverage): enable source-maps by default (bwsw#1347) This is a workaround to fix code coverage mapping * Update README.md * Create version * Update README.md * Update README.md * feat(navigation): rework navigation menu (bwsw#1333) PR close bwsw#1235 * feat(config-validation): add config validators (bwsw#1309) * feat(config-validation): add config validators * revert security group template interface * add more validation * remove allowReorderingSidenav validation, use uniqueItems * Update vm-colors.scheme.json * style: update app code style (bwsw#1359) * Add prettier * Prettier formatted * Work in progress * Fix tsc errors and lint errors * Ann few more rules and changes to codebase * Add precommit hook * Run prettier on entire codebase * Run prettier * Fix lint error * fix bug about grouping * Fix bugs * Remove unused files * fix(misc): semantic errors * fix(lint) * update to master * vm logs * vm logs * simplify nav menu reducer * Update virtual-machines-subroutes.ts * Update accounts-subroutes.ts * nav menu * fix current route is not defined * remove view logs from context menu * fix event emitter names * feat(vm-logs): disable date and time pickers in autoupdate mode
* docs: LogView Plugin description corrected * fix(config): remove outdated config properties (bwsw#1365) * feat(vm-logs): scroll * fix merge conflict * fix tests * fix autoscroll refresh * move selector
* feat(vm-logs): VM logs plugin (bwsw#1330) * vm logs mock * vm logs * feat(vm-logs): show vm logs * vm logs * add tests * fix action name * fix selector name * fix monospace text in column header * feat(vm-logs): replace show logs icon button with text button * feat(vm-logs): keyword filtering * feat(vm-logs): save vm log keywords in query params * feat(vm-logs): filter by dates * feat(vm-logs): filter by dates * v1.10.1 * fix tests * fix version * fix package.json * sort by timestamp * fix timestamp * feat(vm-logs): filter vms by account * refactor date picker label * refactor labels * refactor labels * fix IE * feat(vm-logs): newest first (bwsw#1346) * vm logs mock * vm logs * feat(vm-logs): show vm logs * vm logs * add tests * fix action name * fix selector name * fix monospace text in column header * feat(vm-logs): replace show logs icon button with text button * feat(vm-logs): keyword filtering * feat(vm-logs): save vm log keywords in query params * feat(vm-logs): filter by dates * feat(vm-logs): filter by dates * v1.10.1 * fix tests * fix version * fix package.json * sort by timestamp * fix timestamp * feat(vm-logs): filter vms by account * refactor date picker label * refactor labels * refactor labels * fix IE * feat(vm-logs): newest first sorting * add types * add types * fix newest first * fix typings * fix typings * fix typings * feat(vm-logs): log files (bwsw#1351) * feat(vm-logs): log files * feat(vm-logs): log files * code style * feat(vm-logs): realtime logs * feat(vm-logs): disable auto update on show logs click * VM logs (bwsw#1362) * refactor(vm): get rid of BaseModel for VM model (bwsw#1180) PR close bwsw#1104 * build(code-coverage): enable source-maps by default (bwsw#1347) This is a workaround to fix code coverage mapping * Update README.md * Create version * Update README.md * Update README.md * feat(navigation): rework navigation menu (bwsw#1333) PR close bwsw#1235 * feat(config-validation): add config validators (bwsw#1309) * feat(config-validation): add config validators * revert security group template interface * add more validation * remove allowReorderingSidenav validation, use uniqueItems * Update vm-colors.scheme.json * style: update app code style (bwsw#1359) * Add prettier * Prettier formatted * Work in progress * Fix tsc errors and lint errors * Ann few more rules and changes to codebase * Add precommit hook * Run prettier on entire codebase * Run prettier * Fix lint error * fix bug about grouping * Fix bugs * Remove unused files * fix(misc): semantic errors * fix(lint) * Vm logs (bwsw#1363) * refactor(vm): get rid of BaseModel for VM model (bwsw#1180) PR close bwsw#1104 * build(code-coverage): enable source-maps by default (bwsw#1347) This is a workaround to fix code coverage mapping * Update README.md * Create version * Update README.md * Update README.md * feat(navigation): rework navigation menu (bwsw#1333) PR close bwsw#1235 * feat(config-validation): add config validators (bwsw#1309) * feat(config-validation): add config validators * revert security group template interface * add more validation * remove allowReorderingSidenav validation, use uniqueItems * Update vm-colors.scheme.json * style: update app code style (bwsw#1359) * Add prettier * Prettier formatted * Work in progress * Fix tsc errors and lint errors * Ann few more rules and changes to codebase * Add precommit hook * Run prettier on entire codebase * Run prettier * Fix lint error * fix bug about grouping * Fix bugs * Remove unused files * fix(misc): semantic errors * fix(lint) * update to master * vm logs * vm logs * simplify nav menu reducer * Update virtual-machines-subroutes.ts * Update accounts-subroutes.ts * nav menu * fix current route is not defined * remove view logs from context menu * fix event emitter names * feat(vm-logs): real time button position * remove unused import * add resize observer polyfill
Pull Request Test Coverage Report for Build 1306
💛 - Coveralls |
@@ -3,6 +3,15 @@ import { createSelector } from '@ngrx/store'; | |||
import { SettingsViewModel } from '../view-models'; | |||
import * as userTags from '../../root-store/server-data/user-tags/user-tags.selectors'; | |||
|
|||
const getVmLogsSettings = createSelector( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you decide to create a new selector for this instead of simply put same string in selector below?
<button | ||
mat-button | ||
[disabled]="minutes == +minutesField.value" | ||
(click)="minutesChanged.emit(+minutesField.value)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update type assertions according to the style guide
<button | ||
mat-button | ||
[disabled]="messages == +messagesField.value" | ||
(click)="messagesChanged.emit(+messagesField.value)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update type assertions according to the style guide
src/app/settings/settings.module.ts
Outdated
@@ -1,10 +1,8 @@ | |||
import { NgModule } from '@angular/core'; | |||
import { CommonModule } from '@angular/common'; | |||
import { ClipboardModule, ClipboardService } from 'ngx-clipboard'; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a good idea to separate third party imports and local imports. This described in Angular Style Guide
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add optimize imports sort by module
switchMap(() => | ||
timer(0, 10000).pipe( | ||
withLatestFrom(this.store.pipe(select(UserTagsSelectors.getVmLogsShowLastMinutes))), | ||
switchMap(([_, minutes]) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use implicit name instead of _
No description provided.