-
-
Notifications
You must be signed in to change notification settings - Fork 18
connections: mobile tune-up + unified Add menu, support chat in account menu #1794
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
base: main
Are you sure you want to change the base?
Changes from all commits
c8b35d7
6e540e1
3ab5af2
60cb632
0fd0a0a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -4,6 +4,14 @@ | |||||||||||||||||||||||
| width: 100%; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| @media (width <= 600px) { | ||||||||||||||||||||||||
| :host h1.mat-display-1 { | ||||||||||||||||||||||||
| font-size: 22px !important; | ||||||||||||||||||||||||
| line-height: 1.2 !important; | ||||||||||||||||||||||||
| margin-bottom: 20px; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| .section__label { | ||||||||||||||||||||||||
| display: block; | ||||||||||||||||||||||||
| font-size: 11px; | ||||||||||||||||||||||||
|
|
@@ -17,11 +25,18 @@ | |||||||||||||||||||||||
| .demoGrid { | ||||||||||||||||||||||||
| list-style: none; | ||||||||||||||||||||||||
| display: grid; | ||||||||||||||||||||||||
| grid-template-columns: repeat(3, 1fr); | ||||||||||||||||||||||||
| grid-template-columns: repeat(3, minmax(0, 1fr)); | ||||||||||||||||||||||||
| gap: 12px; | ||||||||||||||||||||||||
| width: 100%; | ||||||||||||||||||||||||
| padding: 0; | ||||||||||||||||||||||||
| margin: 0; | ||||||||||||||||||||||||
| align-items: stretch; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| @media (601px <= width <= 1024px) { | ||||||||||||||||||||||||
| .demoGrid { | ||||||||||||||||||||||||
| grid-template-columns: repeat(2, minmax(0, 1fr)); | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| @media (width <= 600px) { | ||||||||||||||||||||||||
|
|
@@ -36,6 +51,7 @@ | |||||||||||||||||||||||
| gap: 12px; | ||||||||||||||||||||||||
| border-radius: 8px; | ||||||||||||||||||||||||
| padding: 12px 16px; | ||||||||||||||||||||||||
| height: 100%; | ||||||||||||||||||||||||
| text-decoration: none; | ||||||||||||||||||||||||
| color: inherit; | ||||||||||||||||||||||||
| transition: box-shadow 200ms, background 200ms, border 200ms; | ||||||||||||||||||||||||
|
|
@@ -102,6 +118,12 @@ | |||||||||||||||||||||||
| min-width: 0; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| .demoCard__info strong { | ||||||||||||||||||||||||
| overflow: hidden; | ||||||||||||||||||||||||
| text-overflow: ellipsis; | ||||||||||||||||||||||||
| white-space: nowrap; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
Comment on lines
+121
to
+125
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Line 121-125 likely won’t consistently truncate because Suggested fix .demoCard__info strong {
+ display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| .demoCard__type { | ||||||||||||||||||||||||
| font-size: 12px; | ||||||||||||||||||||||||
| margin-top: -2px; | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
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.
🧩 Analysis chain
🏁 Script executed:
Repository: rocket-admin/rocketadmin
Length of output: 384
🏁 Script executed:
Repository: rocket-admin/rocketadmin
Length of output: 96
🏁 Script executed:
Repository: rocket-admin/rocketadmin
Length of output: 718
🏁 Script executed:
Repository: rocket-admin/rocketadmin
Length of output: 667
🏁 Script executed:
Repository: rocket-admin/rocketadmin
Length of output: 930
Add explicit return type and error handling to
openSupportChat()The method lacks an explicit return type annotation and the external
window.Intercom('show')call is not wrapped in error handling. The Intercom widget may not be fully initialized, causing the call to fail silently.Proposed fix
Per coding guidelines: "Always add type annotations to function parameters and return types in TypeScript" and "Ensure all error handling is explicit - use try/catch blocks appropriately".
🤖 Prompt for AI Agents