Skip to content

(chore) optimize dashboard interactions#531

Merged
Ammaar-Alam merged 2 commits into
masterfrom
chore/dashboard-render-optimization
May 7, 2026
Merged

(chore) optimize dashboard interactions#531
Ammaar-Alam merged 2 commits into
masterfrom
chore/dashboard-render-optimization

Conversation

@Ammaar-Alam
Copy link
Copy Markdown
Member

@Ammaar-Alam Ammaar-Alam commented May 1, 2026

What does this PR do?

  • Stabilizes draggable IDs so search and schedule items do not collide or churn across renders.
  • Avoids repeated DOM listener and popover rebinding when rendered content has not changed.
  • Reduces stale fetch/update behavior in the dashboard interaction loop.

Why?

The dashboard depends on drag-and-drop plus Bootstrap popovers. Rebinding those on every render is fragile, and unstable draggable IDs can cause confusing drag behavior as schedules and search results change.

How to test

  • Search for courses repeatedly and verify search result cards remain draggable.
  • Move courses around the plan and verify planned-course popovers still show the right content.
  • Confirm no duplicate warning or requirement refresh state gets stuck after quick edits.

Screenshots

Dashboard Visual Check

Dashboard visual check

Verification

  • frontend: Vite build passed as part of the dashboard stack.
  • Django tests passed locally: 19 passed.
  • Screenshot verification used localhost with DATABASE_URL=postgres:///tigerpath.

Note

This entire PR was automatically implemented, tested, and written by Codex.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2fcc0f8c94

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread frontend/src/utils/SemesterUtils.js Outdated
@Ammaar-Alam Ammaar-Alam changed the title Optimize dashboard drag and popover interactions (chore) optimize dashboard interactions May 1, 2026
@Ammaar-Alam
Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Ammaar-Alam Ammaar-Alam merged commit 9a11fef into master May 7, 2026
1 check passed
@Ammaar-Alam Ammaar-Alam deleted the chore/dashboard-render-optimization branch May 7, 2026 02:30
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.

1 participant