-
Notifications
You must be signed in to change notification settings - Fork 0
pre match #22
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
base: master
Are you sure you want to change the base?
pre match #22
Conversation
| const Buttons: FC<{ | ||
| form: ScoutingForm; | ||
| setForm: Dispatch<SetStateAction<ScoutingForm>>; | ||
| }> = ({ form, setForm }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please consider using an interface for this
apps/scouting/frontend/src/hhh.tsx
Outdated
| <div | ||
| style={{ | ||
| display: "flex", | ||
| flexDirection: "column", | ||
| gap: "20px", | ||
| width: "700px", | ||
| }} | ||
| className="mx-auto my-auto" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider using one consistent for you styles (css/ style/ tailwind)
| min="0" | ||
| max="16383" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
magic numbers🫣
| const onScanFailure = (error: any) => { | ||
| // שגיאות סריקה רגילות (כשהמצלמה לא מוצאת קוד) - בד"כ מתעלמים | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider printing an error message to the console or putting some error message in red on the scouting screen
| @@ -0,0 +1,29 @@ | |||
| const Buttons = () => { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Buttons: FC
| <div style={styles.container}> | ||
| <input type="text" placeholder="טקסט 1" style={styles.input} /> | ||
| <input type="text" placeholder="טקסט 2" style={styles.input} /> | ||
| <input type="text" placeholder="טקסט 3" style={styles.input} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please write this in English
| border: "2px solid #22c55e", // ירוק | ||
| backgroundColor: "#000", // שחור |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove these comments
| @@ -0,0 +1,29 @@ | |||
| const Buttons = () => { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider removing the changes from the template
| @@ -0,0 +1,31 @@ | |||
| const Buttons = () => { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider removing the changes from the template
ae60d2e to
5cfcf20
Compare
No description provided.