Skip to content
  • Behrokh Satarnejad's avatar
    30ce7a91
    [45001] Create a new component to show the list of non-working days of a year (#11718) · 30ce7a91
    Behrokh Satarnejad authored
    
    
    * create a new component for showing list of NWD
    
    * fix the method for fetching data from the database
    
    * fix eslint errors
    
    * add delete icon to the list of non-working days
    
    * Change componenet name and add empty state handleing and add button for opening the date picker modal
    
    * fix full calendar/list css import issue in anguar 14
    
    * change confirm modal to show a list of data and a warning
    
    * open confirmation modal in list of non-working days component while submitting the form
    
    * format removed dates to be shown on the confirmation modal
    
    * change a warning string
    
    * make a connection between rails and calendar list component
    
    * reinstall list in fullcalendar
    
    * fetch data from non-working days API endpoint
    
    * set suto to content height of calendar
    
    * use id returned from the API
    
    * Fix parameter name on WorkingDaysSettingsController
    
    * Fix non working days attributes _deleted to _destroy
    
    * Pass ruby variable to the op-non-working-days-list component
    
    * fixup! Pass ruby variable to the op-non-working-days-list component
    
    * Pass this.modifiedNonWorkingDays to the angular component
    
    * add inputs to the form itself instead of row of calendar, while adding a new NWD
    
    * Update the modified_non_working_days variable to also propagate the _destroy field to the frontend
    
    * create hidden inputs only for added and deleted NWDs
    
    * Fix specs
    
    * Limit json attributes
    
    * add non-working days as test
    
    * add hidden inputs for a new nwd in ngoninit and add it to the calendar itself at the same time, when it is back from a failed proces
    
    * add a method to check if a date is a NWD
    
    * Add requests spec for deleting non working days
    
    * Allow dangling underscore for _destroy
    
    * fixup! Allow dangling underscore for _destroy
    
    * WIP single date picker
    
    * Use slots from single datepicker to wire up modal
    
    * Add spec to add a NWD
    
    * remove Non-working days only toggle
    
    * WIP
    
    * Add required validation
    
    * show asterisks beside date in date-picker
    
    * test if date ans name are entered then close the datepicke
    
    * Add error when already added
    
    * Rewrite into less implicit created elements
    
    ---------
    
    Co-authored-by: default avatarDombi Attila <[email protected]>
    Co-authored-by: default avatarOliver Günther <[email protected]>
    30ce7a91
    [45001] Create a new component to show the list of non-working days of a year (#11718)
    Behrokh Satarnejad authored
    
    
    * create a new component for showing list of NWD
    
    * fix the method for fetching data from the database
    
    * fix eslint errors
    
    * add delete icon to the list of non-working days
    
    * Change componenet name and add empty state handleing and add button for opening the date picker modal
    
    * fix full calendar/list css import issue in anguar 14
    
    * change confirm modal to show a list of data and a warning
    
    * open confirmation modal in list of non-working days component while submitting the form
    
    * format removed dates to be shown on the confirmation modal
    
    * change a warning string
    
    * make a connection between rails and calendar list component
    
    * reinstall list in fullcalendar
    
    * fetch data from non-working days API endpoint
    
    * set suto to content height of calendar
    
    * use id returned from the API
    
    * Fix parameter name on WorkingDaysSettingsController
    
    * Fix non working days attributes _deleted to _destroy
    
    * Pass ruby variable to the op-non-working-days-list component
    
    * fixup! Pass ruby variable to the op-non-working-days-list component
    
    * Pass this.modifiedNonWorkingDays to the angular component
    
    * add inputs to the form itself instead of row of calendar, while adding a new NWD
    
    * Update the modified_non_working_days variable to also propagate the _destroy field to the frontend
    
    * create hidden inputs only for added and deleted NWDs
    
    * Fix specs
    
    * Limit json attributes
    
    * add non-working days as test
    
    * add hidden inputs for a new nwd in ngoninit and add it to the calendar itself at the same time, when it is back from a failed proces
    
    * add a method to check if a date is a NWD
    
    * Add requests spec for deleting non working days
    
    * Allow dangling underscore for _destroy
    
    * fixup! Allow dangling underscore for _destroy
    
    * WIP single date picker
    
    * Use slots from single datepicker to wire up modal
    
    * Add spec to add a NWD
    
    * remove Non-working days only toggle
    
    * WIP
    
    * Add required validation
    
    * show asterisks beside date in date-picker
    
    * test if date ans name are entered then close the datepicke
    
    * Add error when already added
    
    * Rewrite into less implicit created elements
    
    ---------
    
    Co-authored-by: default avatarDombi Attila <[email protected]>
    Co-authored-by: default avatarOliver Günther <[email protected]>
Loading Analyzing file…
Loading