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

Task module #1578

Merged
merged 80 commits into from
Jan 10, 2023
Merged

Task module #1578

merged 80 commits into from
Jan 10, 2023

Conversation

sleidig
Copy link
Member

@sleidig sleidig commented Dec 7, 2022

Module to manage tasks similar to notes but as separate entities.

  • basic structure for list, subrecords list, details properties
  • relatedEntities to link any mix of other entities
  • task completion as a special work flow and UX
  • repetition intervals can be selected in UI + create follow-up tasks automatically on completion of the previous task
  • reuse existing date for index instead of recalculating
  • code cleanup TodosRelatedToEntity (refactorings across features in separate PR)
  • UX TodoDetails & code cleanup (refactorings across features/popups in separate PR --> Refactor FormDialogService and EntitySubrecordComponent.showEntityInForm to avoid duplication #921)
  • UI feedback for invalid form (--> maybe via refactoring of EntityFormComponent?)
  • "Uncomplete" button (undo)
  • open details from todo list as popup
  • dashboard widget for current tasks
  • sort tasks ascendingly by deadline (--> make default sort configurable for entity-list)
  • show all fields (including rec interval etc.) in todos opened from the todo list, (maybe define the columns to display directly on the entity config?)
  • filter by date ranges (--> PR date-range filter for Entity Lists #1383 ) for deadline and startDate
  • ... some secret sauce to make this really exciting and inuitive
  • ... and reminders as Push/Email notifications (separate issue/PR)

for easier overview of related components and simplified testing imports
# Conflicts:
#	src/app/core/entity-components/entity-select/display-entity-array/display-entity-array.stories.ts
#	src/app/core/entity-components/entity-select/display-entity/display-entity.stories.ts
#	src/app/core/entity-components/entity-select/edit-entity-array/entity-reference-array.stories.ts
#	src/app/core/entity-components/entity-select/edit-single-entity/entity-reference.stories.ts
#	src/app/core/entity-components/entity-select/entity-select.module.ts
#	src/app/core/entity-components/entity-select/entity-select/entity-select.component.spec.ts
#	src/app/core/entity-components/entity-select/entity-select/entity-select.stories.ts
@github-actions
Copy link
Contributor

github-actions bot commented Dec 7, 2022

Deployed to https://pr-1578.aam-digital.net/

@sleidig sleidig mentioned this pull request Dec 7, 2022
sleidig and others added 9 commits December 8, 2022 14:04
# Conflicts:
#	src/app/core/entity-components/entity-select/edit-entity-array/edit-entity-array.component.ts
#	src/app/core/entity-components/entity-select/entity-select/entity-select.component.spec.ts
#	src/app/core/entity-components/entity-select/entity-select/entity-select.component.ts
Co-authored-by: Simon <simon@aam-digital.com>
Copy link
Collaborator

@TheSlimvReal TheSlimvReal left a comment

Choose a reason for hiding this comment

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

Looks fine so far.

I don't like the custom interval component very much. Instead, the filter selection could be 2 dropdowns, 1 for number (1-10), one for unit (days, weeks, months, years). This would also make to code much less complicated.

Whats missing:

  • (Dashboard) active todos
  • Logic behind intervals

@sleidig sleidig marked this pull request as ready for review January 5, 2023 16:34
@sleidig sleidig marked this pull request as draft January 5, 2023 16:34
# Conflicts:
#	src/app/child-dev-project/notes/dashboard-widgets/important-notes-dashboard/important-notes-dashboard.component.ts
#	src/app/core/dashboard/dashboard-list-widget/dashboard-list-widget.component.html
#	src/app/core/dashboard/dashboard-list-widget/dashboard-list-widget.component.spec.ts
#	src/app/core/dashboard/dashboard-list-widget/dashboard-list-widget.component.ts
#	src/app/core/entity-components/entity-list/EntityListConfig.ts
#	src/app/core/entity-components/entity-list/entity-list.component.html
#	src/app/core/entity-components/entity-subrecord/entity-subrecord/entity-subrecord.component.spec.ts
#	src/app/core/entity-components/entity-subrecord/entity-subrecord/entity-subrecord.component.ts
#	src/app/core/ui/search/search.component.ts
Copy link
Collaborator

@TheSlimvReal TheSlimvReal left a comment

Choose a reason for hiding this comment

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

Great look and feel. Working with it I don't see any bugs or issues. Code wise also looks good, however test coverage could be better 😄
I made some styling improvements already and also left some small remarks.

sleidig and others added 4 commits January 6, 2023 13:10
Co-authored-by: Simon <simon@aam-digital.com>
…om-interval.component.scss

Co-authored-by: Simon <simon@aam-digital.com>
…mpletion.component.html

Co-authored-by: Simon <simon@aam-digital.com>
@sleidig sleidig marked this pull request as ready for review January 6, 2023 13:16
# Conflicts:
#	src/app/app.module.ts
#	src/app/core/entity-components/entity-select/display-entity-array/display-entity-array.component.ts
#	src/app/core/entity-components/entity-select/edit-entity-array/entity-reference-array.stories.ts
#	src/app/core/entity-components/entity-select/edit-single-entity/entity-reference.stories.ts
#	src/app/core/entity-components/entity-utils/dynamic-form-components/edit-number/edit-number.stories.ts
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 17 Code Smells

No Coverage information No Coverage information
0.1% 0.1% Duplication

@sleidig sleidig merged commit c3a67e6 into master Jan 10, 2023
@sleidig sleidig deleted the task-module branch January 10, 2023 11:12
@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.16.0-master.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.16.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.16.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

1 similar comment
@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.16.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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