Skip to content

Frontend CSS Cleanup - #102

Merged
anthisse merged 7 commits into
ufosc:mainfrom
anthisse:main
Sep 6, 2026
Merged

Frontend CSS Cleanup#102
anthisse merged 7 commits into
ufosc:mainfrom
anthisse:main

Conversation

@anthisse

@anthisse anthisse commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

This PR aims to get our frontend to be easier to work with by new maintainers. I'm trying to make the layout similar to what is seen in the Figma by @anthonyle1. I'm not going to be drawing any assets for this PR; those should be made in a different PR.

@anthisse anthisse self-assigned this Aug 1, 2026
@anthisse anthisse added the enhancement New feature or request label Aug 1, 2026
@anthisse
anthisse requested review from anthonyle1 and fmcubium August 1, 2026 20:52
This commit ran `npm audit fix` to fix security vulnerabilities.
I am using a Vite extension on VSCode that requires usePolling in the
Vite config. This commit adds the .vite/ directory that was spawned and
that configuration change.
The buttons in our app weren't accounting for the size of the border
hovers. This made the entire application's frontend shake when a button
was hovered over. This commit addresses that by adding a
`studygatchi-button` class to App.css and applies that to most buttons
in the frontend. Further revision may end up overriding the default
button CSS instead of creating a new class.

This commit also fixes the issue of Goober's window not being centered.
This commit primarily adds the food menu. It still needs some cleanup,
mainly on the layout, but it looks passable enough to commit.

This commit also updates the image of Goober to be an asset created by
Kaydence, so it makes the frontend look significantly more professional.
There's a placeholder background as well.
@fmcubium

Copy link
Copy Markdown
Collaborator

Since this is a frontend change, please add a screenshot showing off the visual changes you made!

@fmcubium fmcubium moved this to In review in Studygatchi Aug 26, 2026
@anthisse

Copy link
Copy Markdown
Collaborator Author

Ah, my mistake, I forgot. I'll take a look later

@anthisse
anthisse marked this pull request as ready for review September 1, 2026 16:39
@anthisse anthisse mentioned this pull request Sep 1, 2026
This commit changes some layout for the food menu and clarifies some
function names.
@anthisse

anthisse commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator Author
image image

@fmcubium Sorry that this took a little while, I got busy with other work.

This commit fixes the jittering buttons by updating a good amount of the
CSS to use "outline" instead of "border" since that doesn't interact
with the box model.
@anthisse

anthisse commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator Author

In regards to the jittering buttons, we could also change back to border and reserve the space between with a transparent border first with border: 2px solid transparent; but outline is easier to code. @fmcubium @anthonyle1 which do you want to use? I can refactor if needed.

@fmcubium fmcubium left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

Let me know if this is enough to close #102 before I merge this

@anthisse
anthisse removed the request for review from anthonyle1 September 6, 2026 23:18
@anthisse
anthisse merged commit fd9309c into ufosc:main Sep 6, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in Studygatchi Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request frontend

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants