From 8d38b823def79f6fae6986ae2583d451cdc78d5d Mon Sep 17 00:00:00 2001 From: "Mateus Felipe C. C. Pinto" Date: Tue, 11 Mar 2025 17:39:27 -0300 Subject: [PATCH 1/2] Use unicode box-drawing characters for code organization --- .../app-architecture/case-study/index.md | 66 +++++++++---------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/src/content/app-architecture/case-study/index.md b/src/content/app-architecture/case-study/index.md index 49cf914dcd..cd28a1a85a 100644 --- a/src/content/app-architecture/case-study/index.md +++ b/src/content/app-architecture/case-study/index.md @@ -84,45 +84,45 @@ The following is how the code is organized within the Compass application. ```plaintext lib -|____ui -| |____core -| | |____ui -| | | |____ -| | |____themes -| |____ -| | |____view_model -| | | |_____.dart -| | |____widgets -| | | |_____screen.dart -| | | |____ -|____domain -| |____models -| | |____.dart -|____data -| |____repositories -| | |____.dart -| |____services -| | |____.dart -| |____model -| | |____.dart -|____config -|____utils -|____routing -|____main_staging.dart -|____main_development.dart -|____main.dart +├─┬─ ui +│ ├─┬─ core +│ │ ├─┬─ ui +│ │ │ └─── +│ │ └─ themes +│ └─┬─ +│ ├─┬─ view_model +│ │ └─── .dart +│ └─┬─widgets +│ ├── _screen.dart +│ └── +├─┬─ domain +│ └─┬─ models +│ └─── .dart +├─┬─ data +│ ├─┬─ repositories +│ │ └─── .dart +│ ├─┬─ services +│ │ └─── .dart +│ └─┬─ model +│ └─── .dart +├─── config +├─── utils +├─── routing +├─── main_staging.dart +├─── main_development.dart +└─── main.dart // The test folder contains unit and widget tests test -|____data -|____domain -|____ui -|____utils +├─── data +├─── domain +├─── ui +└─── utils // The testing folder contains mocks other classes need to execute tests testing -|____fakes -|____models +├─── fakes +└─── models ``` Most of the application code lives in the From 2b3e34cdeccec356d4a7a78570a2ddf831d23db4 Mon Sep 17 00:00:00 2001 From: "Mateus Felipe C. C. Pinto" Date: Tue, 11 Mar 2025 17:44:27 -0300 Subject: [PATCH 2/2] fix alignment --- src/content/app-architecture/case-study/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/app-architecture/case-study/index.md b/src/content/app-architecture/case-study/index.md index cd28a1a85a..d2bfde7d66 100644 --- a/src/content/app-architecture/case-study/index.md +++ b/src/content/app-architecture/case-study/index.md @@ -88,11 +88,11 @@ lib │ ├─┬─ core │ │ ├─┬─ ui │ │ │ └─── -│ │ └─ themes +│ │ └─── themes │ └─┬─ │ ├─┬─ view_model │ │ └─── .dart -│ └─┬─widgets +│ └─┬─ widgets │ ├── _screen.dart │ └── ├─┬─ domain