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

Drtii 1557 min staff 1 #45

Merged
merged 47 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
1019317
Adding add min staff alert
Aug 27, 2024
d9e7ddc
remove strong
Aug 27, 2024
2ea7c92
adding form to update min staff number
Aug 28, 2024
2c176c7
Adding min staff form for export
Aug 28, 2024
23c49bb
adding continueCallback for update
Aug 29, 2024
85f28a4
Change success icon and colors
Aug 30, 2024
b336fa5
merge main changes
Sep 2, 2024
ec1c1ae
adding test for min staff form and warning component
Sep 2, 2024
1d5ebae
using AddCircleOutlineOutlinedIcon for adding min staff
Sep 2, 2024
779b142
remove icon on continue
Sep 3, 2024
f39a604
separating min staff update sucess component
Sep 5, 2024
3dfa0ad
Update index for export IMinSuccess Type
Sep 5, 2024
42a7993
adding close success handler
Sep 5, 2024
3d8cb6e
adding cancel to mins staff form
Sep 6, 2024
9e817fc
adding decimal error check
Sep 13, 2024
4ff2fc7
remove colon
Sep 13, 2024
1af309d
update title
Sep 13, 2024
d40922e
adding text change
Sep 13, 2024
fcf278b
Merge branch 'main' of github.com:UKHomeOffice/drt-react into DRTII-1…
Sep 25, 2024
91e913c
fix test and update esbuild
Sep 25, 2024
89dc1aa
Initial submit shift staff form
Sep 26, 2024
19a3ae6
DRTII-1557 adding json for handle submit
Sep 27, 2024
3946ffe
using IShiftStaffForm instead if individual fields
Sep 27, 2024
6a291ba
addin export for shift staff to index
Sep 29, 2024
1627511
adding optional ssf
Sep 29, 2024
f002b18
adding edit shift staff form
Oct 1, 2024
660949c
updating minstaffSucces to staffSuccess
Oct 2, 2024
a6a5f45
updating edit shif staff
Oct 3, 2024
caaf814
remove moment in initialization
Oct 3, 2024
3c3ec85
rename ess to essf
Oct 4, 2024
f614168
using AdapterMoment an removing null
Oct 4, 2024
e9a4caf
update handle change event with adapter date
Oct 4, 2024
3ec8939
change width of edit form
Oct 8, 2024
4eb5cc0
adding summary of selection
Oct 9, 2024
2c1abdc
date format DD-MM-YYY
ngu04 Oct 9, 2024
a31cd01
updating date format and 24 time format for edit form
ngu04 Oct 17, 2024
804b439
adding style changes to edit shift form
ngu04 Oct 29, 2024
0d3cc8f
fixing setting date issue
ngu04 Oct 30, 2024
4244e39
fixing day and remove border
ngu04 Nov 4, 2024
bb0caf8
moving 2nd line padding by 2 pixel in summary as it is lookinn bit le…
ngu04 Nov 4, 2024
453a692
update edit form
ngu04 Nov 5, 2024
fd0ada4
removing unused components
ngu04 Nov 5, 2024
4be51ba
update time range form
ngu04 Nov 5, 2024
6d07b6d
fixing 2 space indent and remove renderInput for date picker
ngu04 Nov 5, 2024
07b0e35
merge main
ngu04 Nov 5, 2024
52ac3ce
adding slot to datapicker to remove warning
ngu04 Nov 6, 2024
8a49c99
merge main
ngu04 Nov 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@drt/drt-react-components",
"version": "1.5.4",
"version": "1.5.5",
"description": "React components for DRT applications",
"main": "dist/cjs/bundle.js",
"module": "dist/esm/bundle.js",
Expand Down
5 changes: 4 additions & 1 deletion src/components/Staff/UpdateStaffForTimeRangeForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ export const UpdateStaffForTimeRangeForm = ({
<LocalizationProvider dateAdapter={AdapterMoment} adapterLocale={'en-gb'}>
<DatePicker sx={{backgroundColor: '#FFFFFF', width: '100%'}} label="Start Date" value={startDate}
onChange={handleStartDateChange}
format="DD MMMM YYYY"/>
format="DD MMMM YYYY"
slots={{ textField: (params) => <TextField {...params} /> }}
/>
</LocalizationProvider>
</Box>
<Box sx={{paddingTop: '10px'}}>
Expand All @@ -122,6 +124,7 @@ export const UpdateStaffForTimeRangeForm = ({
value={endDate}
onChange={handleEndDateChange}
format="DD MMMM YYYY"
slots={{ textField: (params) => <TextField {...params} /> }}
/>
</LocalizationProvider>
</Box>
Expand Down
Loading