-
Notifications
You must be signed in to change notification settings - Fork 15
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
Chore: Knowledge UI revamp #450
Chore: Knowledge UI revamp #450
Conversation
53c33af
to
ca023c7
Compare
Signed-off-by: Daishan Peng <[email protected]>
ca023c7
to
483c85e
Compare
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.
did you reset the button component here?
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.
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 like the addition of the classes there, but can you add [&_svg]:size-6
to the size.icon
variant?
@@ -242,7 +235,6 @@ export function CustomOAuthAppForm({ | |||
</Button> | |||
|
|||
<Button | |||
loading={isLoading} |
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 did this get removed?
const [isOpen, setIsOpen] = useState(false); | ||
const [oauthUrl, setOauthUrl] = useState(""); |
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.
shouldn't need 2 sets of state here.
const [oauthUrl, setOauthUrl] = useState("");
const isOpen = !!oauthUrl
const onClose = () => setOauthUrl("")
should cover all your bases here
Make Knowledge UI great again.