Skip to content

Frontend corrections: Fix job details display, file management bugs, and authentication state#9

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/fix-6
Draft

Frontend corrections: Fix job details display, file management bugs, and authentication state#9
Copilot wants to merge 3 commits intomainfrom
copilot/fix-6

Conversation

Copy link

Copilot AI commented Aug 4, 2025

This PR addresses multiple frontend issues to improve user experience and fix several bugs in the DECODE Cloud UserFrontend application.

Job Details Tree Improvements

Enhanced the job details display to show human-readable field names instead of technical snake_case/camelCase names. For example:

  • date_createdDate Created
  • applicationNameApplication Name
  • user_idUser Id

The prettification handles both snake_case and camelCase formats automatically.

Test Results

File Management Fixes

  • Folder creation timing: Added proper async/await handling to prevent errors when opening newly created folders too quickly
  • Directory rename preservation: Fixed bug where renaming a folder without trailing "/" would convert it to a file - the system now automatically preserves the directory nature by adding the implicit "/"
  • Navigation reset: Clicking "Files" or "Jobs" menu items now properly resets to the root state, reloading the page when already on that view

Authentication State Persistence

Fixed the bug where reloading the page on Files/Jobs views would incorrectly redirect to login even when the user was still authenticated. The application now properly restores authentication state on startup.

Job Submission Improvements

  • Environment dropdown: Fixed the "any" option value binding to prevent submission errors when switching between environment options
  • Directory-only selection: Modified config and data file selection to only show directories, preventing selection of individual files which could cause job configuration issues

All changes maintain backward compatibility and preserve existing functionality while addressing the reported issues with minimal code modifications.

Fixes #6.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI and others added 2 commits August 4, 2025 21:56
Co-authored-by: nolan1999 <54246789+nolan1999@users.noreply.github.com>
Co-authored-by: nolan1999 <54246789+nolan1999@users.noreply.github.com>
Copilot AI changed the title [WIP] Frontend corrections Frontend corrections: Fix job details display, file management bugs, and authentication state Aug 4, 2025
Copilot AI requested a review from nolan1999 August 4, 2025 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Frontend corrections

2 participants