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

Paginator for tables #445

Merged
merged 23 commits into from
Jun 14, 2020
Merged

Paginator for tables #445

merged 23 commits into from
Jun 14, 2020

Conversation

christophscheuing
Copy link
Contributor

see issue: #381

Visible/Frontend Changes

  • right now tables for children, schools and the no-recent-notes-dashboard-component-table

Architectural/Backend Changes

  • no

# Conflicts:
#	src/app/child-dev-project/children/children-list/children-list.component.ts
#	src/app/child-dev-project/children/children.module.ts
#	src/app/child-dev-project/notes/dashboard-widgets/no-recent-notes-dashboard/no-recent-notes-dashboard.component.ts
#	src/app/child-dev-project/schools/schools-list/schools-list.component.ts
@sleidig sleidig force-pushed the paginator_for_tables branch from 800289b to 28fedfb Compare May 30, 2020 14:54
@christophscheuing christophscheuing marked this pull request as ready for review June 9, 2020 18:29
Co-authored-by: Sebastian <sebastian.leidig@gmail.com>
@@ -19,7 +19,7 @@ export class NotePresenceListComponent implements OnChanges {
@Input() recordForm: NgForm;
smallScreen: boolean;

@ViewChild("childSelect")
@ViewChild("childSelect", { static: true })
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
@ViewChild("childSelect", { static: true })
@ViewChild("childSelect")

})
export class SchoolsListComponent implements OnInit, AfterViewInit {
schoolList: School[];
schoolDataSource: MatTableDataSource<School> = new MatTableDataSource<
School
>();

@ViewChild(MatSort) sort: MatSort;
@ViewChild(MatSort, { static: false }) sort: MatSort;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
@ViewChild(MatSort, { static: false }) sort: MatSort;
@ViewChild(MatSort) sort: MatSort;

})
export class SchoolsListComponent implements OnInit, AfterViewInit {
schoolList: School[];
schoolDataSource: MatTableDataSource<School> = new MatTableDataSource<
School
>();

@ViewChild(MatSort) sort: MatSort;
@ViewChild(MatSort, { static: false }) sort: MatSort;
@ViewChild(MatPaginator, { static: false }) paginator: MatPaginator;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
@ViewChild(MatPaginator, { static: false }) paginator: MatPaginator;
@ViewChild(MatPaginator) paginator: MatPaginator;

Copy link
Contributor

@vlle1 vlle1 left a comment

Choose a reason for hiding this comment

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

tested it locally.

@sleidig sleidig merged commit 87cddde into master Jun 14, 2020
@sleidig sleidig deleted the paginator_for_tables branch June 14, 2020 19:28
sleidig pushed a commit that referenced this pull request Jun 27, 2020
# [2.14.0](2.13.2...2.14.0) (2020-06-27)

### Bug Fixes

* prevent error log message about serviceworker not available ([a2eebf9](a2eebf9))
* **dashboard:** improve styling of recent-notes dashboard widgets ([4355ea4](4355ea4))
* **note:** prevent disappearing of children linked in notes ([4aba52b](4aba52b))
* **notes:** add full width to notes table ([7eef007](7eef007)), closes [#457](#457) [#458](#458)
* **search:** improve search: loading indication and other hints ([6995476](6995476)), closes [#366](#366) [#456](#456)

### Features

* add pagination to tables ([87cddde](87cddde)), closes [#381](#381) [#445](#445)
* **conflict-resolution:** view and resolve pouchdb document conflicts ([2a84025](2a84025)), closes [#79](#79) [#393](#393)
* **latest-changes:** display changelog based on GitHub Release information ([7226f08](7226f08)), closes [#238](#238)
@sleidig
Copy link
Member

sleidig commented Jun 27, 2020

🎉 This PR is included in version 2.14.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

3 participants