* feat: add copy icon for course unique ID
* feat: update Button component to support event parameter in onClick handler
* feat: add copy functionality for course unique ID
* refactor: use Text component instead of span
* fix: remove duplicate course number
* fix: remove unnecessary event forwarding
* fix: remove unnecessary boolean type
Co-authored-by: Samuel Gunter <29130894+Samathingamajig@users.noreply.github.com>
* fix: remove double space
Co-authored-by: Samuel Gunter <29130894+Samathingamajig@users.noreply.github.com>
* refactor: reduce clipboard copy delay and use formatted unique ID
* feat: add copy animation to dialog
---------
Co-authored-by: Samuel Gunter <29130894+Samathingamajig@users.noreply.github.com>
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
Co-authored-by: nikshitak <nikkikurva@gmail.com>
* feat(ui): added shadows to popup buttons and course blocks
* feat(ui): keep shadow state while dragging course block
* feat(ui): fixed transition "flash" after dragging
* feat(ui): fix linting/styling
* Update src/views/components/PopupMain.tsx
Co-authored-by: Samuel Gunter <29130894+Samathingamajig@users.noreply.github.com>
* fix(ui): change old icons to the new ones from main
* fix(ui): show flag icon instead of plus icon for feedback
* chore: fix button variants after merge
---------
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
Co-authored-by: Samuel Gunter <29130894+Samathingamajig@users.noreply.github.com>
Co-authored-by: Samuel Gunter <sgunter@utexas.edu>
* fix: instructor formatting errors
* refactor: simplify logic in Instructor toString, remove unused formatters
* refactor: remove "unnecessary" else's after returns
I think it looks worse like this but whatever
* fix(ui): updated multiple instructor name formatting in course blocks
* fix(ui): display instructor last names only in all course blocks
* refactor: use instructor toString when getting instructor full name
* refactor: toString in useFlattenedCourseSchedule without template literal
Co-authored-by: Samuel Gunter <29130894+Samathingamajig@users.noreply.github.com>
* refactor: delete type hint and unnecessary comments
* fix(ui): instructor names semicolon delimiter in calendar course block
* fix(ui): removed 'unknown' when there are no instructors
* fix(ui): change - to &ndash
* fix(ui): changed - to ndash in hook
---------
Co-authored-by: Samuel Gunter <29130894+Samathingamajig@users.noreply.github.com>
* hotfix: Fix popup drag hitbox
Somehow, the drags get "lost" within a button element. Converting the parent container to a div works to fix this.
* refactor: Update styling