Blocship/star_book

Slash / is missing in route logs.

hashirshoaeb opened this issue · 1 comments

In debug mode, navigate to the settings screen. you will see the "log routes" tile. which logs the all routes in console.

Actual output:

[log]  ├─/ (SplashScreen)
[log]  ├─/intro (IntroScreen)
[log]  ├─(Shell Route)
[log]    ├─/main/year (YearScreen)
[log]      └─/main/yearmonth (HomeScreen)
[log]    └─/main/profile (ProfileScreen)
[log]      ├─/main/profileanalytics (AnalyticsScreen)
[log]      └─/main/profilesettings (SettingsScreen)
[log]        └─/main/profilesettingslicense (LicenseAgreementScreen)
[log]  └─/journal (JournalsListScreen)
[log]    ├─/journalnew (JournalCreateScreen)
[log]    └─/journal:id (JournalDetailScreen)
[log]      └─/journal:idedit (JournalEditScreen)

expected output:

[log]  ├─/ (SplashScreen)
[log]  ├─/intro (IntroScreen)
[log]  ├─(Shell Route)
[log]    ├─/main/year (YearScreen)
[log]      └─/main/year/month (HomeScreen)
[log]    └─/main/profile (ProfileScreen)
[log]      ├─/main/profile/analytics (AnalyticsScreen)
[log]      └─/main/profile/settings (SettingsScreen)
[log]        └─/main/profile/settings/license (LicenseAgreementScreen)
[log]  └─/journal (JournalsListScreen)
[log]    ├─/journal/new (JournalCreateScreen)
[log]    └─/journal:id (JournalDetailScreen)
[log]      └─/journal:id/edit (JournalEditScreen)

You may not be able to find the difference, here is the small example>

actual:   └─/main/profilesettingslicense (LicenseAgreementScreen)
expected: └─/main/profile/settings/license (LicenseAgreementScreen)

Hey, I would love to work on this issue.