Skip to content

[Studio] Load producer topics after mount - #592

Closed
Aias00 wants to merge 1 commit into
apache:rocketmq-studiofrom
Aias00:fix/studio-producer-topic-effect
Closed

[Studio] Load producer topics after mount#592
Aias00 wants to merge 1 commit into
apache:rocketmq-studiofrom
Aias00:fix/studio-producer-topic-effect

Conversation

@Aias00

@Aias00 Aias00 commented Jul 25, 2026

Copy link
Copy Markdown

Summary

  • move Producer topic initialization out of render and into a mount effect
  • guard async topic loading so it does not update state after unmount
  • add Producer page coverage for loading API-backed topic options

Scope

  • RocketMQ Studio contest track 1 / BASE-01 client and producer connection management UX

Tests

  • npm test -- src/pages/studio/tests/Producer.test.tsx
  • npm run lint (passes with existing fast-refresh warnings outside this change)
  • npm run build

Copilot AI review requested due to automatic review settings July 25, 2026 15:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Aias00

Aias00 commented Jul 27, 2026

Copy link
Copy Markdown
Author

Superseded by #638. Consolidated with related page mount-loading changes to reduce review overhead while preserving the same scoped fixes and tests.

@Aias00 Aias00 closed this Jul 27, 2026
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.

2 participants