-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* save ui state for filters and searching * fixed game id * filters state is saved but resets within the filters menu * added pagination and saved in routes * if all filters are selected, with only one post, filter box extends out too far * Unnecessary semicolon * fixed some issues with page state, simplified query string build * fixed bug when filters are applied when not on page 1 * made new post users list compinent * updated card style and post page * fix code review points * ran formatter * added value to selectors, still a problem objects matching IDs * fixed filter swap * put view button on bottom of card * fixed theming issues * dynamically highlight discover/social tab while on post page * ran formatter * fix * added working game selector to create post * Revert "added working game selector to create post" This reverts commit 36935bc. * Small fix in SignUp, probably needs to be more descriptive * restrcict post time and small fix * Fix post page css not found * Encapsulate date logic in date picker component * Move date filter to new file and setup radio buttons * Remove erroneous console.log * Fix naming issue * Add radio button to date filter * Move SelectTimeRangeFilter to Filters file * Delete date params when null * Fix end date update logic * switched to useSearchParams. Fixed filter problem. * fixed filter problem * fixed some small errors * combined useEffect for search params, correctly saves date and time in URL * ran formatter * Time range filter radio buttons * Typo * Styling * seperate games and tags with commas * Move DateRangePicker urlParam management to Discover * Fix flicker on page load * Formatting * Move TimeRangePicker urlParam management to Discover * Refactor * 231: UI: page redirection for unauthenticated (#279) * 231: Add redirection * remove console.logs * remove println * apply hacky fix for create too * fix bug on refresh social/create * small fix * fix code review points * Delete Post When Last Member Leaves (#285) * Add PostService.DeletePost * Remove post when leaving as last member * Allow underscores in C# functions * Remove owner logic in PostPage * Go to previous page after leaving post * Leave post confirmation dialog * small fix to still include sender even when the user has left the chat --------- Co-authored-by: evan-scales <[email protected]> * Create Component Initial cleanup (#199) * Initial cleanup * Change default values to null and change description style * Fix linting and Prettier issues * Fixed end time default behavior * add game selector * show game as required --------- Co-authored-by: evan-scales <[email protected]> * 57: List Friends UI (#286) * 57: Updated RelationsControler and made SPA relationService * ran formatter * 57: Created inital user card * 57: Created UserCard and able to view friends/requested/pending * Added label and fixed broken build * fix underline * ran formatter * Added comments * fix broken create post * Fixed bug * Removed unnessecary comment * Fixed formatting issue * Friend button (#292) * Refactor relation service * Add friend request/accept/unfriend button * small fixes --------- Co-authored-by: evan-scales <[email protected]> * Use MUI Theming (#312) * Remove hardcoded header colors * Use MUI CssBaseline * Remove styleComponents.js * Setup MUI palette * Navbar use primary palette color * Post card use palette colors * User card use palette colors * Use Pallete colors instead of hardcoded * Formatting * Set default MUI Chip style * fix signup theme * Extract colors to const * Set background colors to purple * fix undefined PRIMARY_MAIN --------- Co-authored-by: evan-scales <[email protected]> * Basic user search (#313) * 57: Updated RelationsControler and made SPA relationService * ran formatter * 57: Created inital user card * 57: Created UserCard and able to view friends/requested/pending * Added label and fixed broken build * fix underline * ran formatter * added user search page * created player discover page * player cards * already created in branch 57 * use user card * build user query string * api request * puts users on page and can search * added widget * clean up * fixed tabs to save state * added pagination for users * got rid of player discover page * clean up * fixed pagination while switching from upcoming posts to users * ran formatter * changed labels, added conditional statement to post filters, moved tab selector to the top * remove not needed function call (caused flicker on inital page load) * changed to select --------- Co-authored-by: evan-scales <[email protected]> * Merge pull request #273 from SCCapstone/main (#315) --------- Co-authored-by: Jackson Williams <[email protected]> Co-authored-by: epadams <[email protected]> Co-authored-by: James Pretorius <[email protected]> Co-authored-by: James Pretorius <[email protected]> Co-authored-by: Ethan Adams <[email protected]> Co-authored-by: Jackson Williams <[email protected]>
- Loading branch information
1 parent
82d315b
commit 5feb2fa
Showing
48 changed files
with
1,938 additions
and
501 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#root { | ||
/* background-color: #23194f; */ | ||
height: 100vh; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import { createTheme } from '@mui/material/styles'; | ||
|
||
const COLORS = { | ||
PRIMARY_MAIN: '#e354dc', | ||
SECONDARY_MAIN: '#4290f5', | ||
BACKGROUND_PAPER: '#31084a', | ||
BACKGROUND_DEFAULT: '#23194f', | ||
}; | ||
|
||
const Theme = createTheme({ | ||
palette: { | ||
mode: 'dark', | ||
primary: { | ||
main: COLORS.PRIMARY_MAIN, | ||
}, | ||
secondary: { | ||
main: COLORS.SECONDARY_MAIN, | ||
}, | ||
background: { | ||
paper: COLORS.BACKGROUND_PAPER, | ||
default: COLORS.BACKGROUND_DEFAULT, | ||
}, | ||
}, | ||
components: { | ||
MuiChip: { | ||
defaultProps: { | ||
variant: 'outlined', | ||
}, | ||
styleOverrides: { | ||
root: { | ||
color: COLORS.PRIMARY_MAIN, | ||
borderColor: COLORS.PRIMARY_MAIN, | ||
border: '2px solid ${COLORS.PRIMARY_MAIN}', | ||
}, | ||
}, | ||
}, | ||
}, | ||
}); | ||
|
||
export default Theme; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.