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

Show fields prior to choosing GitHub repo #13

Open
LorenHeyns opened this issue Jul 28, 2021 · 1 comment
Open

Show fields prior to choosing GitHub repo #13

LorenHeyns opened this issue Jul 28, 2021 · 1 comment

Comments

@LorenHeyns
Copy link

LorenHeyns commented Jul 28, 2021

To make this a great demo, we need to continue showing the form prior to selecting a GitHub repo. Doing so will encourage broader adoption.

Here's the visible form in the initial Italian work:
https://publiccode-editor.developers.italia.it

Here's our new, hard-to-preview form:
https://codeforamerica.github.io/publiccode-pusher

In our new version, we could display a box at the top:
Select a Github Repo to update. "Select a Repo" "Learn More"

Initially, we could prevent editing prior to choosing a repo.

Later, we could store the values as local data prior to choosing a repo - so the fields remain populated when backing up or when opening the page later in another tab.

@giosce
Copy link
Collaborator

giosce commented Sep 23, 2021

I agree. I didn't see that Italian version, I saw another one and also I forked from the Italian repo.
What @LorenHeyns suggest makes sense.
There is a big difference though. Our version has a "Push to Github" button that creates a branch and PR on the logged in repo. This is very useful, the Italian version instead it seems it will generate a local yaml file (sure, not difficult to upload it manually to github or anywhere else).
Maybe multiple buttons...? ("Generate", "Login", "Push")?

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

No branches or pull requests

2 participants