Skip to content

fix(sandbox): some css updates#752

Merged
mfrancisc merged 3 commits into
redhat-developer:mainfrom
mfrancisc:cssupdates
May 12, 2025
Merged

fix(sandbox): some css updates#752
mfrancisc merged 3 commits into
redhat-developer:mainfrom
mfrancisc:cssupdates

Conversation

@mfrancisc
Copy link
Copy Markdown
Contributor

@rhdh-gh-app
Copy link
Copy Markdown

rhdh-gh-app Bot commented May 8, 2025

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-sandbox workspaces/sandbox/plugins/sandbox none v0.1.0

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 9, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

@mfrancisc mfrancisc merged commit c47f185 into redhat-developer:main May 12, 2025
8 of 9 checks passed
@mfrancisc mfrancisc deleted the cssupdates branch May 12, 2025 08:39
Copy link
Copy Markdown
Member

@Lucifergene Lucifergene left a comment

Choose a reason for hiding this comment

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

@mfrancisc I have reviewed this PR. Have put some comments.
You can update accordingly in ur new PR #765

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please revert this complete file. It will fix the regression

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please revert this complete file. It will fix the regression

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

why ? This fixes the problem with the cards breaking into two lines. See point 1 here:https://redhat-internal.slack.com/archives/C085PFGDLGY/p1746604014832279?thread_ts=1746541820.107489&cid=C085PFGDLGY

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The regression is already fixed with the change in #765 ( unit test is WIP so it catches regressions ).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Also changes in this file are not related to the issue with the header 😕

Comment on lines +143 to +145
throw new Error(
'Invalid phone number. Please verify the country code and number format, then try again.',
);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

if !response.ok, there can be other errors too apart from Invalid phone Number.
Therefore it would be good to add a condition to check that error?.message starts with Invalid phone number. Only then show the error message. Otherwise just throw error?.message.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

makes sense. Let me improve it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

<Link to="#" underline="none">
AAP documentation.
New to Ansible Automation Platform? Get up to speed with our{' '}
<Link to="http://red.ht/ansibledevsandboxpath" underline="none">
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for this!

elai-shalev pushed a commit to elai-shalev/rhdh-plugins that referenced this pull request Jan 21, 2026
* css updates
---------

Co-authored-by: Devtools <devtools@redhat.com>
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.

3 participants