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

Initial implementation of Utilities #253

Merged
merged 21 commits into from
May 8, 2021
Merged

Conversation

zspencer
Copy link
Member

@zspencer zspencer commented May 7, 2021

See: #252

@user512 user512 temporarily deployed to convene-pr-253 May 7, 2021 19:13 Inactive
Copy link
Contributor

@user512 user512 left a comment

Choose a reason for hiding this comment

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

I feel like I am going to need to have you to demo this a bit to completely understand what's going on but this looks good to me.

def self.append_routes(routing_context)
REGISTRY.values.each do |furniture|
REGISTRY.each_value do |furniture|
Copy link
Contributor

Choose a reason for hiding this comment

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

TIL about each_value

Copy link
Member Author

Choose a reason for hiding this comment

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

Rubocop made me do it! But I liked it!

@zspencer zspencer force-pushed the 186/sprout-plaid-utility branch from 83a6fc7 to 6ba6e16 Compare May 8, 2021 03:05
@zspencer zspencer temporarily deployed to convene-pr-253 May 8, 2021 03:05 Inactive
@zspencer zspencer temporarily deployed to convene-pr-253 May 8, 2021 03:08 Inactive
@zspencer zspencer temporarily deployed to convene-pr-253 May 8, 2021 03:11 Inactive
@zspencer zspencer temporarily deployed to convene-pr-253 May 8, 2021 03:16 Inactive
@zspencer zspencer temporarily deployed to convene-pr-253 May 8, 2021 03:29 Inactive
Utilities.from_utility_hookup(jitsi_hookup).meet_domain
end

def hookups
Copy link
Member

Choose a reason for hiding this comment

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

Is this used anywhere? I couldn't find a usage example in this PR (but its big, so likely I missed it?). Looking at the implementation, it reads like it returns Utilities, not UtilityHookups, so I was trying to understand how it is used.

Copy link
Member Author

Choose a reason for hiding this comment

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

Probably not! Thank you!

Copy link
Member

@anaulin anaulin left a comment

Choose a reason for hiding this comment

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

It's starting to feel quite fleshed out! 🍖

@zspencer zspencer force-pushed the 186/sprout-plaid-utility branch from 9f1e681 to 7a805e4 Compare May 8, 2021 22:07
@zspencer zspencer temporarily deployed to convene-pr-253 May 8, 2021 22:07 Inactive
@zspencer zspencer temporarily deployed to convene-pr-253 May 8, 2021 22:08 Inactive
@zspencer zspencer temporarily deployed to convene-pr-253 May 8, 2021 22:24 Inactive
@zspencer zspencer merged commit 6957c2c into development May 8, 2021
@zspencer zspencer deleted the 186/sprout-plaid-utility branch May 8, 2021 22:37
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.

3 participants