-
Notifications
You must be signed in to change notification settings - Fork 0
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
ShlomiShitrit/issue15 - Add Description #28
Conversation
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.
Melech
src/app/components/Header/Header.tsx
Outdated
|
||
const rows: generalObject<strOrNum>[] = []; | ||
|
||
[0, 1, 2, 3, 4].forEach((index) => { |
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.
Something is not elegant here? Why not iterate the column instead of [0...5]?
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.
fixed
{text} | ||
</Typography> | ||
<Box component="div" sx={styles.buttonContainer}> | ||
<Button |
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 saving components like that in another element; if you have several buttons you use and set all the parameters every time, it is a way for the typo that can harm consistency in the UI. Still, If you create and use a custom button with all the attributes, you fix it. Don't do that now, but it opens an issue with low priority for generalise ui components like the button.
src/app/components/Header/Header.tsx
Outdated
sx={styles.dataButton} | ||
onClick={() => setOpenData(true)} | ||
> | ||
Display Data Sample |
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.
In Resources
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.
Done
src/app/components/Header/Header.tsx
Outdated
sx={styles.attributeButton} | ||
onClick={() => setOpenAttribute(true)} | ||
> | ||
Display Attributes |
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.
in resources
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.
Done
src/app/components/Table/Table.tsx
Outdated
<TableRow | ||
key={index} | ||
sx={{ | ||
"&:last-child td, &:last-child th": { |
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.
why not in style.ts file?
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.
Done
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success26 tests passing in 8 suites. Report generated by 🧪jest coverage report action from 7728a5b |
Fixes #15
Images: