-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fix general regression issues and implement other requested changes #105
Merged
guzman-raphael
merged 13 commits into
datajoint-company:public2021
from
zitrosolrac:fixTableFormattingIssue
Nov 17, 2021
Merged
Changes from 12 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
afd6169
changes to be seen on checkboxes in filter menu
zitrosolrac 1818564
Changes to make the brain regions input text-based
zitrosolrac 1b9e3d6
Changing default sort state
zitrosolrac bead412
Moved horizontal scrolling to the top
zitrosolrac 7cb3906
Fix table formatting issues in /mouse and /session
zitrosolrac 2b15de8
Merge branch 'defaultSortStateEphys' into fixTableFormattingIssue
zitrosolrac 439ed38
Merge branch 'fixingBrainRegionFilter' into fixTableFormattingIssue
zitrosolrac d2d754f
Merge branch 'improveExperienceForScrolling' into fixTableFormattingI…
zitrosolrac 5c71857
removed comments in session-list.component.ts
zitrosolrac 0982776
Changes made to address blank Brain Regions filter
zitrosolrac 2e94b21
Adding semicolons to end of statements
zitrosolrac d588574
Changes made to include Mouse Vital State toggle
zitrosolrac e64ae9d
Removing unnecessary comments
zitrosolrac File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -155,11 +155,33 @@ <h4> | |||||||||||||||||||||
</mat-autocomplete> | ||||||||||||||||||||||
</mat-form-field> | ||||||||||||||||||||||
|
||||||||||||||||||||||
<div class="date-range-toggler"> | ||||||||||||||||||||||
<label for="isAlive">Mouse Vital Status</label> | ||||||||||||||||||||||
<div> | ||||||||||||||||||||||
Deceased <mat-slide-toggle name="isAlive" [checked]="isAlive" (change)="isAlive=!isAlive">Alive | ||||||||||||||||||||||
</mat-slide-toggle> | ||||||||||||||||||||||
</div> | ||||||||||||||||||||||
</div> | ||||||||||||||||||||||
|
||||||||||||||||||||||
<!-- <mat-form-field> | ||||||||||||||||||||||
<label>Alive/Deceased</label> | ||||||||||||||||||||||
<input matInput type="text" name="death_date" formControlName="death_date" | ||||||||||||||||||||||
[matAutocomplete]="autoCompRU" (focus)="stepBackMenu($event)"> | ||||||||||||||||||||||
<mat-autocomplete #autoCompRU="matAutocomplete"> | ||||||||||||||||||||||
<mat-option *ngFor="let death_date of dropDownMenuOptions.filteredResponsibleUserOptions | async" [value]="death_date" | ||||||||||||||||||||||
(click)="updateMenu()">{{ death_date }}</mat-option> | ||||||||||||||||||||||
</mat-autocomplete> | ||||||||||||||||||||||
</mat-form-field> --> | ||||||||||||||||||||||
|
||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||
<!-- // Brain Tree Selection Area --> | ||||||||||||||||||||||
<div class="brain-tree-zone"> | ||||||||||||||||||||||
<mat-form-field> | ||||||||||||||||||||||
<label>Brain Regions</label> | ||||||||||||||||||||||
<input matInput (input)="filterChanged($event.target.value.toLowerCase())"> | ||||||||||||||||||||||
<input matInput type="text" name="brain_regions" formControlName="brain_regions"> | ||||||||||||||||||||||
<mat-autocomplete #autoCompRU="matAutocomplete"> | ||||||||||||||||||||||
<mat-option *ngFor="let responsible_user of dropDownMenuOptions.filteredResponsibleUserOptions | async"[value]="brain_regions" | ||||||||||||||||||||||
(click)="updateMenu()">{{ brain_regions }}</mat-option> | ||||||||||||||||||||||
</mat-autocomplete> | ||||||||||||||||||||||
</mat-form-field> | ||||||||||||||||||||||
<!-- <div>Selected Brain Region: | ||||||||||||||||||||||
<div class="chip-list"> | ||||||||||||||||||||||
|
@@ -219,7 +241,7 @@ <h4> | |||||||||||||||||||||
<button mat-raised-button class="btn btn-refresh" (click)="refreshData()">Refresh Data</button> | ||||||||||||||||||||||
</div> | ||||||||||||||||||||||
</div> | ||||||||||||||||||||||
<!-- <div class="checkbox-filters"> | ||||||||||||||||||||||
<div class="checkbox-filters"> | ||||||||||||||||||||||
<div class="chbox-filter"> | ||||||||||||||||||||||
<mat-checkbox class="nplot_status_chbox" [checked]="hideMissingPlots" (change)="toggleNplotStatus()"> | ||||||||||||||||||||||
Only show sessions with behavior plots | ||||||||||||||||||||||
|
@@ -235,15 +257,15 @@ <h4> | |||||||||||||||||||||
Only show sessions with ephys data | ||||||||||||||||||||||
</mat-checkbox> | ||||||||||||||||||||||
</div> | ||||||||||||||||||||||
</div> --> | ||||||||||||||||||||||
</div> | ||||||||||||||||||||||
</div> | ||||||||||||||||||||||
</form> | ||||||||||||||||||||||
|
||||||||||||||||||||||
<div [class]="isLoading && initialLoad ? 'loading-icon loading initial': isLoading ? 'loading-icon loading': 'loading-icon'"> | ||||||||||||||||||||||
<img src="assets/images/loading_icon.gif"> | ||||||||||||||||||||||
<p [class]="initialLoad ? 'session-list-loading-message show' : 'session-list-loading-message'"></p> | ||||||||||||||||||||||
</div> | ||||||||||||||||||||||
<div class="table-container"> | ||||||||||||||||||||||
<div class="table-container flipped"> | ||||||||||||||||||||||
<div class="session-list-loading-shade" | ||||||||||||||||||||||
*ngIf="isLoadingTable"> | ||||||||||||||||||||||
<mat-spinner *ngIf="isLoadingTable"></mat-spinner> | ||||||||||||||||||||||
|
@@ -304,6 +326,11 @@ <h4> | |||||||||||||||||||||
<td mat-cell *matCellDef="let session"class="to-center"> {{session.sex}} </td> | ||||||||||||||||||||||
</ng-container> | ||||||||||||||||||||||
|
||||||||||||||||||||||
<ng-container matColumnDef="death_date"> | ||||||||||||||||||||||
<th mat-header-cell *matHeaderCellDef mat-sort-header> Mouse Vital Status </th> | ||||||||||||||||||||||
<td mat-cell *matCellDef="let session"class="to-center"> {{session.death_date}} </td> | ||||||||||||||||||||||
</ng-container> | ||||||||||||||||||||||
|
||||||||||||||||||||||
<ng-container matColumnDef="nplot"> | ||||||||||||||||||||||
<th mat-header-cell *matHeaderCellDef> Plot Availability </th> | ||||||||||||||||||||||
<td mat-cell *matCellDef="let session" class="to-center"> {{session.nplot.toString() | i18nSelect: nplotMap}} </td> | ||||||||||||||||||||||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.