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

Provide beta fox assets and demo #50

Merged
merged 4 commits into from
Jun 3, 2021
Merged

Provide beta fox assets and demo #50

merged 4 commits into from
Jun 3, 2021

Conversation

darkwing
Copy link
Contributor

@darkwing darkwing commented May 18, 2021

Provides a beta option to define if we want that fox. Open docs/beta/index.html to check it out.

@darkwing darkwing requested a review from a team as a code owner May 18, 2021 19:36
docs/index.html Outdated Show resolved Hide resolved
@darkwing darkwing force-pushed the beta-logo-option branch from 5a458dd to fa866a2 Compare May 25, 2021 14:24
adonesky1
adonesky1 previously approved these changes May 25, 2021
Copy link

@adonesky1 adonesky1 left a comment

Choose a reason for hiding this comment

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

LGTM

@danfinlay
Copy link
Contributor

I'd probably rather we pass the mesh json into the constructor than have a beta flag, because this implies we package all meshes with every distribution, when instead we could be building towards a modularity where we can swap out logos.

@darkwing darkwing force-pushed the beta-logo-option branch from 9a0daf5 to bd38c22 Compare May 28, 2021 22:35
@darkwing
Copy link
Contributor Author

darkwing commented Jun 3, 2021

Note that this is a breaking change as it no longer defaults to showing the standard fox logo -- it must now be provided via meshJson option.

index.js Outdated
@@ -11,6 +10,10 @@ const {
module.exports = createLogo

function createLogo (options = {}) {
if (!options.meshJson) {
Copy link
Member

Choose a reason for hiding this comment

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

Have you considered making fox.json the default meshJson rather than making it a strict requirement? That would let us release this as a non-breaking change (I think).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We could, yes; I got the impression from @danfinlay's comment that we should keep this package as small as possible, but yeah, I'll go back to a default.

Copy link
Member

Choose a reason for hiding this comment

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

Sounds good! Using fox.json by default shouldn't affect package size - it was still being included. Unless you meant to remove it.

Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

LGTM!

@darkwing darkwing merged commit 87ea80f into main Jun 3, 2021
@darkwing darkwing deleted the beta-logo-option branch June 3, 2021 15:11
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.

4 participants