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

feat: files screen #75

Merged
merged 3 commits into from Apr 30, 2020
Merged

feat: files screen #75

merged 3 commits into from Apr 30, 2020

Conversation

shreyas1599
Copy link
Contributor

@shreyas1599 shreyas1599 commented Apr 30, 2020

Fixes #74

  • I'm currently working on GistsScreen as well, so router.dart and github.dart includes portions for that(not completed yet). I should've done that on a separate branch :/. Should I add a commit to comment the gists portion out?
  • I'll open a pr asap for GistsScreen
  • I had to use the Card widget in files_item.dart as ExpansionTile required a parent that is a material widget. Container didn't work.

This is how it looks:

image
image

@pd4d10
Copy link
Owner

pd4d10 commented Apr 30, 2020

Since this screen is only for viewing file changes, perhaps we could add a button to view in the browser? For someone who wants to get the full features of the GitHub web version, e.g. submit a review.

@pd4d10
Copy link
Owner

pd4d10 commented Apr 30, 2020

Or use the share module to open the system share panel, which has open in the browser included.

@shreyas1599
Copy link
Contributor Author

shreyas1599 commented Apr 30, 2020

Open in browser does not seem to appear in the share sheet. Should I use url_launcher instead?

( In the pull request screen you have used both 'Share' and 'Open in browser' options. Share uses the share module and open in browser uses launchUrl right?)

@pd4d10
Copy link
Owner

pd4d10 commented Apr 30, 2020

https://github.com/git-touch/git-touch/blob/0063e99bbcfef81fbe0e0388289ceb40afeab40d/lib/screens/gh_repo.dart#L89-L105

The button in the repo screen could be for reference

@shreyas1599
Copy link
Contributor Author

shreyas1599 commented Apr 30, 2020

Sorry, the first commit action url was incomplete

@pd4d10 pd4d10 merged commit 0749a69 into pd4d10:master Apr 30, 2020
@shreyas1599 shreyas1599 deleted the files-screen branch April 30, 2020 16:05
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.

Files changed screen in a PR
2 participants