Skip to content

Conversation

@Rolph1
Copy link
Contributor

@Rolph1 Rolph1 commented Dec 20, 2024

In short:

This PR significantly enhances the user interface and offline mode screen logic to have an overall better user experience. It finalizes the offline mode by adding dynamic screen changes along with definitive tests.

Files modified:

-OfflineInterviewModule, OfflineInterviewModuleTest: Fixed the colors to match the theme and added a new box containing what part of the interview the interviewer should focus on.

-OfflineRecordingsProfile: is now cleaner and adapts to dark mode

-PreviousRecordingsFeedback, PreviousRecordingsFeedbackTest: is now cleaner, adapts to dark mode, contains what the user said and updates as soon as the GPT response is received by polling the cache.
WhatsApp Image 2024-12-20 at 01 34 03
WhatsApp Image 2024-12-20 at 01 34 13

-OfflinePromptsFunctions: Are now adapted to all the other screens' logic needs

-RecordingReviewScreen: Now adapts to dark mode

  • LeaderBoard: there was a typo in the parameters

  • SpeakingViewModel, ChatViewModel: the prompts are now adapted to ask GPT to mention the part of the interview to focus on

  • OfflineRecordingScreenTest,OfflineRecordingScreen

-, MainActivity, Theme: A few themes have been added for the previous interview prompt cards' needs. MainActivity has been changed to adapt to the new parameters too.

Files deleted:

-OfflinePracticeQuestionsScreen, OfflinePracticeQuestionsScreenTest: These files are now redundant because of the outlined text box in OfflineInterviewModule which now include the question.

In conclusion:

This PR heavily augments the offline mode to be a fully fledged finalized feature that works very well and is reactive, a lot of bugs and inconsistencies have been fixed too. Tests are not all that thorough mostly because of multithreading to poll the cache to update the feedback screen as soon as a response has been added.

@Rolph1 Rolph1 force-pushed the ui/offline-mode-ui branch from 6c753f6 to 4c3976c Compare December 20, 2024 05:27
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
54.03% Line Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Copy link
Contributor

@MathisHage MathisHage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes introduced fix a similar old unmerged PR discarded because of heavy version control issues. This has hence almost entirely already been reviewed previously (#348).

@Rolph1 Rolph1 merged commit ae9a103 into main Dec 20, 2024
2 of 3 checks passed
@Rolph1 Rolph1 self-assigned this Dec 20, 2024
@Rolph1 Rolph1 added the enhancement New feature or request label Dec 20, 2024
@Rolph1 Rolph1 added this to the M3 milestone Dec 20, 2024
This was linked to issues Dec 20, 2024
@Rolph1 Rolph1 deleted the ui/offline-mode-ui branch December 20, 2024 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix offline mode UI git glitch Fix offline mode UI

4 participants