angular-checklist icon indicating copy to clipboard operation
angular-checklist copied to clipboard

Add missing items

Open d3lm opened this issue 5 years ago • 14 comments

There are a few things that we still need to add. In particular, it's the following items:

  • [x] use latest version of everything (General)
  • [ ] category for Testing
  • [ ] use cypress for integration and e2e tests (opinionated but we can mark it as optional in the UI, goes into Testing)
  • [x] only manipulate the DOM via the Renderer (Components)
  • [ ] wrap globals in services
  • [ ] use valueChanges over keyup event or a subject (Forms)
  • [x] use path mappings to simplify imports (Typescript)

Contributions are more than welcome 🤩If someone wishes to contribute with one of the items above, please create separate pull requests and follow our contributing guide.

I also want to point out again that this project is released with a Code of Conduct. By participating in this project you agree to abide by its terms.

d3lm avatar Nov 29 '18 20:11 d3lm

Mind adding categories to these items? Some of these don't really fit into the existing ones and I'd rather you decide on the new categories 😄

FUNExtreme avatar Dec 10 '18 20:12 FUNExtreme

Ha, good question. I actually thought about the categories where they belong to but I was struggling so I just put them out without the categories 😆I'll give it another shot and try to come up with categories for each of those items.

d3lm avatar Dec 10 '18 20:12 d3lm

For some I tend to have a "General" category but I fear that having such general category will result in a "trash can" where all the items go that cannot be categorized. This is the same I often see in code where people create a shared "models" folder and at the end of the day, people add everything to that folder because it's easy first.

d3lm avatar Dec 10 '18 20:12 d3lm

Can't say I disagree, however if you decide not to create a general category you'll probably end up with a lot of categories with (potentially) only a single item. From a contributors standpoint it might scare some people of that there is not yet a category for their item. From a maintainers standpoint you could easily propose a new category when a PR is created with an item that shouldn't be in the "general" category.

So I'd dare say the "general" category is the way to go. You'll probably need to keep close track of what's in it though, as new items could warrant a new category in combination with existing items in "general".

FUNExtreme avatar Dec 10 '18 21:12 FUNExtreme

Yes agreed. Maybe we can introduce a "General" category. I think it's just our job as contributors to keep close track of where items go. That's why we wanted people to create issues first, so we can discuss these kind of things. So I'd say, let's go with a general one cause it's better to have such rather than having almost empty categories or a whole bunch of categories with just a single item.

d3lm avatar Dec 10 '18 21:12 d3lm

So I have added some categories to the items. If you feel like sending PRs for some of the items, please feel free to do that. I am happy to also collaborate and help you out if you need assistance @FUNExtreme. I really appreciate your work and contribution to this project 🙏

d3lm avatar Dec 10 '18 21:12 d3lm

@d3lm

only manipulate the DOM via the Renderer

I want to write something about this. Should i create the View Category? or add them to existing category?

billyjov avatar Dec 18 '18 09:12 billyjov

Hey @billyjov, cool that you want to contribute!

Regarding the category, I'd say we should add it to Components because it already exists and the item would have something to do with components so it's closely related.

d3lm avatar Dec 18 '18 13:12 d3lm

@d3lm can you pls update the list of missing items ?

billyjov avatar Jan 09 '19 01:01 billyjov

@billyjov What items are missing atm?

KwintenP avatar Jan 09 '19 14:01 KwintenP

@KwintenP It was about the above list to see which items is on the todo list

billyjov avatar Jan 11 '19 07:01 billyjov

Updated it :)

KwintenP avatar Jan 11 '19 08:01 KwintenP

Hi the project is unable to compile, I think we are missing a file: [0] ERROR in ./src/app/checklist/state/checklist.reducer.ts [0] Module not found: Error: Can't resolve '../../../assets/content.json' in 'C:\Temp\angular-checklist\src\app\checklist\state' [0] i 「wdm」: Failed to compile.

tonyr1971 avatar Feb 15 '19 14:02 tonyr1971

@tonyr1971 You have to start the build process with yarn/npm start which also starts the build process for the content. It seem that you have just started the app and forgot to start the build for the content. Let me know how it goes.

d3lm avatar Feb 15 '19 19:02 d3lm