-
Notifications
You must be signed in to change notification settings - Fork 421
RI-7767: custom tutorials form alignment #5300
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
Merged
dantovska
merged 15 commits into
main
from
fe/bugfix/RI-7767/custom-tutorials-buttons-alignment
Dec 5, 2025
Merged
Changes from 11 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
2a91547
fix(ui): improve custom tutorials UX and button alignment
dantovska c00bbf6
docs: update PR plan to reflect bug fix nature
dantovska bc0c0c6
chore: remove PR plan document
dantovska 51f9c4f
docs: clarify fe/bugfix prefix for UI-only bug fixes
dantovska 3871133
fix(ui): darken form border to match accordion border
dantovska 4e20267
test(ui): remove WelcomeMyTutorials tests and update empty state test
dantovska 28801ea
fix(ui): hide + button when no custom tutorials exist
dantovska 63f1d9b
refactor(ui): extract group header button styles to styled component
dantovska 22902f3
refactor(ui): apply import pattern rule for UploadTutorialForm styled…
dantovska 3a21501
refactor(ui): create local styles file for DeleteTutorialButton
dantovska 8855fff
docs: add rule for import * as S pattern reserved for local styles only
dantovska 388984b
refactor(ui): move onboarding tour from + button to Add new tutorial …
dantovska cd9219b
refactor(ui): use theme spacing for GroupHeaderButton dimensions
dantovska c0c7f2c
fix(ui): auto-open form when onboarding tour is triggered
dantovska 526618b
fix(ui): prevent event propagation in DeleteTutorialButton click handler
valkirilov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...lement-area/EnablementArea/components/DeleteTutorialButton/DeleteTutorialButton.styles.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| export { GroupHeaderButton } from '../Group/Group.styles' | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...onents/side-panels/panels/enablement-area/EnablementArea/components/Group/Group.styles.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| import React from 'react' | ||
| import styled from 'styled-components' | ||
| import { Theme } from 'uiSrc/components/base/theme/types' | ||
|
|
||
| export const GroupHeaderButton = styled.div< | ||
| React.HTMLAttributes<HTMLDivElement> | ||
| >` | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| width: 24px; | ||
| height: 24px; | ||
KrumTy marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| border-radius: ${({ theme }: { theme: Theme }) => theme.core.space.space050}; | ||
| cursor: pointer; | ||
| &:hover { | ||
| color: ${({ theme }: { theme: Theme }) => | ||
| theme.semantic.color.text.neutral100}; | ||
| background-color: ${({ theme }: { theme: Theme }) => | ||
| theme.semantic.color.background.neutral200}; | ||
| } | ||
| ` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...enablement-area/EnablementArea/components/UploadTutorialForm/UploadTutorialForm.styles.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import React from 'react' | ||
| import styled from 'styled-components' | ||
| import { Theme } from 'uiSrc/components/base/theme/types' | ||
|
|
||
| export const Wrapper = styled.div<React.HTMLAttributes<HTMLDivElement>>` | ||
| border: 1px solid | ||
| ${({ theme }: { theme: Theme }) => theme.semantic.color.border.neutral600}; | ||
| border-radius: ${({ theme }: { theme: Theme }) => | ||
| theme.components.card.borderRadius}; | ||
| padding: ${({ theme }: { theme: Theme }) => theme.core.space.space200}; | ||
| ` |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
nit: We can use our layout components
Row/Col/FlexGroupinstead of a regulardivand passalign/justifyinstead of declaring them here.