Skip to content

ATLAS-5045: [React UI] Adding detail page view for Glossary#363

Open
Brijesh619 wants to merge 1 commit into
apache:masterfrom
Brijesh619:ATLAS-5045
Open

ATLAS-5045: [React UI] Adding detail page view for Glossary#363
Brijesh619 wants to merge 1 commit into
apache:masterfrom
Brijesh619:ATLAS-5045

Conversation

@Brijesh619

@Brijesh619 Brijesh619 commented May 27, 2025

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

(ATLAS-5045 - [React UI] Adding detail page view for Glossary)

Currently, there is no detail view for the root Glossary entity like we have for Terms and Categories. This PR introduces a dedicated Glossary detail view. Additionally, this PR addresses several functional UI bugs within the Glossary module—specifically stabilizing the rich text editor—and resolves underlying test environment errors to improve the developer experience.

Glossary Editor & Form Fixes

ReactQuill "Zombie" Toolbar Bug: Fixed an issue where the rich text editor's formatting buttons (bold, italics, links, etc.) were completely unresponsive. This was resolved by updating the CSS to properly hide duplicate toolbars generated by React's StrictMode, ensuring only the active toolbar is visible and interactive.
Modal Focus Trap Bug: Resolved an issue where users were blocked from interacting with the text editor's tooltips and dropdowns (such as the "Insert Link" input). Disabled the Material-UI Modal's strict focus trap to allow seamless interaction with the editor's popups.
Form Data Hydration: Fixed a bug where the existing longDescription of a Glossary Term was failing to pre-fill into the text editor when opening the form to edit the entity.
State Mutations & Infinite Re-renders: Stabilized the React Hook Form state management to eliminate redundant value mutations and unnecessary re-renders when typing in the text editor.
General UI & Navigation Fixes
Missing Update Button: Restored the missing "Edit/Update" pencil icon on the main Glossary Detail Page so users can modify root glossaries just like they can with terms and categories.
Instant State Syncing: Fixed an issue where the interface did not update after creating or editing a Glossary, Category, or Term. The application now instantly fetches and displays the latest data upon a successful form submission without requiring a manual page refresh.
Navigation URL Bug: Resolved a routing issue that caused the @glossary suffix to be appended multiple times to the URL search parameters during navigation.
Sidebar Tree Crashes: Prevented the Glossary sidebar tree view from crashing by implementing deduplication logic, ensuring stable rendering even if duplicate node IDs are returned.

Test & Environment Fixes
IDE Module Resolution: Resolved widespread "module not found" errors in the test suite so developers no longer see false-positive path alias errors in their editors.
TypeScript Strictness: Fixed multiple strict-mode compilation errors across the testing environment (including spread parameter tuples, implicit scoping, and mocked argument definitions) to ensure the test suite is 100% compliant with the project's strict TypeScript constraints.

How was this patch tested?

manual tests
maven build

@Brijesh619

Copy link
Copy Markdown
Contributor Author
Glossary_Detail_View_Page

@Brijesh619

Copy link
Copy Markdown
Contributor Author
Screenshot from 2026-06-16 18-34-41

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