-
-
Notifications
You must be signed in to change notification settings - Fork 18
Ai chat #1500
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
Merged
Ai chat #1500
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
2353215
feat: enhance AI panel with responsive layout, dynamic suggestions, a…
karinakharchenko 0a4adbf
feat: add expand/collapse functionality to AI panel
karinakharchenko d0362dd
fix: hide AI panel from DOM when closed
karinakharchenko 8bf4097
fix: improve AI panel positioning and z-index handling
karinakharchenko 74e2795
fix: improve AI panel expanded layout and sidebar interaction
karinakharchenko 74f2388
feat: adapt AI panel expanded width based on sidebar state
karinakharchenko 354c074
feat: improve AI panel header in expanded mode
karinakharchenko 8c2845d
feat: improve AI panel animations with smoother transitions
karinakharchenko db11937
feat: move AI insights button to far right and improve animations
karinakharchenko 99dfdef
fix: prevent table from showing during AI panel expand/collapse
karinakharchenko 2143317
fix: improve AI panel animations and prevent table visibility
karinakharchenko 0325717
fix: make AI panel expand/collapse instant to prevent table flickering
karinakharchenko cb2ddf3
fix: improve AI panel expand/collapse animations and z-index
karinakharchenko 12527ff
fix: improve AI panel styles and always open in small view
karinakharchenko 867e153
feat: add onSuggestionClick method for AI panel suggestions
karinakharchenko 72bed7a
Merge branch 'main' into ai
lyubov-voloshko 713b7e5
ai requests: update request url
lyubov-voloshko e45c991
Merge branch 'ai' of https://github.com/karinakharchenko/rocketadmin …
lyubov-voloshko 64b5de3
feat: redesign AI panel welcome screen with categorized suggestions
karinakharchenko 78b2791
feat: improve AI panel UX with animations and loading states
karinakharchenko ab5c1f1
Merge branch 'rocket-admin:main' into ai
karinakharchenko de7c76c
feat: improve AI panel suggestion interaction
karinakharchenko 575752b
Merge branch 'main' into ai
lyubov-voloshko 9046061
ai chat: fix suggestions titles margin
lyubov-voloshko 7b9cb6e
Merge branch 'main' into ai
lyubov-voloshko e84d6c7
fix unit tests
lyubov-voloshko 752656e
Merge branch 'ai' of https://github.com/karinakharchenko/rocketadmin …
lyubov-voloshko 25fe7fb
Merge branch 'main' into ai
lyubov-voloshko 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| import { | ||
| trigger, | ||
| transition, | ||
| style, | ||
| animate, | ||
| query, | ||
| group, | ||
| } from '@angular/animations'; | ||
|
|
||
| const easing = 'cubic-bezier(0.4, 0.0, 0.2, 1)'; | ||
| const duration = '600ms'; | ||
|
|
||
| export const toggleAnimation = trigger('toggle', [ | ||
| transition(':enter', [ | ||
| style({ height: 0, opacity: 0 }), | ||
| query('.details', [ | ||
| style({ transform: 'translateY(-100%)' }) | ||
| ], { optional: true }), | ||
| group([ | ||
| animate(`${duration} ${easing}`, style({ height: '*', opacity: 1 })), | ||
| query('.details', [ | ||
| animate(`${duration} ${easing}`, style({ transform: 'translateY(0)' })) | ||
| ], { optional: true }) | ||
| ]) | ||
| ]), | ||
| transition(':leave', [ | ||
| style({ height: '*', opacity: 1 }), | ||
| query('.details', [ | ||
| style({ transform: 'translateY(0)' }) | ||
| ], { optional: true }), | ||
| group([ | ||
| animate(`${duration} ${easing}`, style({ height: 0, opacity: 0 })), | ||
| query('.details', [ | ||
| animate(`${duration} ${easing}`, style({ transform: 'translateY(-100%)' })) | ||
| ], { optional: true }) | ||
| ]) | ||
| ]) | ||
| ]); | ||
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
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.
toggleAnimationis introduced as a new exported animation, but there are no references to it anywhere else in the frontend codebase. If it’s not intended for immediate use, it should be removed; otherwise, please wire it into the component(s) that need it to avoid carrying dead code (and to prevent unused-export tooling from flagging it).