Open fsheikh opened 4 months ago
To view it : https://www.figma.com/proto/ZWuGDjhn09nycDoutMr39w/DeUrdu?t=gPhNMdMNLNm0NeEN-1
To view it : https://www.figma.com/proto/2bB1zcmjlUK7KVLJ9eGAGR/Dataflow-wireframes?t=F8KNmVdv2uTLxTYy-1
Please see some comments:
figma
may be better to use something like https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams.This flowchart represents the process of a user posting a blog on the website, where the backend delivers it to the database for storage. It also includes the process of a user viewing blogs.
graph TD;
User-->Posting_Blog_On_Website;
Posting_Blog_On_Website-->API_Post;
API_Post-->Database;
Database-->|status: 200|API/Backend_Success;
Database-->|status: 404|API/Backend_Fail;
API/Backend_Success-->Response_Success;
API/Backend_Fail-->Response_Fail;
Response_Success-->Frontend/Website;
Response_Fail-->Frontend/Website;
This flowchart represents the process, what if user want to view a blog on the website, where the backend delivers it to the frontend for displaying.
graph TD;
User-->Viewing_Blogs_On_Website;
Viewing_Blogs_On_Website-->API_Get;
API_Get-->Database_Get;
Database_Get-->API/Backend_Response;
API/Backend_Response-->Frontend/Website_Display;
graph TD;
User-->|Login|Login_Page;
Login_Page-->Authentication;
Authentication-->|Auth Fail|Login_Fail_Response;
Login_Fail_Response-->Login_Page;
graph TD;
User-->|Login|Login_Page;
Login_Page-->Authentication;
Authentication-->|Auth Success|Post_Blog_Page;
Authentication-->|Auth Fail|Login_Fail_Response;
Login_Fail_Response-->Login_Page;
Post_Blog_Page-->|Post Blog|Posting_Blog_On_Website;
Posting_Blog_On_Website-->API_Post;
API_Post-->|Auth Check|Authentication;
Authentication-->|Auth Fail|Auth_Fail_Response;
Auth_Fail_Response-->Login_Page;
graph TD;
User-->|Login|Login_Page;
Login_Page-->Authentication;
Authentication-->|Auth Success|Post_Blog_Page;
Post_Blog_Page-->|Post Blog|Posting_Blog_On_Website;
Posting_Blog_On_Website-->API_Post;
API_Post-->|Auth Check|Authentication;
Authentication-->|Auth Success|Database;
Database-->|status: 200|API/Backend_Success;
API/Backend_Success-->Response_Success;
Response_Success-->Frontend/Website;
graph TD;
User-->|Login|Login_Page;
Login_Page-->Authentication;
Authentication-->|Auth Success|Post_Blog_Page;
Post_Blog_Page-->|Post Blog|Posting_Blog_On_Website;
Posting_Blog_On_Website-->API_Post;
API_Post-->|Auth Check|Authentication;
Authentication-->|Auth Success|Database;
Database-->|status: 404|API/Backend_Fail;
API/Backend_Fail-->Response_Fail;
Response_Fail-->Frontend/Website;
graph TD;
User-->|View Blogs|View_Blogs_Page;
View_Blogs_Page-->API_Get;
API_Get-->Database;
Database-->|status: 200|API/Backend_Success_Get;
Database-->|status: 404|API/Backend_Fail_Get;
API/Backend_Success_Get-->Response_Success_Get;
Response_Success_Get-->Frontend/Website;
API/Backend_Fail_Get-->Response_Fail_Get;
Response_Fail_Get-->Frontend/Website;
Focus of this ticket is mainly UI (authentication use-case would be separately covered). UI review done under figma: https://www.figma.com/design/2bB1zcmjlUK7KVLJ9eGAGR/Dataflow-wireframes?node-id=27-11&t=jf4uVmnT2DD76PHp-0
-> Search filters have been romoved from here and i have made a new page there for 'Search Blog'
I have replaed upload image with preview image
Low-fidelity wireframes with suggestions for color scheme for deurdu blogging website should be shared under: https://github.com/fsheikh/sample_code/wiki/Deurdu:-A-multilingual-blogging-website
Candidate color-scheme: green color palette, see item number 7 on this page