{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":689354633,"defaultBranch":"main","name":"Hackaton","ownerLogin":"Kathenae","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-09-09T14:44:15.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/87710251?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1695032485.0","currentOid":""},"activityList":{"items":[{"before":"b080ce92967608db5e6bf39cd0e3f9caa8d8585c","after":"37fe2a07daa50e8b396c4763aad1821c93e509e0","ref":"refs/heads/main","pushedAt":"2023-09-19T04:25:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Updated README.md","shortMessageHtmlLink":"Updated README.md"}},{"before":"59087a835291f6bf6ff3615b293db909d428ceb2","after":"b080ce92967608db5e6bf39cd0e3f9caa8d8585c","ref":"refs/heads/main","pushedAt":"2023-09-19T03:55:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Refactor README.md to add a link to try out the platform","shortMessageHtmlLink":"Refactor README.md to add a link to try out the platform"}},{"before":"3b64c781e7a3b9a27166a5fe8c1ce1e7ec182231","after":"59087a835291f6bf6ff3615b293db909d428ceb2","ref":"refs/heads/main","pushedAt":"2023-09-19T01:42:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Fix useQuery function call in LeaveProjectModal","shortMessageHtmlLink":"Fix useQuery function call in LeaveProjectModal"}},{"before":"b35ab2d3e6110de3ab4bbdb0e2a34d5ca915476a","after":"ae6a667adf090cc26bfa99e11529e255397e4415","ref":"refs/heads/testing","pushedAt":"2023-09-18T10:23:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Updated README.md","shortMessageHtmlLink":"Updated README.md"}},{"before":"3b64c781e7a3b9a27166a5fe8c1ce1e7ec182231","after":"b35ab2d3e6110de3ab4bbdb0e2a34d5ca915476a","ref":"refs/heads/testing","pushedAt":"2023-09-18T10:22:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"RonaldM2023","name":null,"path":"/RonaldM2023","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/144843650?s=80&v=4"},"commit":{"message":"Updated README.md","shortMessageHtmlLink":"Updated README.md"}},{"before":null,"after":"3b64c781e7a3b9a27166a5fe8c1ce1e7ec182231","ref":"refs/heads/testing","pushedAt":"2023-09-18T10:21:25.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Update to show toast on commit and on branch created\n\n- Added `Toaster` component to `Root.tsx` to display toast messages.\n- Added a `useToast` hook to `EditorNode.tsx` to show a toast when a commit is successfully sent.\n- Added a `useToast` hook to `CreateBranchModal.tsx` to show a toast when a branch is successfully created.","shortMessageHtmlLink":"Update to show toast on commit and on branch created"}},{"before":"ca6a4e444215c82c51ee44ea611933d81ba9d44c","after":"3b64c781e7a3b9a27166a5fe8c1ce1e7ec182231","ref":"refs/heads/main","pushedAt":"2023-09-17T06:31:27.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Update to show toast on commit and on branch created\n\n- Added `Toaster` component to `Root.tsx` to display toast messages.\n- Added a `useToast` hook to `EditorNode.tsx` to show a toast when a commit is successfully sent.\n- Added a `useToast` hook to `CreateBranchModal.tsx` to show a toast when a branch is successfully created.","shortMessageHtmlLink":"Update to show toast on commit and on branch created"}},{"before":"c4d065a614a19bcb798d6acd11dd21fb1a179ffb","after":"ca6a4e444215c82c51ee44ea611933d81ba9d44c","ref":"refs/heads/main","pushedAt":"2023-09-16T08:55:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"remove console.log statement","shortMessageHtmlLink":"remove console.log statement"}},{"before":"a1bafbcd669af7ef4b94263985890ea5d832313b","after":"c4d065a614a19bcb798d6acd11dd21fb1a179ffb","ref":"refs/heads/main","pushedAt":"2023-09-15T18:22:12.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Implement support for adding collaborators to the repo\n\nThis change adds a new action `joinProjectAsCollaborator` in the `github.ts` file to allow users to join a project as a collaborator. The action checks if the user is already a member of the project and if not, sends an invitation to the user to join the project's GitHub repository as a collaborator with 'push' permissions. If the invitation is already sent or the user is already a collaborator, the action returns the appropriate success message. The action also handles the case where the user is not authenticated or the project is not found.\n\nIn the `members.ts` file, two internal queries `getMember` and `addMember` are added to retrieve information about members and add a new member to a project, respectively. The `getMember` query searches for a member by projectId and userId, while the `addMember` mutation adds a new member with the provided projectId and userId.\n\nIn the `projects.ts` file, an internal query `getWithCode` is added to retrieve project information using an inviteCode. Similarly, a query `projectIdForCode` is added to retrieve the projectId associated with an inviteCode.\n\nSome changes to the UI are made in `InvitePeopleModal.tsx` to display a note informing users that anyone who joins using the invite link will be added as a collaborator with 'push' permissions.\n\nIn the `JoinPage.tsx` file, a button to accept the invitation is added an the onAccept function calls the joinProject action and redirects the user to the project if successfull","shortMessageHtmlLink":"Implement support for adding collaborators to the repo"}},{"before":"3757d501c9eeac13810ab430db73cb0962b7116a","after":"a1bafbcd669af7ef4b94263985890ea5d832313b","ref":"refs/heads/main","pushedAt":"2023-09-15T13:53:01.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"updated README.md","shortMessageHtmlLink":"updated README.md"}},{"before":"3b21e415df188bea1ae4a118606ec47b1b07f091","after":"3757d501c9eeac13810ab430db73cb0962b7116a","ref":"refs/heads/main","pushedAt":"2023-09-15T04:41:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"add support for creating branches and commiting single files","shortMessageHtmlLink":"add support for creating branches and commiting single files"}},{"before":"0fb5463b44ab4d4b46ca0d4d53392af24ed76133","after":"3b21e415df188bea1ae4a118606ec47b1b07f091","ref":"refs/heads/main","pushedAt":"2023-09-14T11:44:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Implement multiple branch support\n\n- Implemented multiple branch support by adding the `branch` field to the `EditorNodeData` interface.\n- Modified the `createEditorNode` mutation to accept the `branch` argument and inserted the `branch` value into the `editornodes` table.\n- Modified the schema definition to include the `branch` and `sha` field for the `editornodes` table.\n- Updated the `BranchSelector` component to receive the `branches` prop and display the current branch.\n- Updated the `ProjectPage` component to fetch and display the branches and set the current branch.\n- Modified the `listBranchFiles` function to include the `branch` value when fetching the branch files.\n- Updated the `listRepos` function to return the response.\n- Modified the `getRepoFileContent` function to include the `branchName` value when fetching the file content.\n- Added a helper function `getMainBranch` to find the main branch from the list of branches.","shortMessageHtmlLink":"Implement multiple branch support"}},{"before":"c4ad477b3ad94e0522c7dc3e9229fde183e68d24","after":"0fb5463b44ab4d4b46ca0d4d53392af24ed76133","ref":"refs/heads/main","pushedAt":"2023-09-14T08:14:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"various changes...\n\nVarious changes to the code\n- Added AuthLayout Component to handle pages that require authenticated users\n- Updated the routes to include the `AuthLayout` component\n- Updated the `updateEditorNode` mutation to handle the `expanded` field\n- Updated the `EditorNode` component to use the updated mutation and added a button component for expanding/collapsing\n- Updated the `JoinPage` component to remove unused imports and fix conditional rendering\n- Updated the `ProjectPage` component to handle synchronizing node positions and added loading state handling","shortMessageHtmlLink":"various changes..."}},{"before":"b539d250caa23e46025ec5f60ec151829152dadd","after":"c4ad477b3ad94e0522c7dc3e9229fde183e68d24","ref":"refs/heads/main","pushedAt":"2023-09-12T20:37:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Updated README.","shortMessageHtmlLink":"Updated README."}},{"before":"85023615d1ea238a4e1df249c2f0b38f698b6433","after":"b539d250caa23e46025ec5f60ec151829152dadd","ref":"refs/heads/main","pushedAt":"2023-09-12T20:36:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"user presence and better user management","shortMessageHtmlLink":"user presence and better user management"}},{"before":"7fe7000d99c77e16cc7d0dbe4a3903e652c4b77d","after":"85023615d1ea238a4e1df249c2f0b38f698b6433","ref":"refs/heads/main","pushedAt":"2023-09-12T14:59:52.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"implement leave project","shortMessageHtmlLink":"implement leave project"}},{"before":"0220bcca89cc35057d5c845f4b88c1d456b185a3","after":"7fe7000d99c77e16cc7d0dbe4a3903e652c4b77d","ref":"refs/heads/main","pushedAt":"2023-09-11T22:48:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"35298ee1530f541b041b654879fcdc84a128adc4","after":"0220bcca89cc35057d5c845f4b88c1d456b185a3","ref":"refs/heads/main","pushedAt":"2023-09-11T22:40:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"1ade1ba09271ebfa5f20b7656e71b9286dc2b0a3","after":"35298ee1530f541b041b654879fcdc84a128adc4","ref":"refs/heads/main","pushedAt":"2023-09-11T22:29:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Update Readme.md","shortMessageHtmlLink":"Update Readme.md"}},{"before":"1f80a60e05c1a69f711dce88ca0491dda8b50399","after":"1ade1ba09271ebfa5f20b7656e71b9286dc2b0a3","ref":"refs/heads/main","pushedAt":"2023-09-11T20:29:55.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Updated README.md","shortMessageHtmlLink":"Updated README.md"}},{"before":"655bea7c81a9a1d10a4a54c67631998983fb6e2e","after":"1f80a60e05c1a69f711dce88ca0491dda8b50399","ref":"refs/heads/main","pushedAt":"2023-09-11T09:58:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Implement editor content synchronization and more\n\n- Added logic to fetch \"members\" data for a project in the `get` function.\n- Modified the `updateEditorNode` mutation to handle updating `content`, `position`, and `textPosition` separately.\n- Added optional parameters (`position` and `textPosition`) to the `updateEditorNode` mutation.\n- Added new properties (`textPosition`) to the `EditorNodeData` type.\n- Updated dependencies: `monaco-editor` to version `0.41.0`.\n- Added a new component `Controls` for handling zoom and fit functionality.\n- Updated the `EditorNode` component to include the logic for updating content and saving the text position.\n- Added a new event handler (`onToggleExpanded`) to toggle between expanded and collapsed view.","shortMessageHtmlLink":"Implement editor content synchronization and more"}},{"before":"ab1ddfe6ae412025412f1362e85219080a042511","after":"655bea7c81a9a1d10a4a54c67631998983fb6e2e","ref":"refs/heads/main","pushedAt":"2023-09-10T22:16:52.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Update reactflow background variant and line width in ProjectPage component","shortMessageHtmlLink":"Update reactflow background variant and line width in ProjectPage com…"}},{"before":"3a8f6ac3c7b820eb95908960ca3dc1a5a123b4a5","after":"ab1ddfe6ae412025412f1362e85219080a042511","ref":"refs/heads/main","pushedAt":"2023-09-10T22:01:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"add JoinPage and refactor HomePage\n\nRefactor code to add JoinPage, and create a more detailed description of the changes made.\n\n- Added JoinPage component to allow users to join projects.\n- Refactored HomePage\n- Added validation checks in the joinProject mutation to ensure user is logged in and project exists.\n- Updated createProject mutation to generate invite code and add the user as a member of the newly created project.\n- Added deleteProject mutation to remove a project and its related members and editor nodes.\n- Created Background component to display a background color based on the selected theme.\n- Created ProjectCard component to display project details and allow deletion of projects.\n- Created useRequireAuth hook to redirect unauthorized users to the login page.\n- Updated LoginPage to redirect to `next` url if it exists","shortMessageHtmlLink":"add JoinPage and refactor HomePage"}},{"before":"61cce4f0702b13ccf96a84bb481af3bf873f7f85","after":"3a8f6ac3c7b820eb95908960ca3dc1a5a123b4a5","ref":"refs/heads/main","pushedAt":"2023-09-10T16:59:02.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Add invite people modal","shortMessageHtmlLink":"Add invite people modal"}},{"before":"b5ccd787da55a35c65482c88d75fde3f0a64c424","after":"61cce4f0702b13ccf96a84bb481af3bf873f7f85","ref":"refs/heads/main","pushedAt":"2023-09-09T19:55:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Refactor code with lots of individual changes\n\n- Added additional logic to handle cases where a project does not exist\n- Updated the `get` method to return project details along with editor nodes\n- Renamed `FileViewNode.tsx` component to `EditorNode.tsx`\n- Refactored mutation methods related to file views to be relevant for editor nodes\n- Renamed `Home.tsx` to `HomePage.tsx`\n- Renamed `Login.tsx` to `LoginPage.tsx`\n- Renamed `Project.tsx` to `ProjectPage.tsx`\n- Updated routing to reflect new component names and paths","shortMessageHtmlLink":"Refactor code with lots of individual changes"}},{"before":"1cbb111f08f72aa43a8a742ab75d2d0167d93cf0","after":"b5ccd787da55a35c65482c88d75fde3f0a64c424","ref":"refs/heads/main","pushedAt":"2023-09-09T17:30:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Add indexes for efficient querying by projectId and path in the convex schema.\n\nThe convex schema now includes indexes for 'byProjectId' and 'byPath' to optimize queries.","shortMessageHtmlLink":"Add indexes for efficient querying by projectId and path in the conve…"}},{"before":null,"after":"1cbb111f08f72aa43a8a742ab75d2d0167d93cf0","ref":"refs/heads/main","pushedAt":"2023-09-09T14:44:25.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Kathenae","name":"Ronald","path":"/Kathenae","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/87710251?s=80&v=4"},"commit":{"message":"Implement Monaco editor view and additional components for branch selection and file selection\n\nThis commit implements a new component called BranchSelector, which is responsible for displaying a list of branches and allowing the user to select one. The selected branch is then displayed in a button. The component also includes a search functionality and handles user input.\n\nThis commit also introduces a new component called FileSelector, which is responsible for displaying a list of files in a popover. The component allows the user to search for files and displays the results in a scrollable area. Each file is rendered as a CommandItem, which can be dragged and dropped.\n\nAdditionally, this commit introduces a new component called FileViewNode, which is responsible for rendering a file in a monaco editor. The component fetches the content of the file and displays it in the editor. The monaco editor is configured to support TypeScript and JSX. The component also includes functionality to expand and collapse the file view.\n\nLastly, this commit includes some utility functions for generating CSS class names and mapping file extensions to icon classes.","shortMessageHtmlLink":"Implement Monaco editor view and additional components for branch sel…"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyMy0wOS0xOVQwNDoyNToyMS4wMDAwMDBazwAAAAODjU3_","startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wOS0xOVQwNDoyNToyMS4wMDAwMDBazwAAAAODjU3_","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wOS0wOVQxNDo0NDoyNS4wMDAwMDBazwAAAAN85W8m"}},"title":"Activity · Kathenae/Hackaton"}