Skip to content
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

Minor fixes for o3-form component #1855

Merged
merged 8 commits into from
Oct 28, 2024
Merged

Minor fixes for o3-form component #1855

merged 8 commits into from
Oct 28, 2024

Conversation

akomiqaia
Copy link
Contributor

Describe your changes

See commit below for changes

@akomiqaia akomiqaia requested a review from a team as a code owner October 23, 2024 15:53
@notlee notlee temporarily deployed to origami-webs-minor-fixe-pgowyv October 23, 2024 15:59 Inactive
Copy link
Contributor

@notlee notlee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work turning this around and great commits 💪 There's a couple of outstanding issues and a few extra small issues I spotted whilst reviewing this PR. I think they're probably small enough to be part of this PR, but feel free to make a note somewhere and either come back to those or make a ticket for later

checkboxLabel="Show Password"
/>
{!disabled && <a href="">Forgot password?</a>}
{!disabled && <a className='o3-typography-link' href="">Forgot password?</a>}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are multiple showPassword ids on the page which is causing some issues

sidebar:
badge:
text: WIP
variant: caution
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't select these examples, I think they're missing id/for attributes – is this a required property in TSX?

Screenshot 2024-10-23 at 17 12 19

@@ -72,11 +72,11 @@ const {sources} = Astro.props;
text-decoration-line: underline;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see there's no focus style here, all: unset; has removed it!

@@ -1,6 +1,10 @@
---
title: Error summary
description: The Error Summary appears on the top of a page after a user submits a form which generates an error.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've just noticed, there is no preview of this? I'm sure there was

{description}
</span>
)}
<legend className={labelClasses.join(' ')}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry another little unrelated issue 😅 I notice inputs are too small because they are not a child of .o3-grid which sets --o3-grid-columns-to-span-width (here). Shall we set a fallback size? Ben did the same for social sign in which is supported to align with forms.

Screenshot 2024-10-23 at 17 23 06

@akomiqaia akomiqaia temporarily deployed to origami-webs-minor-fixe-pgowyv October 25, 2024 15:35 Inactive
@akomiqaia akomiqaia merged commit 0f3f9da into main Oct 28, 2024
7 checks passed
@akomiqaia akomiqaia deleted the minor-fixes-for-site branch October 28, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants