Open
Conversation
…l.Css - tsconfig needed to include .d.ts - Added fractions for margins to the tailwind config file - Updated and added button, btn-primary, btn-secondary CSS properties - Updated the NAV bar so that now there are a folder different NAV bars for different people visiting the site. This removes the navarre from the main layout. Required to create multiple layouts, sub layouts, each having their own NAV bar for different areas of the website. - How to create a route group public in order to have a NAV bar on the main page since I don't have 1 the root layout. - Adding actions for the update the email and update password. - Added user settings page - Added app error and, an error library To help with client errors and passing errors to toast.
- log out link changed back to a button
fix the error that was changing the css tailwind the small when clicked while md.
- I updated user to a better description loggedinuser - To get it authentication account is on the user side so it no longer needs to be asynchronous so that got changed also - The logout handler link CSS got moved to the H3 element instead src/app/components/nav/MembersNav.tsx - One problem was that every time I clicked on one of the menu links when in a medium screen the menu links Would change their CSS. So I had to use the window.inner in the guard to disallow that if it is not a small screen. -I updated all the links to have the hypertext references src/lib/appwrite.ts - It looks like the appwrite was almost completely rewritten. I moved call account and the new client setting endpoints and setting projects to the appwrite. And it returns a new account for the client - There's a couple times where I need to get the client so I create a get client function - I moved a userLogin Function into it I note that delete sessions wasn't working so I stop using it. And I didn't need to create a constant to do the email pat a session because that just happened and sent to the server but and in this returns the current user src/app/members/layout.tsx - tailwind h-100vh can be replaced by h-screen - I needed this to center because everything else is going to be need needs to be centered
- I learned that onSubmit should be in the form not the button. - Also I had to change <Form>to <form>, because<Form> Is on the server side, and upright needed this to be on the client side to keep track of cookies. - I added the on change attribute so the password will update as you type and the toast will notify you when it's wrong but I also had to make sure that it only did it while you were trying change it. Otherwise it would spam you with toast when you Enter the page. - OK handle password update is now on the client side It takes to form data compares it with your old password and duplicated password slash confirmation password Make sure it's correct then updates the password. The password checks were moved into the function also instead of being separated - Handle email is on the client side and it takes the form data compares the your two emails to make sure they equal each other and then updates the email - Also added a deletion option so it will " delete " the account. But like websites it only disabled it.
Created a page to view the user's characters includes dash board - can click on charac image and it'll bring up the selected character and all the info -Removed tables DB function from upright library so I wouldn be trying to pass a promise - Updated the members layout to have the wrapper slightly bigger to fit the character viewing page
…on for the scroll bar size. - Added a limit to the toaster container so it will query the toast so not to overwhelm the user it's right there
- I updated user to a better description loggedinuser - To get it authentication account is on the user side so it no longer needs to be asynchronous so that got changed also - The logout handler link CSS got moved to the H3 element instead src/app/components/nav/MembersNav.tsx - One problem was that every time I clicked on one of the menu links when in a medium screen the menu links Would change their CSS. So I had to use the window.inner in the guard to disallow that if it is not a small screen. -I updated all the links to have the hypertext references src/lib/appwrite.ts - It looks like the appwrite was almost completely rewritten. I moved call account and the new client setting endpoints and setting projects to the appwrite. And it returns a new account for the client - There's a couple times where I need to get the client so I create a get client function - I moved a userLogin Function into it I note that delete sessions wasn't working so I stop using it. And I didn't need to create a constant to do the email pat a session because that just happened and sent to the server but and in this returns the current user src/app/members/layout.tsx - tailwind h-100vh can be replaced by h-screen - I needed this to center because everything else is going to be need needs to be centered
…class level DTS and back story and it will display all those and the weapons and armor that you can use. - Get character list right now is hard coded. But it finds a list of characters in the database and return to that list. - Update password was updated to use get authenticated account instead of the account variable - Login page Change the input submit to a button type So I dynamically change it and disable it if the email or password is incorrect - Added Require to some of the inputs. Height- 100 VH can be height-screen I added a login user function variable to better take advantage of toast
Updated some images on the main page
…to logged in user variable
… you state. Updated the table I and database for the characters because I combined databases into one- types were added: CharacterClass database imports were updated from tableDB to TablesDB,GetClient **create-character page: -Types were removed and are now being imported from another page. -UseStates have been combined into a character UseState - The form needed his own state for the class and level and the character classes and character abilities were complex and they still needed their own state. - The list downloaded from the database were renamed to be more clear - For the full I made a raise of the class names, Deities, and Races. Which allows me to dynamically render the list of each of those as options for the select tag - The fetch data was simplified using promise all and importing get list from the database library - Now each class will have its associated level. You can add classes and levels. As of now the subtracting classes is disabled. The items chart is disabled The class skills are disabled
… you state. Updated the table I and database for the characters because I combined databases into one- types were added: CharacterClass database imports were updated from tableDB to TablesDB,GetClient **create-character page: -Types were removed and are now being imported from another page. -UseStates have been combined into a character UseState - The form needed his own state for the class and level and the character classes and character abilities were complex and they still needed their own state. - The list downloaded from the database were renamed to be more clear - For the full I made a raise of the class names, Deities, and Races. Which allows me to dynamically render the list of each of those as options for the select tag - The fetch data was simplified using promise all and importing get list from the database library - Now each class will have its associated level. You can add classes and levels. As of now the subtracting classes is disabled. The items chart is disabled The class skills are disabled
…d account from account
…. created a server sdk version of appwrite.ts
…ender. To stop a time on page load in production. Also took the time to add comments as I went through them.
…n works correctly at level one
setCharacter((character) => ({
...character,
deityDescription: match.description,
deityImage: match.image,
}));
… the form this summary and the character class logic
useclassabilities.Tsx was erased so I'm ready to use it. Added a That's why the abilities to filter the class abilities for the character
…ormation if the class level is brought down to zero.
Move outside so it only has to be created. Added fall back for display avatar. Created a normalized variable for the user information.
Simplified the Data sent to database to include the normalized object
And the slack member page- I moved the client and databases outside loadingMessages() so it wouldn't be continually updating
…oad message function so it keep reloading unnecessarily. Also added a reference to keep track of messages make sure there's not duplicates which should save db calls. src\app\api\slack\events\route.ts: Re added broadcast because it got deleted when I started trying to just poll. src/lib/sse.ts: Changed a variable "c" to a more descriptive "controller"
src/app/api/slack/stream/route.ts: fix to stop sse disconnect errors src/app/members/slack/page.tsx: display the bots' users name
added a query to get the characters image src/app/members/slack/page.tsx: update username
…e instead of on the slack page
updated some comments created the begin of the Factions page
UI/Ux set and functions working
…s hook - Updated the select charac page so that it doesn't overwrite what's local storage On the first load
…e list of users for the src/app/actions/settings/getSessions.ts - Created a new action to get the list of sessions for a user Went through and deleted a bunch console logs src/app/components/HamburgerMenu.tsx - Update the hamburger menu to be above admin Navbar src/app/components/nav/MembersNav.tsx - Added to tell whether a user is an admin To so I can hide the admin tab src/app/members/layout.tsx - Had to move the character selected state to the layout so that the NAV can have access to it too src/app/members/page.tsx- Added an image to tell a new user how to use the page src/app/members/character/page.tsx - added the ability to delete a character - Added the admin command to get a list of users and get a user's session data src/lib/appwrite-node.ts - New functions from the server
EldarLandsLARPProject ID: Sites (1)
Functions (2)
Tip Schedule functions to run as often as every minute with cron expressions |
❌ Deploy Preview for eldarlandslarp failed. Why did it fail? →
|
Setup AI agent
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.