-
Notifications
You must be signed in to change notification settings - Fork 0
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
Member archives #282
Member archives #282
Conversation
Codecov Report
@@ Coverage Diff @@
## master #282 +/- ##
=====================================
Coverage 0% 0%
=====================================
Files 78 79 +1
Lines 1653 1697 +44
Branches 172 179 +7
=====================================
- Misses 1481 1518 +37
- Partials 172 179 +7
Continue to review full report at Codecov.
|
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.
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.
Do you update swagger & draw.io model diagram ?
@@ -32,7 +33,7 @@ export class MembersListComponent implements OnInit { | |||
ngOnInit(): void { | |||
this.update(); | |||
if (!this.ngxPermissionsService.getPermissions()['member:write']) { | |||
this.displayedColumns = ['lastName', 'firstName', 'school']; | |||
this.displayedColumns = ['lastName', 'firstName', 'lastActive', 'school']; | |||
} | |||
this.media.subscribe((change: MediaChange) => { | |||
if (change.mqAlias === 'xs' && this.displayedColumns.includes('school')) { |
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.
Do we want that lastActive
column is displayed on mobile device ? I don't think so !
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.
Ok, for now I would like to let it here, because its the only way to see if a member is active or not. We could remove it the day we do #285
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.
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.
Damn, do you have an idea to fix this?
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.
Yes :) I'm going to commit a fix
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.
I did not update swagger nor draw.io, feel free to do so, otherwise I will do it this evening 😉 |
Closes #230.
Description of your PR
Add a new model for registration. This means that we don't really need a archive system, just filter per year
Pre-review TODO
origin/master
More details about this PR