-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[59845] Update Datepicker for automatic scheduling mode #17349
base: feature/42388-new-automatic-scheduling-mode
Are you sure you want to change the base?
[59845] Update Datepicker for automatic scheduling mode #17349
Conversation
cc0f76c
to
7bdd2e1
Compare
.../src/app/shared/components/datepicker/wp-modal-date-picker/wp-modal-date-picker.component.ts
Fixed
Show fixed
Hide fixed
d7bcc0a
to
7f70319
Compare
...nd/src/app/shared/components/fields/edit/field-types/combined-date-edit-field.component.html
Fixed
Show fixed
Hide fixed
b7cba78
to
ec6b2bd
Compare
import { | ||
ChangeDetectorRef, | ||
Component, | ||
ElementRef, | ||
Inject, | ||
Injector, | ||
OnInit, | ||
} from '@angular/core'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
import { DatePickerEditFieldComponent } from 'core-app/shared/components/fields/edit/field-types/date-picker-edit-field.component'; | ||
import { WorkPackageResource } from 'core-app/features/hal/resources/work-package-resource'; | ||
import { PathHelperService } from 'core-app/core/path-helper/path-helper.service'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
import { DatePickerEditFieldComponent } from 'core-app/shared/components/fields/edit/field-types/date-picker-edit-field.component'; | ||
import { WorkPackageResource } from 'core-app/features/hal/resources/work-package-resource'; | ||
import { PathHelperService } from 'core-app/core/path-helper/path-helper.service'; | ||
import { I18nService } from 'core-app/core/i18n/i18n.service'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
import { DatePickerEditFieldComponent } from 'core-app/shared/components/fields/edit/field-types/date-picker-edit-field.component'; | ||
import { WorkPackageResource } from 'core-app/features/hal/resources/work-package-resource'; | ||
import { PathHelperService } from 'core-app/core/path-helper/path-helper.service'; | ||
import { I18nService } from 'core-app/core/i18n/i18n.service'; | ||
import { ResourceChangeset } from 'core-app/shared/components/fields/changeset/resource-changeset'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
import { PathHelperService } from 'core-app/core/path-helper/path-helper.service'; | ||
import { I18nService } from 'core-app/core/i18n/i18n.service'; | ||
import { ResourceChangeset } from 'core-app/shared/components/fields/changeset/resource-changeset'; | ||
import { HalResource } from 'core-app/features/hal/resources/hal-resource'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
OpEditingPortalHandlerToken, | ||
OpEditingPortalSchemaToken, | ||
} from 'core-app/shared/components/fields/edit/edit-field.component'; | ||
import { ResourceChangeset } from 'core-app/shared/components/fields/changeset/resource-changeset'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
OpEditingPortalSchemaToken, | ||
} from 'core-app/shared/components/fields/edit/edit-field.component'; | ||
import { ResourceChangeset } from 'core-app/shared/components/fields/changeset/resource-changeset'; | ||
import { HalResource } from 'core-app/features/hal/resources/hal-resource'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
} from 'core-app/shared/components/fields/edit/edit-field.component'; | ||
import { ResourceChangeset } from 'core-app/shared/components/fields/changeset/resource-changeset'; | ||
import { HalResource } from 'core-app/features/hal/resources/hal-resource'; | ||
import { IFieldSchema } from 'core-app/shared/components/fields/field.base'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
import { ResourceChangeset } from 'core-app/shared/components/fields/changeset/resource-changeset'; | ||
import { HalResource } from 'core-app/features/hal/resources/hal-resource'; | ||
import { IFieldSchema } from 'core-app/shared/components/fields/field.base'; | ||
import { EditFieldHandler } from 'core-app/shared/components/fields/edit/editing-portal/edit-field-handler'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
import { HalResource } from 'core-app/features/hal/resources/hal-resource'; | ||
import { IFieldSchema } from 'core-app/shared/components/fields/field.base'; | ||
import { EditFieldHandler } from 'core-app/shared/components/fields/edit/editing-portal/edit-field-handler'; | ||
import { PathHelperService } from 'core-app/core/path-helper/path-helper.service'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
…tted into a directive so that it can be used for the datepicker as well
…user changes are tracked
0a32707
to
9488170
Compare
Ticket
https://community.openproject.org/projects/stream-planning-and-reporting/work_packages/59845/activity
What are you trying to accomplish?
Primerise the datepicker dialog
ToDo
Screenshots
What approach did you choose and why?
Moving the datepicker dialog closer towards Primer. Two things will remain however in angular:
The modal is so closely coupled to the edit field that it will be very hard to get rid of that. Flatpickr is an external library which will not get rid of for now.
Merge checklist