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

Shashi/disable game time #584

Closed
wants to merge 32 commits into from
Closed

Shashi/disable game time #584

wants to merge 32 commits into from

Conversation

shashilo
Copy link
Collaborator

@shashilo shashilo commented Oct 4, 2024

No description provided.

Clue355 and others added 30 commits August 28, 2024 18:01
# Re-Implement League Entries UI/UX
Closes #443 
My previous UI implementation was not carried over when the page was
made interactive and filled with data, therefore, I had to re-implement
it.

## Week 1 State
![Arc GridIron
Survivor-000116](https://github.com/user-attachments/assets/5ddb2dc5-c7d6-484f-b1d3-2ba0e802b776)

## Week 2+ State
If `currentWeek` is great than one, it should display a link to view
past week's picks
![Arc GridIron
Survivor-000120](https://github.com/user-attachments/assets/1c307b06-7aff-4b82-b19a-b38fdcc69cbb)

## To Do
- [X] Double-check that my code is accurate to the design.
- [X] Add tests.
fixes #496 

✅ Limits user to 5 entries
✅ Updated Unit Test

## SCREENSHOT
![CleanShot_2024-09-04_at_13 49
55](https://github.com/user-attachments/assets/306e60ea-15b9-4be3-b1fc-dbf1d97ba1df)
Fixes #477 

1) Fetched all leagues
2) allow user to select a league to join from the dropdown 
3) add in success and error notifications
4) added in warning notifications of the same leagues have been selected
already

No tests are written as of the moment.

---------

Co-authored-by: Alex Appleget <[email protected]>
Co-authored-by: Chris Nowicki <[email protected]>
Close #315 

* Set team if the user currently has them selected
* Disable teams from being selected if they've already been used
* Fix: only one team can be selected at a time

---------

Co-authored-by: Shashi Lo <[email protected]>
Co-authored-by: Mai Vang <[email protected]>
deleted space
@shashilo shashilo requested a review from mhchen as a code owner October 4, 2024 16:51
Copy link

appwrite bot commented Oct 4, 2024

Gridiron Survivor Application 6616ea581ef9f5521c7d

Function ID Status Action
Your function has been successfully deployed.

Project name: Gridiron Survivor Application
Project ID: 6616ea581ef9f5521c7d

Function ID Status Action
userAuth 6626fef885a9f630442b ready Ready View Logs

Only deployments on the production branch are activated automatically. If you'd like to activate this deployment, navigate to your deployments. Learn more about Appwrite Function deployments.

💡 Did you know?
Appwrite has a Discord community with over 16 000 members. Come join us!

Copy link

vercel bot commented Oct 4, 2024

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

Name Status Preview Comments Updated (UTC)
gridiron-survivor ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 5:14pm
gridiron-survivor-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 5:14pm

choir241
choir241 previously approved these changes Oct 4, 2024
Comment on lines +43 to +44
const timestampStr = gameTime;
const timestamp = new Date(timestampStr);
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: I feel like this should just be new Date(gameTime), seems redundant to have timestampStr here.

Comment on lines +47 to +48
// Subtract 1 hour from the current time
const currentTimeMinus1Hour = new Date(
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: the function name is self-explanatory here, so the comment here is redundant

@shashilo
Copy link
Collaborator Author

shashilo commented Oct 4, 2024

Incorrectly created feature branch

@shashilo shashilo closed this Oct 4, 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.

7 participants