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

Gitter Link Settings #197

Merged
merged 10 commits into from
Jun 11, 2017
Merged

Gitter Link Settings #197

merged 10 commits into from
Jun 11, 2017

Conversation

AdrianRaFo
Copy link
Contributor

@AdrianRaFo AdrianRaFo commented Jun 11, 2017

Fixes #195 Create a setting to custom Gitter channel

Copy link
Contributor

@raulraja raulraja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, @juanpedromoreno can you also take a look at this? Thanks!

Copy link
Member

@juanpedromoreno juanpedromoreno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, however I've request a minor change. Thanks!

@@ -98,6 +98,7 @@ object MicrositesPlugin extends AutoPlugin {
micrositePushSiteWith := GHPagesPlugin,
micrositeAnalyticsToken := "",
micrositeGitterChannel := true,
micrositeGitterChannelUrl := "",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could set the default value here, based on owner/repo.

|room: '${config.gitSettings.githubOwner}/${config.gitSettings.githubRepo}'};""".stripMargin),
script(src := s"https://sidecar.gitter.im/dist/sidecar.v1.js")
)
val gitSidecar: List[TypedTag[String]] =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressing the comment above, we wouldn't need to add any special logic here.

Copy link
Member

@juanpedromoreno juanpedromoreno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

giphy 9

@juanpedromoreno juanpedromoreno merged commit dcfebbe into master Jun 11, 2017
@juanpedromoreno juanpedromoreno changed the title Arf 195 gitter link setting Gitter Link Settings Jun 11, 2017
@juanpedromoreno juanpedromoreno deleted the arf-195-Gitter-Link-Setting branch June 11, 2017 19:32
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.

None yet

3 participants