Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Fixed Issue #452 and #421 #458

Merged
merged 7 commits into from
Jul 11, 2019
Merged

Fixed Issue #452 and #421 #458

merged 7 commits into from
Jul 11, 2019

Conversation

deeyeet
Copy link

@deeyeet deeyeet commented Jun 18, 2019

Expanding the descriptions also expands the course listings. Expanding the course listings also expands the descriptions. Added a space between CRNs and professor names.

Edit: Darkened the font of class times, CRNS, instructors and seat info from classes that are available. Rows that are conflicting still have lighter text.

Picture of updated text: https://imgur.com/0zMjNY3

dee-yeet added 2 commits June 18, 2019 08:31
…g the course listings also expands the descriptions. Added a space between CRNs and professor names.
…m classes that are available. Rows that are conflicting still have lighter text.
@deeyeet deeyeet changed the title Fixed Issue #452 Fixed Issue #452 and #421 Jun 19, 2019
@Bad-Science
Copy link
Member

@deeyeet Thanks for the PR! Per our last discussion, I don't think clicking the course description should expand anything. Only the expand button should expand stuff.

@@ -42,7 +42,7 @@
<span *ngIf="showRemoveButton" (click)="removeButtonClick()" class="remove-button position-absolute" [placement]="['right','bottom','left','top','auto']" ngbPopover="Click on this button to remove class from sidebar" container="body" triggers="mouseenter:mouseleave">
<img src="assets/images/remove.svg" />
</span>
<div class="menu position-absolute" (click)="showingMenu=!showingMenu">
<div class="menu position-absolute" (click)="showingMenu=!showingMenu" (click)="showingDescription=!showingDescription">
Copy link
Member

Choose a reason for hiding this comment

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

I think you should create an expand / toggle function to handle this rather than have two click handlers

dee-yeet added 2 commits June 25, 2019 08:51
…cription and course listings. Clicking on the description should select the course while highlighting the course should not do anything.
…n that caused errors while YACS refreshed.
@deeyeet
Copy link
Author

deeyeet commented Jun 25, 2019

Nevermind, the bug is still there.

// this.selectionService.toggleCourse(this.listing);
this.showingDescription= !(this.showingDescription);
// this.showingDescription= !(this.showingDescription);
Copy link
Member

Choose a reason for hiding this comment

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

remove commented code

@Bad-Science Bad-Science merged commit fe867f0 into YACS-RCOS:master Jul 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants