-
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
WIP: feat(Settings): added settings layout comp #77
Conversation
Fixed design on general settings
add list component of option viewsbackoffice/src/modules/settings/components/LayoutSettings.tsx Lines 7 to 12 in ab06f82
This comment was generated by todo based on a
|
add children components for option view. Do it need to be in kti project?backoffice/src/modules/settings/components/LayoutSettings.tsx Lines 8 to 13 in ab06f82
This comment was generated by todo based on a
|
make methods optionallybackoffice/src/modules/settings/components/LayoutSettings.tsx Lines 9 to 14 in ab06f82
This comment was generated by todo based on a
|
👍 |
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.
Left a few comments, but this looks good to me :)
@@ -35,14 +42,27 @@ const Header: React.FC<HeaderProps> = ({ children, links = [] }) => { | |||
to={link.to} | |||
key={i} | |||
activeStyle={{ | |||
color: '#1D1D1D', |
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.
Should this be added to theme.colors
maybe? Maybe you can decide, @AnneMatilde?
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 replace the color #1D1D1D with #1B202E.
<OptionView | ||
completedText="Valgt" | ||
contentName="IBM Plex Sans + IBM Plex Serif" | ||
loadingText="Bruk" | ||
onPreviewClick={handleFontPreview} | ||
onSelectClick={handleFontChoose} | ||
previewText="Forhåndsvis" | ||
> | ||
<></> | ||
</OptionView> | ||
<OptionView | ||
completedText="Valgt" | ||
contentName="IBM Plex Sans + IBM Plex Serif" | ||
loadingText="Bruk" | ||
onPreviewClick={handleFontPreview} | ||
onSelectClick={handleFontChoose} | ||
previewText="Forhåndsvis" | ||
> | ||
<></> | ||
</OptionView> | ||
<OptionView | ||
completedText="Valgt" | ||
contentName="Work Sans + Roboto" | ||
loadingText="Bruk" | ||
onPreviewClick={handleFontPreview} | ||
onSelectClick={handleFontChoose} | ||
previewText="Forhåndsvis" | ||
> |
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.
This should probably be a list that we can pull for the API. For now, we can add it as an array, but later @dem1k can add that to the backend, what do you say?
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.
I think the best option for this is create list component in Kit project, like we did with checkboxlist. I thinking about create an array which I will pass in parameters as a variant
@TanyaDolgopolova You can merge stuff on your own, when you've got the reviews you need :) |
Hi @TanyaDolgopolova! Have you finished with the design implementation for this? |
This is still in progress. I will add this list of views to the kit project and connect it to this component. For now I left it like that |
This is still WIP, correct? Can you add a |
It still in progress. I will add it |
This has become stale, closing it. Reopen if need be. 👍 |
Fixed design on general settings
Close #16
Close #55