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

Questions about Best Practices #27

Open
cosmicdreams opened this issue Oct 2, 2017 · 3 comments
Open

Questions about Best Practices #27

cosmicdreams opened this issue Oct 2, 2017 · 3 comments

Comments

@cosmicdreams
Copy link

Hey Adam:

I spun up my fork of this repo and immediately ran into tweaks I wanted to make to the documentation which led me to a number of questions:

  1. Should we exclude the html directory since it's the target of so much generation. Every time we generate new patterns, the process will make deletes, additions or modifications to that directory.
  2. Why is the root level composer.json needed?
  3. At first generation a lot of images are deleted, is that mistake?
  4. When you first run composer install in the design-library you are prompted to merge or replace for three folders, can we default to Merge and not prompt the user? Require them to provide an argument?
@nerdstein
Copy link
Owner

Hey chris, thanks again for checking this out. I'll respond to each point

  1. I use that for my pull request workflow. This is how I view a full representation to preview when reviewing changes. It would be great if we can find a way to limit it to just pages or specific patterns (the pages themselves). I'm not sure if that would help or not... It really should just track changes made across any pattern.

  2. This was the metadata needed for it to integrate cleanly with the Drupal site

  3. I'm not sure. I haven't started from scratch lately.

  4. That seems reasonable to me - should we update the documentation?

@nerdstein
Copy link
Owner

Note: I just did a fresh install on a second laptop. I made some minor adjustments. I think most of these things are resolved now.

@cosmicdreams do you want to play around with this again?

@nerdstein
Copy link
Owner

I could see some updates to the pull request template that asks a contributor to specify one or more of the patterns affected (or a page if there are some global changes). This is what happens with each generation of the HTML directory.

I'd like to see if there are tokens in the pull request template that somehow automate the username and branch from the code being submitted.

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