-
-
Notifications
You must be signed in to change notification settings - Fork 18
New alerts banners #1525
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
New alerts banners #1525
Changes from all commits
6a92833
e5d189a
c1686d3
b2188ed
92a42be
2499f92
2943ba7
19890cf
c880073
34f5ead
5d0b979
491f430
6ba7242
213e43c
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 |
|---|---|---|
| @@ -1,3 +1,11 @@ | ||
| :host app-alert:not(:empty) { | ||
| --alert-margin: 24px; | ||
|
|
||
| position: absolute; | ||
| top: var(--mat-toolbar-standard-height); | ||
| width: calc(100% - 48px); | ||
| } | ||
|
Comment on lines
+1
to
+7
|
||
|
|
||
| .wrapper { | ||
| display: flex; | ||
| flex-direction: column; | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,5 +1,9 @@ | ||||||
| :host app-alert:not(:empty) { | ||||||
|
||||||
| :host app-alert:not(:empty) { | |
| :host app-alert { |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,6 +1,10 @@ | ||||||
| :host app-alert:not(:empty) { | ||||||
|
||||||
| :host app-alert:not(:empty) { | |
| :host app-alert { |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,13 +1,14 @@ | ||||||
| .zapier-page { | ||||||
| padding: 32px max(calc(50vw - 325px), 10%); | ||||||
| :host app-alert:not(:empty) { | ||||||
|
||||||
| :host app-alert:not(:empty) { | |
| :host app-alert { |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,3 +1,7 @@ | ||||||
| :host app-alert:not(:empty) { | ||||||
|
||||||
| :host app-alert:not(:empty) { | |
| :host app-alert { |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -38,6 +38,11 @@ import { take } from 'rxjs/operators'; | |||||||||
| }) | ||||||||||
| export class ConnectionsListComponent implements OnInit { | ||||||||||
|
|
||||||||||
| public testAlert = { | ||||||||||
| type: 'info' as const, | ||||||||||
| message: 'These connections are for demonstration purposes only. To create your own connections, please use the "Add Connection" button above.', | ||||||||||
| }; | ||||||||||
|
|
||||||||||
|
Comment on lines
+41
to
+45
|
||||||||||
| public testAlert = { | |
| type: 'info' as const, | |
| message: 'These connections are for demonstration purposes only. To create your own connections, please use the "Add Connection" button above.', | |
| }; |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,7 +1,3 @@ | ||||||||||
| :host { | ||||||||||
| margin-bottom: -60px; | ||||||||||
| } | ||||||||||
|
|
||||||||||
| .mat-sidenav-container { | ||||||||||
| height: 100%; | ||||||||||
| /* height: calc(100vh - 56px); */ | ||||||||||
|
|
@@ -91,17 +87,13 @@ | |||||||||
| .alerts { | ||||||||||
| display: flex; | ||||||||||
| flex-direction: column; | ||||||||||
| gap: 8px; | ||||||||||
| margin-top: 24px; | ||||||||||
| margin-bottom: 16px; | ||||||||||
| } | ||||||||||
|
|
||||||||||
| .server-alert { | ||||||||||
| display: block; | ||||||||||
| margin-top: 24px; | ||||||||||
| } | ||||||||||
|
|
||||||||||
| .alerts:empty, | ||||||||||
| .server-alert:empty { | ||||||||||
| margin-top: 0; | ||||||||||
| .alerts app-alert { | ||||||||||
| position: initial; | ||||||||||
|
||||||||||
| position: initial; | |
| position: static !important; | |
| top: auto !important; | |
| margin: 0 !important; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,10 @@ | ||
| :host app-alert:not(:empty) { | ||
| --alert-margin: 0; | ||
|
|
||
| top: 0; | ||
| margin-bottom: 16px; | ||
| } | ||
|
Comment on lines
+1
to
+6
|
||
|
|
||
| .drawer { | ||
| height: 100%; | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,8 +1,12 @@ | ||||||
| :host app-alert:not(:empty) { | ||||||
|
||||||
| :host app-alert:not(:empty) { | |
| :host app-alert { |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,3 +1,7 @@ | ||||||
| :host app-alert:not(:empty) { | ||||||
|
||||||
| :host app-alert:not(:empty) { | |
| :host app-alert { |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -298,6 +298,10 @@ export class TablesDataSource implements DataSource<Object> { | |||||||||
| type: AlertType.Info, | ||||||||||
| message: 'Configure now to reveal advanced table functionality and features.', | ||||||||||
| actions: [ | ||||||||||
| // { | ||||||||||
| // type: AlertActionType.Button, | ||||||||||
| // caption: 'AI generate', | ||||||||||
| // }, | ||||||||||
|
Comment on lines
+301
to
+304
|
||||||||||
| // { | |
| // type: AlertActionType.Button, | |
| // caption: 'AI generate', | |
| // }, |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,14 +1,18 @@ | ||||||
| :host app-alert:not(:empty) { | ||||||
|
||||||
| :host app-alert:not(:empty) { | |
| :host app-alert { |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,11 @@ | ||
| :host app-alert:not(:empty) { | ||
| --alert-margin: 24px; | ||
|
|
||
| position: absolute; | ||
| top: var(--mat-toolbar-standard-height); | ||
| width: calc(100% - 48px); | ||
| } | ||
|
Comment on lines
+1
to
+7
|
||
|
|
||
| .wrapper { | ||
| display: flex; | ||
| flex-direction: column; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,11 @@ | ||
| :host app-alert:not(:empty) { | ||
| --alert-margin: 24px; | ||
|
|
||
| position: absolute; | ||
| top: var(--mat-toolbar-standard-height); | ||
| width: calc(100% - 48px); | ||
| } | ||
|
Comment on lines
+1
to
+7
|
||
|
|
||
| .loader { | ||
| display: flex; | ||
| align-items: center; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,11 @@ | ||
| :host app-alert:not(:empty) { | ||
| --alert-margin: 24px; | ||
|
|
||
| position: absolute; | ||
| top: var(--mat-toolbar-standard-height); | ||
| width: calc(100% - 48px); | ||
| } | ||
|
Comment on lines
+1
to
+7
|
||
|
|
||
| .wrapper { | ||
| height: calc(100vh - 56px); | ||
| padding: 16px; | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,3 +1,7 @@ | ||||||
| :host app-alert:not(:empty) { | ||||||
|
||||||
| :host app-alert:not(:empty) { | |
| :host app-alert { |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,11 @@ | ||
| :host app-alert:not(:empty) { | ||
| --alert-margin: 24px; | ||
|
|
||
| position: absolute; | ||
| top: var(--mat-toolbar-standard-height); | ||
| width: calc(100% - 48px); | ||
| } | ||
|
Comment on lines
+1
to
+7
|
||
|
|
||
| .wrapper { | ||
| display: flex; | ||
| flex-direction: column; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,11 @@ | ||
| :host app-alert:not(:empty) { | ||
| --alert-margin: 24px; | ||
|
|
||
| position: absolute; | ||
| top: var(--mat-toolbar-standard-height); | ||
| width: calc(100% - 48px); | ||
| } | ||
|
Comment on lines
+1
to
+7
|
||
|
|
||
| .wrapper { | ||
| display: flex; | ||
| flex-direction: column; | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,5 +1,9 @@ | ||||||
| :host app-alert:not(:empty) { | ||||||
|
||||||
| :host app-alert:not(:empty) { | |
| :host app-alert { |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -40,6 +40,11 @@ import plans from '../../consts/plans'; | |||||||||
| }) | ||||||||||
| export class PaymentFormComponent implements OnInit { | ||||||||||
|
|
||||||||||
| public testAlert = { | ||||||||||
| type: 'info' as const, | ||||||||||
| message: 'This is a demo alert for the payment form.' | ||||||||||
| }; | ||||||||||
|
|
||||||||||
|
Comment on lines
+43
to
+47
|
||||||||||
| public testAlert = { | |
| type: 'info' as const, | |
| message: 'This is a demo alert for the payment form.' | |
| }; |
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.
Commented-out CSS blocks were added (
.connection-name,.tab-icon). If these styles are no longer needed, please delete them entirely; if they are needed, keep them enabled and update as required. Leaving large commented sections in the main stylesheet makes future maintenance harder.