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

Pp/clean up header #266

Merged
merged 10 commits into from
May 14, 2024
Merged

Pp/clean up header #266

merged 10 commits into from
May 14, 2024

Conversation

pranavphadke1
Copy link
Collaborator

@pranavphadke1 pranavphadke1 commented Apr 14, 2024

Purpose

Moves campus and semester selection out of the header and into the sidebar. This is to allow more room for the notifications and faq buttons and also set up for the results page refactoring.

Note: This made 3 tests fail. This is expected and will be fixed later.

Contributors

@pranavphadke1

Feature List

  • Move semester and campus selection from the header to side bar (desktop only)
  • Create link to subscriptions page

Pictures

image

Reviewers

Primary:

@sebwittr @soulwa

Secondary:
@ananyaspatil @Anzhuo-W

@pranavphadke1 pranavphadke1 self-assigned this Apr 14, 2024
Copy link

vercel bot commented Apr 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
searchneu ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2024 1:05am

@sebwittr
Copy link
Collaborator

I would create a ticket to update the tests, so its not forgotten next semester.

@sebwittr
Copy link
Collaborator

Minor design feedback, I think the NEU, CPS, LAW buttons would look nicer if they didn't have the white background and they were white themselves.

Copy link
Collaborator

@sebwittr sebwittr left a comment

Choose a reason for hiding this comment

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

Looks good to me, just saw you left a console.log in there tho

{userInfo && !macros.isMobile && (
<button
onClick={() => router.push('/subscriptions')}
className="user-menu__button"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I can't see this dropdown on staging because it won't let me sign in. I trust that it looks good though

@@ -71,6 +135,8 @@ export default function Results(): ReactElement | null {

const filtersAreSet: boolean = areFiltersSet(filters);

console.log('term', termInfos);
Copy link
Collaborator

Choose a reason for hiding this comment

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

delete console.log

@pranavphadke1 pranavphadke1 merged commit ec6de6a into master May 14, 2024
5 checks passed
@pranavphadke1 pranavphadke1 deleted the PP/clean-up-header branch May 14, 2024 01:19
pranavphadke1 added a commit that referenced this pull request May 14, 2024
* Update _variables.scss

* fixed color convention

* remove unused import

* Move Campus and Semester Selection to Sidebar

* Add link to subscriptions page

* update snapshots

* comment out old tests

* remove unused import

* Update [query].tsx
pranavphadke1 added a commit that referenced this pull request May 14, 2024
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.

2 participants