Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
fae34b0
Added create Page
Notava1ble May 18, 2025
54e4cbd
Created the createCollection page with validation and iconSearch.
Notava1ble May 18, 2025
981522b
Added proper linking to navbar and rewrote some comments
Notava1ble May 19, 2025
c647843
Added error messages to the form
Notava1ble May 19, 2025
cf3d75d
Enabled collection creation with a server action that calls the supab…
Notava1ble May 19, 2025
6ebb499
Added proper rType to the server action and redirect to the newly cre…
Notava1ble May 20, 2025
fd0bba1
Modified the collectionType to include the user_id and added notified…
Notava1ble May 20, 2025
c94b07b
Now it only shows user created collections as parent collections options
Notava1ble May 20, 2025
2354b22
Added sub_collection Creation
Notava1ble May 20, 2025
4192a73
Now, it only shows the appropriate collections per user in the sidebar
Notava1ble May 20, 2025
284f83e
Adding some loading pages for faster speeds
Notava1ble May 20, 2025
d97df08
A small fix to show the skeletons in create loading
Notava1ble May 20, 2025
135b9c2
dont show userCollections in sidebar if its empty
Notava1ble May 20, 2025
54b9b4a
Revalidates path after creation, to update sidebar
Notava1ble May 20, 2025
4420a0f
removed the revalidate path from the client component and added it to…
Notava1ble May 20, 2025
78b53d7
Updated types, to use generated ones in a scheme.ts and moved the sup…
Notava1ble May 21, 2025
33baead
Changes schema.ts file encoding to UTF-8 to fix eslint error on build
Notava1ble May 21, 2025
c0242e2
changed createCollectionServerAction to use proper insert types
Notava1ble May 21, 2025
c0fc56e
fixed home page to show only usercreated collections, fixed the sideb…
Notava1ble Jun 1, 2025
d028321
Added collection Name Updating
Notava1ble Jun 1, 2025
4827e58
Added subCollection Name Updating
Notava1ble Jun 1, 2025
1f68b11
readme update
Notava1ble Jun 2, 2025
2618e5a
added deletion
Notava1ble Jun 2, 2025
f015728
Added deletion ability
Notava1ble Jun 2, 2025
e9d333e
added a dialog to confirm deletion
Notava1ble Jun 3, 2025
b0b243b
refactor: enhance delete dialog functionality and state management
Notava1ble Jun 3, 2025
64b5f7c
not show your collections if none already
Notava1ble Jun 3, 2025
588118b
fixed not show userCollections if none already
Notava1ble Jun 5, 2025
4d4266c
changes script name from production to prod for faster
Notava1ble Jun 5, 2025
7625e5e
Created edit dialog but not functional. Will fix after a refactor/rew…
Notava1ble Jun 5, 2025
b6f2322
created sessionContext
Notava1ble Jun 10, 2025
88c806e
Added a util function to get all user data and used that data in a co…
Notava1ble Jun 10, 2025
f42d54f
Updated sidebar to use context insead of db calls
Notava1ble Jun 10, 2025
ea47a9c
Finally fixed the error of no js being send to the client. Refactored…
Notava1ble Jun 11, 2025
1385ae1
Refactor CardList to use session data and remove async loading. Simpl…
Notava1ble Jun 11, 2025
a8fc285
changed schema
Notava1ble Jun 12, 2025
61ffec1
Some refactoring to how getAllUserData works, and how the collection …
Notava1ble Jun 12, 2025
7bde0d7
readme Update
Notava1ble Jun 12, 2025
f1c20b6
Updated create page to not fetch user collections
Notava1ble Jun 12, 2025
aa0c6c7
Implement collection ownership check when creating subcollections and…
Notava1ble Jun 12, 2025
529cd6c
Updated collection title to include validation in the server
Notava1ble Jun 14, 2025
2bbfcc3
Update README with new features and remove unused effect in Collectio…
Notava1ble Jun 14, 2025
7a92a47
Merge pull request #3 from Notava1ble/refactor
Notava1ble Jun 14, 2025
f1b7ec8
Add edit collection functionality.
Notava1ble Jun 15, 2025
dba5e55
Fix ui bug in COllectionTitle and added some typesafety
Notava1ble Jun 16, 2025
dc6efb0
Updated noteList to use session data
Notava1ble Jun 16, 2025
fc37d49
update schema encoding bug
Notava1ble Jun 16, 2025
3984539
Update NoteList to render a create btn when there are no note for the…
Notava1ble Jun 16, 2025
e915dee
Made NoteCreation quicker by immidiatelly creating a note when the us…
Notava1ble Jun 16, 2025
37508d4
Granted the ability to create notes even if the subCOllection is not …
Notava1ble Jun 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

# testing
/coverage
/tests

# next.js
/.next/
Expand Down
42 changes: 6 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,6 @@
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
## TODO NEXT
- [x] Add the option to delete subCollections and Collections
- [ ] Add note creation
- [x] Add server side validation
- [x] Persist Database Calls between browser sessions
- [ ] On edit, allow collection switching only between the same rank. Meaning you shouldnt be able to move a collection inside another collection, or move a subCollection as a collection.
Loading