Update roles/home/aichat.nix

This commit is contained in:
Giulio De Pasquale 2024-07-01 18:19:40 +01:00
parent e3013a77b7
commit fe6d156580

View File

@ -54,7 +54,6 @@ roles = ''
### INPUT : ### INPUT :
```diff
diff --git a/src/utils/date-formatter.js b/src/utils/date-formatter.js diff --git a/src/utils/date-formatter.js b/src/utils/date-formatter.js
index 2345678..3456789 100644 index 2345678..3456789 100644
--- a/src/utils/date-formatter.js --- a/src/utils/date-formatter.js
@ -65,19 +64,15 @@ roles = ''
- return `${year}-${month}-${day}`; - return `${year}-${month}-${day}`;
+ return `${year}/${month}/${day}`; + return `${year}/${month}/${day}`;
} }
```
### OUTPUT: ### OUTPUT:
```
fix(date-formatter): change date format separator from hyphen to slash fix(date-formatter): change date format separator from hyphen to slash
- Modified `formatDate()` to use '/' instead of '-' as the separator - Modified `formatDate()` to use '/' instead of '-' as the separator
```
### INPUT: ### INPUT:
```diff
diff --git a/src/components/Button.js b/src/components/Button.js diff --git a/src/components/Button.js b/src/components/Button.js
index 7890123..8901234 100644 index 7890123..8901234 100644
--- a/src/components/Button.js --- a/src/components/Button.js
@ -91,20 +86,16 @@ roles = ''
- return <button className="button" onClick={onClick}>{label}</button>; - return <button className="button" onClick={onClick}>{label}</button>;
+ return <button className={styles.button} onClick={onClick}>{label}</button>; + return <button className={styles.button} onClick={onClick}>{label}</button>;
}; };
```
### OUTPUT: ### OUTPUT:
```
refactor(Button): migrate to CSS modules refactor(Button): migrate to CSS modules
- Replaced import of Button.css with Button.module.css - Replaced import of Button.css with Button.module.css
- Updated className to use styles object for better encapsulation - Updated className to use styles object for better encapsulation
```
### INPUT: ### INPUT:
```
diff --git a/src/app.js b/src/app.js diff --git a/src/app.js b/src/app.js
index 83d2e7a..b6a1c3f 100644 index 83d2e7a..b6a1c3f 100644
--- a/src/app.js --- a/src/app.js
@ -136,7 +127,6 @@ roles = ''
### OUTPUT: ### OUTPUT:
```
feat(app): implement form event listeners feat(app): implement form event listeners
- Added `setupEventListeners()` to handle form interactions - Added `setupEventListeners()` to handle form interactions
@ -161,7 +151,6 @@ roles = ''
### OUTPUT: ### OUTPUT:
fix (cicd): Modified `prep_go` function to use `go mod download` instead of `go download` fix (cicd): Modified `prep_go` function to use `go mod download` instead of `go download`
```
- name: createpr - name: createpr
prompt: |- prompt: |-