* feat: update calendar sidebar, footer, and header with Figma design
* chore: run lint
* feat: update header with Figma design
* chore: run lint
* chore: remove unused vars
* chore: fix types
* fix: adjust sidebar minimum width
* fix: update LogoIcon layout to ensure text is always displayed
* feat: add spacing constants
* fix: add sidebar styling with spacing system and sticky header
* fix: update spacing constants to use rem units
* refactor: replace padding with spacing system and colors with UTRP theme
* refactor: rename ImportantLinks to ResourceLinks
* refactor: simplify CalendarHeader button component by using icon prop
* feat: add sidebar open and close transition
* refactor: rename unused var
* fix: update social icon color
* feat: improve layout and spacing in calendar components
* refactor: remove unused GearSix icon and options handler
* feat: update calendar components with new icons and improved spacing
* fix: correct class name
* refactor: organize social links into array and update link styling
* refactor: remove unused import
* fix: adjust gap spacing in radio button
* fix: update divider component to use theme offwhite1
* fix: increase size of outward arrow icon
* feat: add getSpacingInPx function to convert rem to pixels
* fix: update gap spacing in CalendarSchedules component to use spacing system
* fix: rollback footer social icons to original icons
* fix: update Calendar styles to use theme offwhite1 and adjust padding to account for scrollbar
* fix: update LargeLogo component to use gap-spacing-3
* fix: update button variants to 'minimal' and adjust styles for consistency
* fix: adjust padding in Calendar component for better layout consistency
* fix: increase size of arrow icon
* fix: add shrink-0 to radio buttons
* 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>
* feat(ui): update button variants following figma
* feat(ui): separate size prop to allow for regular and small sized button variants
* update type to no longer include minimal-small
* update uno css config to use new spacing system
* add variants and sizes to file upload; update button and file upload stories
* add mini button variant and update small button
* specify width on icon-only regular variant
* update plus buttons to be mini sizes
* remove redundant classnames
---------
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
* fix: 2nd attempt for: now able to delete schedule even if active
* fix: 3rd attempt for: now able to delete schedule even if active
* fix: 4th attempt for: now able to delete schedule even if active
---------
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
* fix(header): bottom-aligned the schedule name + hours/courses in calendar
* feat: updated font style in header and dropdown
* fix: new hour/course styling per discussion
i love having 80 different ideas, hopefully after this there's like maybe a tiny commit left to do before this is done..
* feat(header): added icons to cal header
WORK IN PROGRESS
* style: updated layout of header and main popup
* fix: updated font and spacing for header and popup
* fix: updated cal + popup style details
- schedule title is now in normal casing w/ colon removed
- last updated on is now entirely deleted from everywhere
- hour and course numbers now h3 in calendar ONLY
* refactor: changed size for calendar header
* refactor: changed ut-black to theme-black
* refactor: remove hiding on small window sizes
* refactor: reduced spacing in popup
* refactor: updated unocss for small-caps configuration
* style: changed variant + className order
* fix: readded update time text
* style: auto formatter, unused imports, capitalization
---------
Co-authored-by: Razboy20 <razboy20@gmail.com>
Co-authored-by: Samuel Gunter <sgunter@utexas.edu>
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
* feat: export schedule function to be added to handler
* feat: use UserScheduleStore and return json
* feat: download functionality
* feat: oh wow we already have a blob download util that is very very nice
* feat: return empty json if none found
* feat: import function completion
* feat: file uploading done
* feat: new input component-stories made-settings input replaced with component
* feat: attempt 1 to hook settings.tsx to importSchedule
* feat: it works horray aka using right Course constructor it works
* chore: fix jsdoc
* chore: comments and debug style
* docs: extra comment
* feat: name of schedule more user friendly
* feat: reworked how schedule is passed and check for file being schedule
* feat: color is kept on import
* fix: add sendResponse to exportSchedule
---------
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
* 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>
* feat: add core curriculum chips to injected popup
* fix: add VP and MAcore indicators
* feat: core now defined in constructor
* fix: make core and flags closer together
* fix: stop empty core chip from showing when no core requirements
* fix: remove optional chaining for core chips
* feat: generalize Chip for both flags and core classes
* fix: change types for storybook and add new story for CoreChip
* fix: remove labelMap prop from Chip, chore: clean up imports
* feat: change tooltip for core curriculum requirement
---------
Co-authored-by: Derek Chen <derex1987@gmail.com>
* feat: action menu for schedule list item
* feat: schedule action menu functionality
* feat: dialog provider popups for delete
* feat: duplicate schedule satiesfies type
* refactor: change non-null assertion to early return for rename schedule
* refactor: move schedule list item dialog providers to util file
* style: run prettier
* chore: inline object with satisfies operator
* fix: border issues
* style: change popups to match figma
* fix: update import for schedule list item dialog providers
* style: change dropdown text style to match figma
* fix: add back dialog context
* style: rounded edges when hovering over action + soften border color
* chore: cleanup and improve styling
* fix: dialog in popupmain
---------
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
Co-authored-by: Razboy20 <razboy20@gmail.com>
* fix: visual bug on radio and exit buttons when editing schedule name
* fix: add max width to text input
* fix: non-static sizing
* fix: non-static width with w-full
---------
Co-authored-by: Razboy20 <razboy20@gmail.com>
* fix: font weight added
* fix: change color hex
* fix: change color again
* fix: text-ut-burntorange
* fix: importance (tailwind wise)
* feat: switch button initial test
* feat: look at how this switch goes back and forth very mindful very demure
* fix: story
* feat: using type now
* chore: fix lint
* feat: button custom function prop
* fix: styling
* chore: fix lint error and add JSDoc
---------
Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
* style: always show scrollbar
* fix: hide header scrollbar in specific instances
* hotfix: prettier fail
* style: always show scrollbar
* fix: hide header scrollbar in specific instances
* 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
* feat: screenshot whole page, hide certain elements, screenshot fixed size
* refactor: use variants instead of groups and custom rules
* feat: scaled header, smaller body, weird padding/margin changes
* feat: consistent sizing & style regardless of zoom
* feat: use downloadBlob instead of hand-rolled image saving
* fix: be type safe is toBlob returns Promise<null>
* fix: revoke object url when it should be
* fix: animation scheduling
---------
Co-authored-by: Razboy20 <razboy20@gmail.com>