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 tap gesture to provide additional feature info #86

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mfcollins3
Copy link

I enhanced RoadmapFeature by adding a url property that can be used to display additional information about the feature request, such as a GitHub issue or a blog post.

I enhanced RoadmapView by adding a bindable variable for the selected feature in the list. I added a tap gesture recognizer that will update the bindable value with the selected feature. This will allow a developer to navigate to another view to show more detailed information about the feature, or to use the new url field to open a web view to show the detailed information about the feature.

I had to extend RoadmapFeature to implement Equatable. If a developer uses the new bindable field on RoadmapView and uses the onChange(of:) view modifier to react to a feature being selected, the type is required to conform to Equatable.

I enhanced RoadmapFeature by adding a URL property that can be used to
display additional information about the feature request, such as a
GitHub issue or a blog post.

I enhanced RoadmapView by adding a bindable variable for the selected
feature in the list. I added a tap gesture recognizer that will update
the bindable value with the selected feature. This will allow a
developer to navigate to another view to show more detailed information
about the feature, or to use the new url field to open a web view to
show the detailed information about the feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant