Rleaguez - Not your leaguez; not my leaguez; R Leaguez!
- a fun project build by Chris Catto for sports leaguez & schedulez
- Deploying commands with public fly deploy --build-secret NEXT_PUBLIC_BASE_URL=https://www.rleaguez.com -- below has trailing slash | good below: fly deploy --build-secret NEXT_PUBLIC_BASE_URL=https://www.rleaguez.com/
- Deployments:
- 12.9 rz-11
- Deployed Nov 29 2024 version 1.3.7 branch rz-v8
- Rz-v9 cut 11.29.24
- 12.1.24 Rz-v10 v1.3.9 deployed
-
Rz-v16 v1.3.18
-
champion working correctly 4 teamer
-
4 team 2 team brackets decent
-
optimize code
-
various bug fixes HA
-
something else?
-
Rz-v15 & v14 & v13 v1.3.17
-
deployed attempt 12.23.24 zustand bracket winner functional;
-
zustand added
-
update logic again around tourney champ
-
done need to update tourney champ again there is a null error now on http://localhost:3000/dnick/tournamentz/21/bracket
-
Rz-v12 v 1.3.11 - Start: 12.9.24
- remove lots of logging
- create a tourney with only 2 teams or 3!
- is match venue correct?
- todo add error handling for if tourney bracket is created to show user
-
- tourney bracket team slot concept probably another table;
- tourney match brackets for 8 teams;
- create rz tourney match slot system!
- Add to tb - Tournament1_Matches Column - tourney matches slot
- Rz-v11 v 1.3.10 - Completed: Dec 8th 2024 Highlights:
-
- typescript-eslint/no-explicit-any & no-unused-vars updated
-
- top loader orange progress bar added Details:
- Functional Dec 1st 2024
- todo update orgNav Links interface params
- ESLint
- change any type to interfaces
- done: kinda nice and its orange added nextjs-toploader progress bar on top when changing pages;
- Added League link in mobile nav;
- added close button in top left of mobile nav
- done? | this page is functional now; todo update tourney team detail page clickable here: http://localhost:3000/Cuse/tournamentz/10
- DONE | testing successfully | create venue & create or post and page probably need help after typescript updates;
- done; create bracket not working right now but other than that pretty good;
- Rz-v10 v 1.3.9
- Dec 1st 2024;
- done - top task: Resolve Post production URL it's not right & not working;
- todone resolved height on create org by h-full on organization/create page
- todone check result of post in prod to show confirmation screen;
- todone Mobile styling;
- todone update Venues drop down to show not double name;
- Rz-v9:
- Resolve Post production URL it's not right & not working;
- 11.30.24: determine what features are next!
- todone resolve the footer issue on create org similar to org home
- todo after creating player successfully & click create player button the new form does not load correctly;
- todo fit a bunch of these typescript warnings still: "@typescript-eslint/no-explicit-any": 1, ( as of 11.29.24 improved but still have much more )
- todo resolve getVenueData component fetch with dynamic org name
- todone get org details header component good with interface typescript & links;
- todo update orgNav Links interface params
- DONE remove pink from create confirmation
- todo eslint on prettier.config.js file require minor
- Rz-v8 node version is now 23.3.0;
- todo get a functional web version; (done 11.29.24)
- todo get the org name this main org home page header; (done 11.29.24)
- Turkey day working on linting ( improved but still have much more )
- todo fix footer on create org page; (done 11.29.24 new flex layout)
- todo create tournament is all broken bad; (done 11.29.24)
Older comments:
- 6.21.24 Created simple landing site building correctly.
- init commit
- 11.11.24 Defining future enhancements;
- 11.17.24 need to resolve errors! ( resolved 11.29.24 )
- Rz-v7 Nov 18th Next 15;
- 11.19 in production on next 15 the api routes are directing to localhost:3000 for error; gotta figure this out yo "prod routes using localhost puzzle"; tried to updated the .env var NEXT_PUBLIC_BASE_URL; testing postman ( resolved 11.29.24 by the deployment command adding flag --build-secret & its noted toward top of this doc; )
**** Backlog
- bug / feature long term list:
-
todo pick another feature
-
todo remove lots of logging comments;
-
maybe use count of matches instead of numberOfMatches prop being passed everywhere? doh
-
todo if updating game winner gotta check further into the bracket to ensure the deeper in the bracket is logically correct BracketGameCatto.tsx ~line 42 inside useEffect }, [updateBracketState, updateBracket]) console.log("todo game need to update updateBracketState===", updateBracketState)
-
todo update match dates so they are not at same time & introduce court #; thanks Ab!
-
todo after creating player successfully & click create player button the new form does not load correctly;
-
todo fit a bunch of these typescript warnings still: "@typescript-eslint/no-explicit-any": 1, ( as of 11.29.24 improved but still have much more )
-
todo resolve getVenueData component fetch with dynamic org name
-
todo ensure org details component is successful
-
todo update defining posting URLs to use the new URL( ) instead of a simple string to
- const url = new URL(relativeUrl, baseUrl); possibly use const not_a_url = URL.parse(urlstring); OR URL.canParse()
- create a utility component to use ?
-
todo alter the close button to an X in mobile top left of nav drawer
-
display of grids on mobile; we can slide left but maybe put more columns by default;
- maybe have the name stay still & the columns to the right be have a slider
-
venue drop down doesn't show a new one created for a new Org why?
-
mobile top section probably has too much height;
-
after created tournament have a button to take you directly to there;
-
remove pick in top hidden only can see it when tugging down
-
viewing players table on mobile it's too short when more than 4;
-
adding teamz to tourney is painful since after 1 is added have to go back; cannot just add another
-
mobile tourney title needs better style & formatting;
-
create bracket is hardcoded I think it didn't work for org Tirez in new tourney;
-
if page is not exist show pretty error page;
-
develop update to teamz; orgs; players ect or inactivate/delete features;
-
creating tourney add more fields for user to populate like date;
-
tourney details show teamz on top and details bottom;
-
set focus to text boxes on load
-
handle esLint for defining components @typescript-eslint/explicit-function-return-type":
- const Page: React.FC<{ params: Promise }> = async (props) => {
-
after creating org the next page make it better not just a page with a link;
-
#todo add some error logic around if bracket is created;
-
typescript - - todo eslint on prettier.config.js file require minor
-
mobile update close button on to add "X" icon
-
UX after team is created successful url is needed UX
-
todo update prisma schema match_team_winner Int @default(1) from 1 to 0
-
todo alter component definition to utilize react.FC
-
todo on tourney detail page combine 2 api calls into 1;
-
todo interfaces alphabetize
-
todo interface remove unused
-
todo interface enforce naming conventions IName
-
todo order tourneyz by date desc not id inc;
-
// #todo move BracketChampCatto interface to interface file
-
backlog done
-
DONE Add teamz to mobile nav menu
-
toDone place a spinner or progress bar when clicking after org is created;
-
toDone after a something is created; & we click create again it is not happy;
- altered it so on success navigate go back to home list;
Sometimes, VSCode might not update its IntelliSense cache. To fix this, try clearing the IntelliSense cache: Open Command Palette (Ctrl+Shift+P or Cmd+Shift+P). Type "Developer: Reload Window" and press Enter.