-
Notifications
You must be signed in to change notification settings - Fork 0
fix: improve UI #24
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
fix: improve UI #24
Conversation
WalkthroughThe recent updates bring significant functional and structural enhancements to the project. Changes include transitioning from Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (7)
- apps/portal/src/app/features/file-processor/file-processor.component.scss (1 hunks)
- apps/portal/src/app/features/file.service.ts (1 hunks)
- apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.html (1 hunks)
- apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.scss (1 hunks)
- apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.ts (2 hunks)
- apps/portal/src/assets/i18n/en.json (1 hunks)
- apps/portal/src/index.html (1 hunks)
Files skipped from review due to trivial changes (3)
- apps/portal/src/app/features/file-processor/file-processor.component.scss
- apps/portal/src/assets/i18n/en.json
- apps/portal/src/index.html
Additional comments not posted (4)
apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.scss (1)
Line range hint
3-7
: Styling changes for.transcript-analyzer
look good.apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.html (1)
2-13
: The use of the PrimeNGp-fileUpload
component and the addition of the summarize button enhance the UI. Good job!apps/portal/src/app/features/file.service.ts (1)
19-19
: Switching fromlocalStorage
tosessionStorage
for storing job IDs is a good move to prevent the accumulation of old job IDs.Also applies to: 24-24
apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.ts (1)
28-32
: The simplification of theonFileSelected
method and the switch tosessionStorage
for storing job IDs are well-implemented. The error handling insummarizeTranscript
is also robust.Also applies to: 57-59
apps/portal/src/app/features/file-processor/file-processor.component.scss
Show resolved
Hide resolved
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.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (5)
- apps/portal/src/app/app.component.html (1 hunks)
- apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.html (1 hunks)
- apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.scss (1 hunks)
- apps/portal/src/assets/i18n/en.json (1 hunks)
- apps/portal/src/index.html (1 hunks)
Files skipped from review due to trivial changes (1)
- apps/portal/src/app/app.component.html
Files skipped from review as they are similar to previous changes (4)
- apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.html
- apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.scss
- apps/portal/src/assets/i18n/en.json
- apps/portal/src/index.html
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.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.scss (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.scss
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.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- .gitignore (1 hunks)
- apps/portal/src/app/features/file.service.ts (1 hunks)
- apps/portal/src/assets/i18n/en.json (1 hunks)
Files skipped from review due to trivial changes (1)
- .gitignore
Files skipped from review as they are similar to previous changes (2)
- apps/portal/src/app/features/file.service.ts
- apps/portal/src/assets/i18n/en.json
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.
Actionable comments posted: 1
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- apps/portal/src/app/features/file-processor/file-processor.component.ts (1 hunks)
- apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.html (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.html
apps/portal/src/app/features/file-processor/file-processor.component.ts
Outdated
Show resolved
Hide resolved
apps/portal/src/app/features/file-processor/file-processor.component.ts
Outdated
Show resolved
Hide resolved
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.
Actionable comments posted: 0
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.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (5)
- apps/api/src/jobs/consumers/summary/summary.consumer.ts (1 hunks)
- apps/api/src/modules/summary/summary.service.ts (2 hunks)
- apps/portal/src/app/features/file-processor/file-processor.component.ts (1 hunks)
- apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.html (1 hunks)
- apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.ts (1 hunks)
Files skipped from review as they are similar to previous changes (3)
- apps/portal/src/app/features/file-processor/file-processor.component.ts
- apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.html
- apps/portal/src/app/features/transcript-analyzer/transcript-analyzer.component.ts
Additional comments not posted (2)
apps/api/src/jobs/consumers/summary/summary.consumer.ts (1)
50-52
: Good addition of a fallback message for better error handling.apps/api/src/modules/summary/summary.service.ts (1)
39-46
: Good addition of a check foruploadDir
and ensuring the directory exists.
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.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- apps/api/.env.example (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- apps/api/.env.example
Portal PR Checklist
Pre-requisites
PR Details
PR details have been updated as per the given format (see below)
feat: add admin login page
)Additional Information
ready for review
should be added if the PR is ready to be reviewed)Description:
Did some changed in UI and used better components and styling, also added a title to page, and instead of local storage used session storage
Related changes:
Screenshots:
ui.mov
Pending actions:
N/A
Additional notes:
The reason for using session storage over local storage was that while I was continuously uploading files and then deleting them from the database for testing purposes, local storage was accumulating job IDs that had been deleted from the database. Additionally, since there is a limit of 10 in the status API for fetching statuses, the local storage, which includes old job IDs, makes it difficult to retrieve the status of recently uploaded files. Therefore, using session storage makes more sense in this scenario.
Summary by CodeRabbit
New Features
Improvements
localStorage
tosessionStorage
for improved session management.Bug Fixes
.md
.Configuration
.env.example
to6379
.Refactor