Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SwiftUIContributorView #162

Merged
merged 2 commits into from
Jul 28, 2024
Merged

Add SwiftUIContributorView #162

merged 2 commits into from
Jul 28, 2024

Conversation

shin-usu
Copy link
Contributor

Overview (Required)

  • Added SwiftUIContributorView.
  • Add logic to open github profile page when user tap any contributor.

Screenshot (Optional if screenshot test is present or unrelated to UI)

Before After

Movie (Optional)

Before After
2024-07-26.1.19.37.mov

@@ -90,8 +90,8 @@ public struct RootReducer {
state.paths.about.append(.staff(.init()))
return .none

case .about(.view(.contributersTapped)):
state.paths.about.append(.contributor(.init(text: "")))
case .about(.view(.contributorsTapped)):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix typo

Comment on lines +82 to +86
.navigationBarTitleStyle(
color: AssetColors.Surface.onSurface.swiftUIColor,
titleTextStyle: .titleMedium,
largeTitleTextStyle: .headlineSmall
)
Copy link
Contributor Author

@shin-usu shin-usu Jul 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is custom modifier.
I looked Figma design, navigation title of all screens are same style, so I changed it in RootView.

@shin-usu shin-usu marked this pull request as ready for review July 25, 2024 16:33
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This struct is used from TimetableDetailView, too. So moved to Model module.

Base automatically changed from fix/timetable_list_crash to main July 26, 2024 12:57
@MrSmart00
Copy link
Contributor

@shin-usu Please fix conflicts 🙏

@charles-b-stb
Copy link
Contributor

It looks like its the color names from the name update. If you change the color name to flamingo it should resolve the issue.

@shin-usu shin-usu force-pushed the feature/contributor_swiftui_view branch from e0d5b69 to 1966f49 Compare July 28, 2024 06:54
Copy link
Contributor

@charles-b-stb charles-b-stb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -0,0 +1,25 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to share these strings between iOS and Android? We should move to a shared location if that is possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it was decided whether to share Resource between iOS and Android.
In fact, all iOS projects use the string catalog.
Therefore, it would be more efficient to replace all of them after the policy is decided.

Copy link
Contributor

@MrSmart00 MrSmart00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM👍

@shin-usu shin-usu merged commit ce1e4e4 into main Jul 28, 2024
1 check passed
@shin-usu shin-usu deleted the feature/contributor_swiftui_view branch July 28, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants