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

[#352] dashboardview (connects #352) #362

Closed
wants to merge 9 commits into from
Closed

Conversation

MacNew
Copy link
Contributor

@MacNew MacNew commented Jan 30, 2018

screenshot from 2018-01-30 17-05-38

Copy link
Contributor

@nirojdyola nirojdyola left a comment

Choose a reason for hiding this comment

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

Extra space and extra lines. Please check it once and solve it .

<mat-grid-list cols="6" rowHeight="2:1">
<mat-grid-tile class="backgroundcolor-purple">
<mat-icon style="color:white;font:bold;" class="md-icon-36">event </mat-icon>

Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please remove extra line?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok

<mat-card>
<mat-card-content>
<mat-grid-list cols="6" rowHeight="2:1">
<mat-grid-tile class="backgroundcolor-green">
Copy link
Contributor

Choose a reason for hiding this comment

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

There are more spaces before . Please check it once .

<mat-card-content>
<mat-grid-list cols="6" rowHeight="2:1">
<mat-grid-tile class="backgroundcolor-orange">
<mat-icon style="color:white;font:bold;" class="md-icon-36">library_books </mat-icon>
Copy link
Contributor

Choose a reason for hiding this comment

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

There are more spaces. Please check it once .

</mat-card-content>
</mat-card>
</div>

Copy link
Contributor

Choose a reason for hiding this comment

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

Why there are two extra lines?

@@ -0,0 +1,39 @@
.dashboard-card-view {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please follow indentation rule.

<mat-divider></mat-divider>
<div class="dashboard-card-view-library">
<mat-card>
<mat-card-content>
Copy link
Contributor

Choose a reason for hiding this comment

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

indentaion there are extra spaces

.md-icon-36 {
@include md-icon-size(46px);
}

Copy link
Contributor

Choose a reason for hiding this comment

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

so many extra lines

@@ -4,9 +4,8 @@ import { UserService } from '../shared/user.service';

// Main page once logged in. At this stage is more of a placeholder.
@Component({
template: `
<div id="greeting">Hi, {{name}}</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

can we have greeting messages for now.

Copy link
Member

Choose a reason for hiding this comment

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

its ok not to have greeting message

<mat-card-content>
<mat-grid-list cols="6" rowHeight="2:1">
<mat-grid-tile class="backgroundcolor-orange">
<mat-icon style="color:white;font:bold;" class="md-icon-36">library_books </mat-icon>
Copy link
Contributor

Choose a reason for hiding this comment

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

styles should go in scss file, bootstrap class should not be used

@@ -0,0 +1,74 @@
<mat-card class="dashboard-card-view">
<div class="dashboard-contain-image-and-string">
Copy link
Member

Choose a reason for hiding this comment

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

can we have i18n translation tag added in all places

@lmmrssa
Copy link
Member

lmmrssa commented Jan 31, 2018

images used should be from the icon drive and also there is white space at bottom of all sections

@MacNew
Copy link
Contributor Author

MacNew commented Feb 1, 2018

screenshot from 2018-02-01 11-53-05

@MacNew
Copy link
Contributor Author

MacNew commented Feb 2, 2018

screenshot from 2018-02-02 16-27-14

@MacNew
Copy link
Contributor Author

MacNew commented Feb 5, 2018

screenshot-2018-2-5 planet learning

@MacNew
Copy link
Contributor Author

MacNew commented Feb 5, 2018

screenshot-2018-2-5 planet learning

Copy link
Member

@paulbert paulbert left a comment

Choose a reason for hiding this comment

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

This is looking messy both in the UI and in the code. Please take a look at another issue so I can review this in more detail and help fix it.


export class DashboardComponent implements OnInit {
myLibrary = [
Copy link
Member

Choose a reason for hiding this comment

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

pull data from database instead of having it written

constructor(
private userService: UserService
) {}

ngOnInit() {
Object.assign(this, this.userService.get());
}

nextLibrary() {
this.myLibrary = this.myLibrary.concat( this.myLibrary.splice( 0, 4 ) );
Copy link
Member

Choose a reason for hiding this comment

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

instead of playing around with array add pointer to point out the current position

@lmmrssa
Copy link
Member

lmmrssa commented Feb 13, 2018

@paulbert shall we make content scrollable or sort the data instead to avoid scrolling half of the content of a card

@lmmrssa
Copy link
Member

lmmrssa commented Feb 13, 2018

closing icon on favor of https://github.com/ole-vi/planet/pull/393

@lmmrssa lmmrssa closed this Feb 13, 2018
@lmmrssa lmmrssa deleted the 352-DashboardView branch May 1, 2018 01:55
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.

None yet

6 participants