I've renamed and cleaned up the ad_example submodule as discussed in comment #2 of 7.x re-implementation (7.x-3.x?).

You can view the changes I've made in my ad_ad_ui sandbox.

The bulk of the changes are for renaming the submodule and its pieces to ad_ui. To make it easier to review, I split the changes up among various commits: renaming the module, renaming the content type, renaming the view modes and layouts, renaming the permissions, renaming the views, and then some other commits that fixed minor issues I ran into.

There are still two things lacking that I didn't have time to address:

  1. The displays in the Ad Display view need to be updated manually after installation so that their Ad size filters point to the correct vocabulary and terms. This really should be an automatic process.
  2. There's still very little documentation on how to use the modules. It might be useful to at least show that calling drush ad-ui-install will install the example content. Being able to play around with the example content should get most people to a point where they can easily figure out things on their own.
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tbaumgard created an issue. See original summary.

tbaumgard’s picture

Issue summary: View changes
Jeremy’s picture

Please submit a patch, and I'll take a look.

  • Jeremy committed 25edd2c on 7.x-3.x authored by tbaumgard
    Issue #2852735 by tbaumgard: Remove example from view modes and layouts
    
  • Jeremy committed 2897345 on 7.x-3.x authored by tbaumgard
    Issue #2852735 by tbaumgard: Fix typo in inline documentation
    
  • Jeremy committed 2d2a13d on 7.x-3.x authored by tbaumgard
    Issue #2852735 by tbaumgard: Remove redundant eck dependency
    
  • Jeremy committed 32c7163 on 7.x-3.x authored by tbaumgard
    Issue #2852735 by tbaumgard: Remove example from permissions
    
  • Jeremy committed 4b5dbbb on 7.x-3.x authored by tbaumgard
    Issue #2852735 by tbaumgard: Rename views
    
  • Jeremy committed 742966b on 7.x-3.x authored by tbaumgard
    Issue #2852735 by tbaumgard: Rename "ad_example" to "add_ui"
    
  • Jeremy committed 8bd75b3 on 7.x-3.x authored by tbaumgard
    Issue #2852735 by tbaumgard: Use full path when creating example content
    
  • Jeremy committed 9b6df1b on 7.x-3.x authored by tbaumgard
    Issue #2852735 by tbaumgard: remove macOS desktop services files
    
  • Jeremy committed b455ec2 on 7.x-3.x authored by tbaumgard
    Issue #2852735 by tbaumgard: Rename ad_example content type to ad
    
Jeremy’s picture

Thanks for your work on this! All patches have been applied.

Regarding #1 in your TODO, as this is a -beta release I don't think it's critical we automate the upgrade path. It would be good to document how this is done manually.

Regarding #2 in your TODO, agreed, more documentation would be super useful.

For future patches, please review:

The Drupal community does not use git format-patch and git apply.

Jeremy’s picture

Status: Needs review » Fixed
tbaumgard’s picture

For what it's worth, I was trying to follow this guide as opposed to the typical patch workflow because it was such a complex changeset, but thanks for the heads-up and for merging the changes.

Anyway, the first TODO item I mentioned isn't related to upgrades and will happen with a brand-new install. If I remember correctly, and it's been awhile since I've looked into it, I think there are some IDs hard-coded that don't map to the expected vocabulary or taxonomy term IDs unless you're lucky enough to have a setup close to that of the original author. I ended up leaving it go because I wasn't sure what the proper way to handle them was at the time, and I didn't have exactly have a ton of time to investigate it. In any case, I completely agree with you that it's not critical because it's example content anyway.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.