Skip to content

ATLAS-5349: Ability to Export Apache Atlas Business Glossary to Excel/CSV from UI - #726

Merged
pawarprasad123 merged 2 commits into
masterfrom
ATLAS-5349
Aug 13, 2026
Merged

ATLAS-5349: Ability to Export Apache Atlas Business Glossary to Excel/CSV from UI#726
pawarprasad123 merged 2 commits into
masterfrom
ATLAS-5349

Conversation

@pawarprasad123

@pawarprasad123 pawarprasad123 commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This PR adds Glossary Terms & Categories list export (CSV/XLSX) on React (v3) and Classic (v2), integrates async exports into the header download panel, and fixes several glossary navigation and download UX issues on both UIs.

Automated tests: 399/399 pass

Glossary terms list & export

New Glossary Terms & Categories page on React (GlossaryTermsListPage) and Classic (GlossaryTermsListLayoutView)
Download dropdown (CSV / XLSX) enqueues async export via POST /v2/glossary/create_file
Export uses the same filter body as the table search
Status column with GlossaryStatusBadge (Active / Draft / Deprecated)
Glossary export navigation moved to sidebar ⋮ menu (removed header glossary list icon)

Header download panel (React + Classic)

Merges search + glossary download records, dedupes by filename, sorts newest first
Toggle: ON (default) = all files (pending + completed); OFF = completed only
State-based tooltips for toggle
Pending rows show spinner; completed rows show download action
Removed per-file source labels (Glossary export / Search export)
Classic: panel closes on outside click (search, page content)
Classic: filename ↔ icon spacing aligned with React (gap: 16px)
Classic: renamed showCompletedDownloads → showAllDownloads (matches React semantics)
Empty state moved from inline styles to .download-list-empty SCSS class

Sidebar & import

Import Glossary Term and Download Import template always enabled (React + Classic)
React import success triggers glossary sidebar refresh via ImportDialog.onImportSuccess

Classic glossary fixes

Term name links use correct gType/gId query params (fixes category API 400 on term click)
Classifications column editable (add/remove tags)
Terms-list URL stability on refresh/tree load
Terms-list refresh + Download actions aligned horizontally

Code coverage (PR-changed React files)

  • Statements - 98.61%
  • Branches - 88.02%
  • Functions- 92.37%
  • Lines - 98.61%

Over all coverage on react ui:

  • Statements - 85.75% (46,451 / 54,168)
  • Branches - 82.00% (6,965 / 8,493)
  • Functions- 80.02% (1,274 / 1,592)
  • Lines- 85.75% (46,451 / 54,168)

Test run: 189 suites, 4,790 tests — all passed (≈175s)

How was this patch tested?

Manual on Both UI
and Automated react

cd dashboard
npm run lint          # 0 errors
npm run build         # pass
npm test -- --watchAll=false \
  --testPathPattern="GlossaryTermsListPage|downloadRecords|Header.test|ImportDialog|SideBarTree|glossaryExport|glossaryStatus|GlossaryStatusBadge|glossaryTermsListColumns|glossaryApiMethod|glossaryUrl"
# Result: 399/399 pass

Test plan

  • Lint passes (0 errors)
  • Build passes
  • 399 automated tests pass
  • Code coverage ≥ 98% statements on changed React files
  • Classic manual (download panel, terms-list export, sidebar import)
  • React manual (download panel, terms-list export, import refresh)
Screenshot 2026-08-12 at 6 17 59 PM Screenshot 2026-08-12 at 6 18 16 PM Screenshot 2026-08-12 at 6 19 06 PM Screenshot 2026-08-12 at 6 19 28 PM Screenshot 2026-08-12 at 6 21 04 PM Screenshot 2026-08-12 at 7 21 50 PM Screenshot 2026-08-12 at 7 22 22 PM

@pawarprasad123
pawarprasad123 force-pushed the ATLAS-5349 branch 2 times, most recently from a84d22b to 277a726 Compare August 12, 2026 13:14

@farhank31 farhank31 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 👍

@pawarprasad123
pawarprasad123 merged commit c8229c4 into master Aug 13, 2026
4 checks passed
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.

3 participants