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

42 simple api injection proposal for custom user componentisation #43

Conversation

sgobotta
Copy link
Member

@sgobotta sgobotta commented Dec 24, 2018

This PR provides:

  • An implementation of a simple API injection for any custom component to be used in forms, to update, create and submit data

Closes #42

+ Vuetify update was needed to render some new components
+ Vue was updated since Vuetify needed it's latest version
…om prop

+ A testing route that simulates the Create View has been added to Resource
+ Resource will inject props to the CustomCreate component that a user passes
+ CustomCreate should use those functions to update and submit a custom form
+ Updated and documented CustomCreate component
+ Updates Resource to use the new binding function for the CreateTest view
+ Entities store: refactors the key name
+ Documented and refactored the store utils
@sgobotta sgobotta requested a review from josx December 24, 2018 23:41
@sgobotta sgobotta added this to Needs review in Current Tasks Jan 4, 2019
@sgobotta sgobotta mentioned this pull request Jan 8, 2019
@sgobotta
Copy link
Member Author

sgobotta commented Jan 8, 2019

Summary

Pull Request Deliverables:

// list is a user's custom component
const utils = listUtils({
resourceName,
router,
Copy link
Contributor

Choose a reason for hiding this comment

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

The listUtils function doesn't use the router parameter. We need to remove it.

Copy link
Member Author

@sgobotta sgobotta Jan 9, 2019

Choose a reason for hiding this comment

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

Alright, fixed in 46afb88


let timesNavigatedToNextPage = 0

before('Creates a new magazine', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

The description doesn't match the setup content

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed in 85ab70a

@estefi-prieto estefi-prieto merged commit 9fcf4da into develop Jan 10, 2019
Current Tasks automation moved this from Needs review to Done Jan 10, 2019
@sgobotta sgobotta deleted the 42-simple-api-injection-proposal-for-custom-user-componentisation branch January 11, 2019 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Current Tasks
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants