rolling-scopes-school / support

15 stars 3 forks source link

Cross-Check 'File Manager' - 'NazarankaYuliya' #949

Closed NazarankaYuliya closed 6 months ago

NazarankaYuliya commented 7 months ago
  1. A link to your deployed project

    • no
  2. A link to the project repository on Github.

  3. A link to the task

  4. A Link to the checklist for evaluating the task (if it exists)

  5. A screenshot of cross-checking marks 2024-02-12 12 06 01

  6. A final score after self-assessment, with comments: 330 - all tasks are implemented and work correctly.

  7. A cross-check score of your Score : 255

haslie22 commented 7 months ago

Basic Scope 240/240

General 16/16

Operations fail 30/30

Navigation & working directory operations 40/40

Basic operations with files 60/60

Operating system info 34/34

Hash calculation 20/20

Compress and decompress operations 40/40

Advanced Scope 90/90

Penalties 0/-413

There are some issues I've encountered while checking the app:

  1. In requirements it is said: "Starting working directory is current user's home directory". In your implementation starting directory is node-file-manager.
  2. If I want to interact with files/folders whose names have whitespaces (like test folder or test file.txt), I need to wrap my path in quotes. So potentially, I should be able to do like this: cd 'Desktop/test folder/'. Your app doesn't handle cases when paths are wrapped in quotes.
  3. You can have several types of instances besides files or folders, like symbolic links or sockets. You could check for those when executing ls command.
  4. Would be great if the user could copy file to the same directory it's located. The name of the file could be changed somehow, e.g. test.txt -> test_copy.txt.
  5. Use .toString() to display end-of-line in os --EOL, because in your current implementation the user can see only a blank line instead of \n or \r\n.
  6. I guess you were supposed to output only the folder name, not the whole path, when running os --homedir.
  7. It would be nice if you implemented the option to compress or decompress files without specifying the output file name, such as compress ./test.txt my-folder. Your current implementation appears too restrictive.

Actually, as these cases aren't explicitly indicated in the task requirements, I see no reason to deduct points for that. Just keep it in mind for the future tasks 😉

Total: 330/330 points

haslie22 commented 7 months ago

@helenakrasnova take a look please 👀

ThorsAngerVaNeT commented 6 months ago

Score was updated