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

Implement view layout #123

Merged
merged 1 commit into from
Oct 9, 2019
Merged

Conversation

MGatner
Copy link
Collaborator

@MGatner MGatner commented Oct 9, 2019

Supplying a view layout via the config will allow users to wrap the default views in their own layout, rather than publishing out all the views just to change the style.

This might run amuck of view publishing (or rather, the current behavior post-publish) but I think it is a better solution for modules requiring views, so that only the views that really need updating are moved into app and the rest get updated with the package.

N.B. also updated Bootstrap and dependencies.

@lonnieezell
Copy link
Owner

I like the idea. Seems heavy handed to pass in the entire config array to the view when the only thing needed is the layout. Would prefer passing in just the layout name.

@MGatner
Copy link
Collaborator Author

MGatner commented Oct 9, 2019

login already needed the config to check other values, so I was going for consistency, but I will change it to just the layout.

@lonnieezell
Copy link
Owner

Oh it did? I guess I missed that. Probably fine then.

@lonnieezell lonnieezell merged commit 905c501 into lonnieezell:develop Oct 9, 2019
@MGatner MGatner deleted the view-layout branch October 9, 2019 14:44
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.

2 participants