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

[Saved Courses] Add Icon to Sidebar #882

Merged
merged 9 commits into from
Oct 28, 2024

Conversation

andxu282
Copy link
Collaborator

@andxu282 andxu282 commented Feb 11, 2024

Summary

Adds the saved courses icon to the sidebar.

Remaining TODOs:

  • make the icon fill the entire square
  • on hover turn blue

Depends on #{number of PR}

Test Plan

Screenshot 2024-02-13 at 5 24 42 PM

Screen.Recording.2024-02-13.at.7.28.09.PM.mov

@dti-github-bot
Copy link
Member

dti-github-bot commented Feb 11, 2024

[diff-counting] Significant lines: 683.

@andxu282 andxu282 marked this pull request as ready for review February 13, 2024 22:26
@andxu282 andxu282 requested a review from a team as a code owner February 13, 2024 22:26
Copy link
Contributor

github-actions bot commented Feb 14, 2024

Visit the preview URL for this PR (updated for commit b065939):

https://cornelldti-courseplan-dev--pr882-andrew-saved-course-too77soj.web.app

(expires Tue, 26 Nov 2024 19:56:37 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 6d4e0437c4559ed895272bbd63991394f1e0e933

@andxu282 andxu282 mentioned this pull request Feb 14, 2024
@andxu282 andxu282 force-pushed the andrew--saved-courses-icon branch from 62a4077 to 5b994a7 Compare February 14, 2024 14:30
@andxu282 andxu282 mentioned this pull request Feb 14, 2024
@andxu282 andxu282 self-assigned this Feb 15, 2024
@andxu282 andxu282 changed the base branch from main to saved-courses March 1, 2024 18:04
Copy link
Contributor

@plumshum plumshum left a comment

Choose a reason for hiding this comment

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

Followed your videos and got the same results.
However, might be some inconsistencies when you resize the screen.
If I make the screen smaller so that the sidebar doesn't show up automatically, then I hit the dropdown menu, the saved courses icon doesn't show up. I don't know if we are intentionally not showing this icon, or that's not part of the PR.
image
Here is a video:

CoursePlan.-.Google.Chrome.2024-03-01.17-17-05.mp4

plumshum and others added 4 commits October 27, 2024 15:10
* added save-collection emit

* create sidebar vue

* connected dashboard and sidebar

* finished empty front-end look

* adjust hover

* fixed positioning

* update artifact version

* added front-end look for saved courses in collection

* fixed collectionsidebar css for frontend implementation

* edit collection modal + front-end fixes

- added edit collection modal and text input collection modal
- fixed front-end with trash can
- fixed front-end with dropdown button and edit collection button

* frontend fixes

- fixed padding
- fixed null issue

* added helper function in utilities
@plumshum plumshum merged commit 428790d into saved-courses Oct 28, 2024
10 of 11 checks passed
@plumshum plumshum deleted the andrew--saved-courses-icon branch October 28, 2024 03:29
nidhi-mylavarapu pushed a commit that referenced this pull request Oct 30, 2024
* [Saved Courses] add save modal (#912)

* Change course menu to click state (#898)

* add save button and icon

* change position of save course button

* added new Save Course Modal

* added new Save Course Modal

* added basic front-end look

* re-edit teleport modal

* fixed basic front-end look

* renamed icon

* fixed frontend alignment

* fixed frontend alignment and file path

* added feature flag for save course modal

* fixed front-end bug and modal hierachy

* change method and emit names

---------

Co-authored-by: KaylinChan <[email protected]>

* added collections in store. add backend methods and gtags

* added basic functionality for save course

- can save a course when press 'done'
- course is saved to an empty collection
- add functions for add & edit collection

* fixed functionality for save courses to mutliple collections

- can save one course to multiple collections w/ checkbox
- saved course will be removed from semester view and from fullfilled requirements
- pop up notification

* finished backend and fixed frontend

- finished scrollable checkbox frontend
- fixed the bug for selecting a singular checkbox
- believed its stored in firestore when added to collection
- renamed collection to savedCourses for firesetore clarity

* created editabilify for collection names

- saveCourseModal allow user to name their new collections
- moved scss into a separate file

* fixed backend error and logic

- added updateDoc in backend functions
- made edit Collections modal more functional with saveCourse

* [Saved Courses] Add Icon to Sidebar (#882)

* add icon

* fix icon

* feature flag

* fixed feature flags

* collections page empty front-end look (#940)

* added save-collection emit

* create sidebar vue

* connected dashboard and sidebar

* finished empty front-end look

* adjust hover

* fixed positioning

* update artifact version

* added front-end look for saved courses in collection

* fixed collectionsidebar css for frontend implementation

* edit collection modal + front-end fixes

- added edit collection modal and text input collection modal
- fixed front-end with trash can
- fixed front-end with dropdown button and edit collection button

* frontend fixes

- fixed padding
- fixed null issue

* added helper function in utilities

* ran prettier

* frontend fixes

---------

Co-authored-by: Hannah Zhou <[email protected]>
Co-authored-by: Hannah Zhou <[email protected]>

* merged sidebar with backend

* fixed migration script and bottom course bar

* feat: draggable saved courses

* chore: prettify things

* ran prettier and type check

* fixed cu review api

* fixed div

* remove feature flag

* frontend and type check fixes

* resolved front-end issue with plans

* fixed more front-end and confirmation modal

* fixed frontend

* ran prettier

* last fix

---------

Co-authored-by: KaylinChan <[email protected]>
Co-authored-by: andrew xu <[email protected]>
Co-authored-by: Simon Ilincev <[email protected]>
Co-authored-by: Simon Ilincev <[email protected]>
@nidhi-mylavarapu nidhi-mylavarapu mentioned this pull request Oct 30, 2024
4 tasks
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