An all-in-one collaborative canvas, markdown editor and diagram editor. Basically Inkly and corenote fused together and some extra features!!
Used gemini for making my readme longer
An all-in-one collaborative canvas, markdown editor and diagram editor. Basically Inkly and corenote fused together and some extra features!!
Used gemini for making my readme longer
I added up the dark mode and spiced it up with some adjustments
I then added 4 more mutations each for renaming and deleting a file and team
Sidebar now shows all files of the current team
File name also shows up in required places
Log in to leave a comment
Okay, this was the toughest part. I was too lazy to code the whiteboard all by myself. So i found this really cool tool called ‘excalidraw’ which is pretty useful! All this was fine i implemented it and all but, the main problem was the saving part. I struggled to create a saving function, but on top of that, when i finally coded the function, it started to only save the raw elements not any orientation or any image It was all messed up. So i had to do some other troublesome code and stuff to get it right and finally, it worked the whiteboard is now complete!
Log in to leave a comment
I could not use editor.js because it had way too many restrictions and i had to manually install its sub components like ‘heading 1’, ‘list’ and all those stuff. So i switched back to good old blocknote.js from corenote and i reused almost the whole of it. It turns out well!
Log in to leave a comment
So i then created the workspace layout with the text editor on the left and the canvas editor on the right i started working on the text editor and decided to try out something new so i used the editor.js framework to make some simple stuff.
Log in to leave a comment
So, after that used the dialog component from shadcn to display a small dialog asking the user to enter a file name. Then i took the input and displayed it in the console. Just basic, i will have to create a whole new table for files and then store the filename there
Log in to leave a comment
After that i finally worked on the dashboard page, and the first ting i worked on was the sidebar. This was both easy and tough at some points because, i struggled a little bit with shadcn’s popover component the thing was just always jerking into position. So i kept on trying to find ways tto make that stop and nicely animate into position. I worked quite a lot on that. My code now may not be that efficient or anything its just ykw ‘code’. Then i also used the convex data and displayed the user profile and teams in the sidebar.
Log in to leave a comment
Okay, this was tiresome i tried so hard to get the data to work. My idea was simple. When i open the dashboard page, the site had to just check if the user was in the database, if not it had to add the user. But guess what, convex doesnt like to make life easy for me. It threw bugs like no table provided and stuff like that, soo… yeah finally i somehow made it work
Log in to leave a comment