-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
refactoring ngx-editor #11
Conversation
Refactoring: - Generate ngx-toolbar-component - Move toolbar code into the ngx-toolbar-component
- Generate ngx-editor-message - Move message code into the ngx-editor-message
Provide messages exceptions handling
Encapsulate message auto clean on 5 seconds
angular/cli v1.5.3 fixes a security vulnerability that was reported for Handlebars
Thanks for the PR @volodymyro-in6k. Wooo, That's a lot of changes. 😄 When I need this component I was in a hurry so I created that just focussing on functionality. Since issue #9. I started refactoring ngx-editor. Since a lot of work has been done in the PR. we can continue from here. Also, following angular commit style guide for the commit message would be better, In future, it may help in generating changelogs |
Can we refactor the directory structures as
or any other suggestion? |
Thanks for the guide :)
The idea to don't divide it into the components, services, etc. Let's keep it as the components structure for the better navigation. E.g. if ngx-toolbar will have an inner component, then it's going to be located under the ngx-toolbar dir. As for the utils, models, and services. We can use the following strategy: keep files together (near the component) when it uses only in the one directory (component) level. Or extract it to the (shared, common or smth else) if it uses in the several places e.g. messages.service. What do you think? |
That makes sense. Then we can have the same as you proposed. |
@sibiraj-s, could you provide me with an additional information about the contribution flow? |
@volodymyro-in6k . 1 feature/patch per branch will be great. I haven't thought of contribution flow yet. But I soon will come up with one. Since this PR includes commits messages that don't fall under angular commit guidelines. I was thinking of squash merging it. Instead of making a merge commit. You added the form control support. that was great. Let us keep that for another PR. We will continue to refactor this one and then can add the features on that. Is it Okay? |
Can you revert that FEATURE? We can add it in another PR |
let me rearrange the directory structure first as we agreed 😄 |
@volodymyro-in6k . Isn't this almost over. One last thing that has to be reviewed is the namings. Then this PR can be merged. |
output should not be renamed (tslint)
@volodymyro-in6k . I have made significant changes. If you are fine with those changes. These can be merged and further can be continued from that. |
@sibiraj-s great work :) |
@volodymyro-in6k. That PR is not here. it is in your repo. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in the thread. |
Hello, @sibiraj-s.
I'd like your library and I'd like to help u.
This pull request, it's just refactoring and there are not new features. It can be a start point :)
I've temporarily removed package.json precommit step, as it cannot build it properly. Any way we can fix it and revert (package.json precommit step).