-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/Edit Note make Fullscreen and Delete Button #522 #610
base: main
Are you sure you want to change the base?
Feature/Edit Note make Fullscreen and Delete Button #522 #610
Conversation
dd98f8e
to
9a7f8dc
Compare
d48909f
to
678a983
Compare
@Mast3Rei When a user adds a note, it shouldn't go to an empty dialog with the pencil. |
3adab3e
to
6ce4a4f
Compare
src/lib/components/NoteDialog.svelte
Outdated
|
||
export function showModal() { | ||
export async function showModal() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no await, so it doesn't need to be async.
… and DeleteIcon for saving and deleting notes; added a route in /notes/+page.svelte to the edit route
…-screen editor; fixed issue with adding new note
Modify NoteDialog.svelte and note.ts to handle create notes better; implement history.back in /note/edit/[noteid]/+page.svelte
Cleanup in /notes/edit/[noteid]/+page.svelte and+page.js, and static folder
Temporary fix to navigate directly to adding a new note and see an 'Add Note' title; requires additional fixes
A new path called 'routes/notes/new' is created to handle the functionality of adding a new note properly so that it does not get saved in the database until the save button is selected
Removes unnecessary code and comments, and makes it so the textselection only leads to creating a new note
8ad0750
to
4991fab
Compare
What size text should the new note textarea use? Is it the body size? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to deal with font sizes.
… and DeleteIcon for saving and deleting notes; added a route in /notes/+page.svelte to the edit route; attempted to redirect the in-text note editor pop-up to the fullscreen editor when the pencil icon is clicked