You are browsing as a guest. Sign up (or log in) to start making projects!

5h 9m 39s logged

Notes and custom backgrounds

  • I coded for 5 hours yesterday and made a lot of progress but completely forgot to devlog :heavy-fart: , so this devlog will be a bit longer (as if my usual devlogs aren’t already long enough) to hopefully keep my storytelling good 🥺
  • Added the notes tab, which is the second major part of MacIdeas (the other being tasks and projects) that shares a basically identical layout with tasks, so I only had to copy a few components, modify some variables, imports, and database operations, and add new schema models and server actions to make note management work properly, though it still took quite a bit of time
  • Currently only the sidebar is implemented for notes (instead of the actual note taking/editing part), but you can create new notes, rename them, choose their custom emojis, delete them, create and manage folders, and create notes inside folders from there :thumbs-up:
  • You can also navigate to each note by clicking on it, but the page is blank for now. Notes share folders with tasks, so folders you make in notes also show up in tasks, and vice versa, although the specific tasks/notes in the folder aren’t displayed on the notes/tasks tab to keep organization simple (hopefully I didn’t phrase this too confusingly :crine: , maybe I’ll add an option to show both in settings)
  • Also added projects (the third major part of MacIdeas), which are basically labels/folders that you can put tasks, task lists, folders, and notes in to conveniently keep everything related to a big project in one place :yay:
  • Right now you can only create projects through the create project button on the sidebar and can’t do anything else with them, since I’ll only start working on projects after I finish notes
  • Added buttons where you can upload a custom background image or select a color theme (not implemented yet) for each individual task list to make customization even better and personalized!
  • When you click on the custom background option, an upload modal appears where you can upload a png/jpg/webp <4MB to be the background!
  • I originally tried using uploadthing since it was the only object storage service I worked with, but I just couldn’t get the event hooks to load or work at all despite copying stuff from my old project and wasting an hour researching :dumbass: , so I decided to settle with Vercel Blobs (because it’s already hosted on Vercel) and it’s actually so much faster and easier to set up/integrate :crine:
  • Some of the components are opaque, so they look kind of weird with a custom background, so I’ll be fixing that soon, but for the most part custom backgrounds actually look decent somehow
  • Task lists without a custom background have a black overlay shadow that’s out of place, so that has to fixed too :pf:
  • Also added a bunch of random small quality of life features and adjustments that I don’t remember without looking at my commits
  • Updated schema and types
  • Updated styling
0
56

Comments 0

No comments yet. Be the first!