-
Notifications
You must be signed in to change notification settings - Fork 0
feat(meeting): refactor meeting module and update environment config #86
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
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
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
71 changes: 71 additions & 0 deletions
71
apps/lfx-pcc/src/app/modules/meeting/meeting-not-found/meeting-not-found.component.html
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,71 @@ | ||
| <!-- Copyright The Linux Foundation and each contributor to LFX. --> | ||
| <!-- SPDX-License-Identifier: MIT --> | ||
|
|
||
| <div class="bg-gray-50"> | ||
| <!-- Main Content --> | ||
| <div class="container mx-auto py-6 px-8"> | ||
| <div class="max-w-4xl mx-auto"> | ||
| <!-- Meeting Not Found Card --> | ||
| <lfx-card class="mb-6" data-testid="meeting-not-found-card"> | ||
| <div class="text-center py-12"> | ||
| <!-- Error Icon --> | ||
| <div class="flex justify-center mb-6"> | ||
| <div class="w-24 h-24 bg-gray-100 rounded-full flex items-center justify-center"> | ||
| <i class="fa-light fa-calendar-xmark text-4xl text-gray-400"></i> | ||
| </div> | ||
| </div> | ||
|
|
||
| <!-- Error Message --> | ||
| <h1 class="text-2xl font-display font-semibold text-gray-900 mb-3" data-testid="error-title">Meeting Not Found</h1> | ||
|
|
||
| <p class="text-gray-600 mb-6 max-w-lg mx-auto" data-testid="error-description"> | ||
| We couldn't find the meeting you're looking for. This might happen for several reasons. | ||
| </p> | ||
|
|
||
| <!-- Possible Reasons --> | ||
| <div class="bg-gray-50 rounded-lg p-6 mb-8 text-left max-w-lg mx-auto"> | ||
| <h3 class="text-sm font-medium text-gray-700 mb-3">Possible reasons:</h3> | ||
| <ul class="text-sm text-gray-600 space-y-2"> | ||
| <li class="flex items-start gap-2"> | ||
| <i class="fa-light fa-circle-dot text-gray-400 mt-1 text-xs"></i> | ||
| <span>The meeting link has expired or is no longer valid</span> | ||
| </li> | ||
| <li class="flex items-start gap-2"> | ||
| <i class="fa-light fa-circle-dot text-gray-400 mt-1 text-xs"></i> | ||
| <span>The meeting has been deleted or cancelled</span> | ||
| </li> | ||
| <li class="flex items-start gap-2"> | ||
| <i class="fa-light fa-circle-dot text-gray-400 mt-1 text-xs"></i> | ||
| <span>You may need the correct password to access this meeting</span> | ||
| </li> | ||
| <li class="flex items-start gap-2"> | ||
| <i class="fa-light fa-circle-dot text-gray-400 mt-1 text-xs"></i> | ||
| <span>The meeting URL may contain a typo</span> | ||
| </li> | ||
| </ul> | ||
| </div> | ||
|
|
||
| <!-- Action Buttons --> | ||
| <div class="flex sm:items-centerflex-col sm:flex-row gap-6 justify-center"> | ||
| <lfx-button routerLink="/" class="flex items-center" size="small" data-testid="go-home-button"> | ||
| <i class="fa-light fa-home mr-2"></i> | ||
| <span>Go to Projects Dashboard</span> | ||
| </lfx-button> | ||
|
|
||
| <lfx-button | ||
| [href]="supportUrl" | ||
| class="flex items-center" | ||
| target="_blank" | ||
| rel="noopener noreferrer" | ||
| data-testid="contact-support-button" | ||
| icon="fa-light fa-life-ring" | ||
| label="Contact Support" | ||
| size="small" | ||
| severity="secondary"> | ||
| </lfx-button> | ||
| </div> | ||
| </div> | ||
| </lfx-card> | ||
| </div> | ||
| </div> | ||
| </div> |
19 changes: 19 additions & 0 deletions
19
apps/lfx-pcc/src/app/modules/meeting/meeting-not-found/meeting-not-found.component.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,19 @@ | ||
| // Copyright The Linux Foundation and each contributor to LFX. | ||
| // SPDX-License-Identifier: MIT | ||
|
|
||
| import { CommonModule } from '@angular/common'; | ||
| import { Component } from '@angular/core'; | ||
| import { RouterLink } from '@angular/router'; | ||
| import { ButtonComponent } from '@components/button/button.component'; | ||
| import { CardComponent } from '@components/card/card.component'; | ||
| import { environment } from '@environments/environment'; | ||
|
|
||
| @Component({ | ||
| selector: 'lfx-meeting-not-found', | ||
| standalone: true, | ||
| imports: [CommonModule, RouterLink, ButtonComponent, CardComponent], | ||
| templateUrl: './meeting-not-found.component.html', | ||
| }) | ||
| export class MeetingNotFoundComponent { | ||
| public readonly supportUrl = environment.urls.support || 'mailto:[email protected]'; | ||
| } |
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,15 @@ | ||
| // Copyright The Linux Foundation and each contributor to LFX. | ||
| // SPDX-License-Identifier: MIT | ||
|
|
||
| import { Routes } from '@angular/router'; | ||
|
|
||
| export const MEETING_ROUTES: Routes = [ | ||
| { | ||
| path: 'not-found', | ||
| loadComponent: () => import('./meeting-not-found/meeting-not-found.component').then((m) => m.MeetingNotFoundComponent), | ||
| }, | ||
| { | ||
| path: ':id', | ||
| loadComponent: () => import('./meeting-join/meeting-join.component').then((m) => m.MeetingJoinComponent), | ||
| }, | ||
| ]; |
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.