Skip to content

Fatimah Al-Abdullah - Selection Project#5

Open
Lekserforsker wants to merge 1 commit intoGDSC-IAU:masterfrom
Lekserforsker:master
Open

Fatimah Al-Abdullah - Selection Project#5
Lekserforsker wants to merge 1 commit intoGDSC-IAU:masterfrom
Lekserforsker:master

Conversation

@Lekserforsker
Copy link

  • A description of the changes made:
  1. I added a change in the note_app.dart file.
  2. I added a change in the utils.dart file.
  3. I added a change in the note_model file.
  4. I added a change in the main.dart file.
  5. I added a file containing all the programming code and named it (ProjectAllHere.dart).
  • A screenshot of the app running in the terminal:
    Screenshot (1753)

@Lekserforsker Lekserforsker changed the title <Fatimah Al-Abdullah> - <Selection Project> Fatimah Al-Abdullah - Selection Project Jan 31, 2024
Copy link
Contributor

@RyamAlmalki RyamAlmalki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall good job Fatimah!!!

}

// Creates a new Note instance with the given content.
void createNote() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would have been more user-friendly if you gave the user the option to add a title to the note.

@@ -0,0 +1,229 @@
import 'dart:io';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that you have combined everything into one page, which is not the best approach to follow in programming. It's best practice to break down classes into different pages for readability.

}

// Deletes the Note at the given index.
void deleteNote(int index) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would have been better if you made the note have a title to serve as its own unique ID. This way, the user can easily remember what they want to delete.

For example, if I have this set of notes in my list
Screen Shot 1445-07-20 at 5 07 12 PM

and then I decided to remove one note.
Screen Shot 1445-07-20 at 5 08 00 PM

Screen Shot 1445-07-20 at 5 10 13 PM

You can now notice that when I view my note list, the ID has been shifted. As a user, I only remember that my note 'I don't like math' is at index 2, but when I view it, it will be 1. So, this has a user-friendly issue when I try to delete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants