From a68ccbe43cf4c84737c5b6ec718ed1f3bb2c40bd Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 4 Jul 2021 11:10:01 +0300 Subject: Improved help layouts and added a section about shortcomings of the exercise --- README.md | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7a5f8d0..8b24a1b 100644 --- a/README.md +++ b/README.md @@ -278,7 +278,7 @@ With Help message: ├2 Computer geeks: You like computers? So do we. Join us for the nerdy experience ├─Page 1/1─┘ │ -├% Chats page options: [Direct messages/Account/Logout/< for previous page/> for next page/C for create chat/name for go to chat room by name/number for go to chat room by number/Help] +├% Chats page options: [(D)irect messages/(A)ccount/(L)ogout/(<) for previous page/(>) for next page/(C) for create chat/(name) for go to chat room by name/(number) for go to chat room by number/(H)elp] └@ [D/A/L//C/E/name/number/H]: █ ``` @@ -309,7 +309,7 @@ With Help message: ├% steve: Yeah, right?? ├─Page 50/50─┘ │ -├% Chat options: [Chats/Direct messages/Account/Logout/< for previous page/> for next page/Help] +├% Chat options: [(C)hats/(D)irect messages/(A)ccount/(L)ogout/(<) for previous page/(>) for next page/Help] └@ Message or [C/D/A/L//H]: █ ``` @@ -336,7 +336,7 @@ With Help message: ├3 Steve (steve): I am Steve ├─Page 2/2─┘ │ -├% Direct messages options: [Chats/Account/Logout/< for previous page/> for next page/username for directly message person with username/number for enter direct messages by number/Help] +├% Direct messages options: [(C)hats/(A)ccount/(L)ogout/(<) for previous page/(>) for next page/(username) for directly message person with username/(number) for enter direct messages by number/(H)elp] └@ [C/A/L//username/number/H]: █ ``` @@ -361,7 +361,7 @@ With Help message: ├1 Password : [HIDDEN] ├2 Name : John Smith │ -├% Account options: [Chats/Direct Messages/Logout/number for edit option by number/Help] +├% Account options: [(C)hats/(D)irect Messages/(L)ogout/(number) for edit option by number/(H)elp] └@ [C/D/L/number/H]: █ ``` @@ -396,15 +396,17 @@ Editing an option requires you first input your password, then entering a new va ├───────┴─────────────────┴─────────┘ ├% Are you sure you want to Log out? │ -└@ [C/D/A/Y/N/H]: █ -``` -With Help message: -``` -┌───────┬─────────────────┬─────────┐ -│ Chats │ Direct Messages │ Account │ -├───────┴─────────────────┴─────────┘ -├% Are you sure you want to Log out? -│ -├% Logout options: [Chats/Direct Messages/Account/Yes/No/Help] -└@ [C/D/A/Y/N/H]: █ +└@ [Y/N]: █ ``` +The No option should return you to the chats page. + +## Shortcomings + +As I mentioned, this is meant to be an exercise task, not a real project. But, if you want to turn it into something useable, here are some suggestions on what you could do: +- Implement deletion of accounts and messages +- Replace text files with an actual database (because the file system doesn't scale at all) +- Add networking and maybe server application (or make it peer-to-peer) +- Implement friends and notifications and viewing accounts inside chats +- Add a biography/description field inside profiles +- Add profile email and implement a mail service (send password confirmation emails and such) +- Implement UI customization, or just rework the UI as a whole -- cgit v1.2.3