[ 
https://issues.apache.org/jira/browse/ATLAS-5256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Prasad P. Pawar updated ATLAS-5256:
-----------------------------------
    Description: 
Implement a "+ Create" button in the header with a dropdown menu for creating 
Atlas metadata objects (Entity, Classification, Glossary, Business Metadata, 
Enum).

*Overview*
The Create button provides quick access to create different types of metadata 
without navigating through the administrator section. It appears in the top 
header bar next to other actions (Downloads, Statistics, User profile).

*UI Components*
 - Primary blue button with "+ Create" label
 - Chevron icon indicating dropdown
 - Dropdown menu with 5 options, each with an icon

 *Technical Implementation*
 - MUI Button (variant="contained", color="primary")
 - MUI Menu anchored to the button
 - Each MenuItem has icon + label
 - Modals for Entity, Classification, Glossary
 - Navigation for Business Metadata and Enum

*Acceptance Criteria*
 - Button visible in header on all applicable pages
 - [Dropdown opens on click
 - Dropdown closes on item selection or outside click
 - All 5 menu items render with correct icons
 - Keyboard accessible (aria-controls, aria-haspopup, aria-expanded)


----

1) Create Button - *Entity Option*
Create Entity option in the Create dropdown; opens Entity creation form in a 
modal.
- Menu item: "Entity" with CategoryIcon (triangle, square, circle)
- On click: closes dropdown, opens EntityForm modal
- EntityForm allows creating new entities (tables, columns, etc.) with type 
selection and attribute definition
 
Technical
- Component: EntityForm (modal)
- Handler: handleEntityClick → setEntityModal(true)
- data-cy: create-entity
 
 
2) Create Button - *Classification Option*
Create Classification option in the Create dropdown; opens Classification 
creation form in a modal.
- Menu item: "Classification" with LocalOfferIcon (tag)
- On click: closes dropdown, opens ClassificationForm modal
- ClassificationForm allows creating new classifications with attributes
 Technical
- Component: ClassificationForm (modal, isAdd=\{true})
- Handler: handleClassificationClick → setClassificationModal(true)
- data-cy: create-classification

3) Create Button - *Glossary Option*
Create Glossary option in the Create dropdown; opens Glossary creation form in 
a modal.
- Menu item: "Glossary" with MenuBookIcon (open book)
- On click: closes dropdown, opens AddUpdateGlossaryForm modal
- AddUpdateGlossaryForm allows creating new glossaries

Technical
- Component: AddUpdateGlossaryForm (modal, isAdd=\{true}, node=\{undefined})
- Handler: handleGlossaryClick → setGlossaryModal(true)
- data-cy: create-glossary

4) Create Button - *Business Metadata Option*
Create Business Metadata option in the Create dropdown; navigates to 
Administrator Business Metadata tab with create mode.
- Menu item: "Business Metadata" with BusinessCenterIcon (briefcase)
- On click: closes dropdown, navigates to 
/administrator?tabActive=businessMetadata&create=true
- Uses Administrator UI for Business Metadata creation (not a modal)

 Technical
- Navigation: pathname "/administrator", search 
"tabActive=businessMetadata&create=true"
- Handler: handleBusinessMetadataClick → navigate(...)
- data-cy: create-business-metadata

5) Create Button - *Enum Option*
Create Enum option in the Create dropdown; it navigates to Administrator Enum 
tab.
- Menu item: "Enum" with ListIcon (bulleted list)
- On click: closes dropdown, navigates to /administrator?tabActive=enum
- Uses Administrator UI for Enum creation
 
Technical
- Navigation: pathname "/administrator", search "tabActive=enum"
- Handler: handleEnumClick → navigate(...)
- data-cy: create-enum
 

  was:
Implement a "+ Create" button in the header with a dropdown menu for creating 
Atlas metadata objects (Entity, Classification, Glossary, Business Metadata, 
Enum).

*Overview*
The Create button provides quick access to create different types of metadata 
without navigating through the administrator section. It appears in the top 
header bar next to other actions (Downloads, Statistics, User profile).

*UI Components*
- Primary blue button with "+ Create" label
- Chevron icon indicating dropdown
- Dropdown menu with 5 options, each with an icon

 *Technical Implementation*
- MUI Button (variant="contained", color="primary")
- MUI Menu anchored to the button
- Each MenuItem has icon + label
- Modals for Entity, Classification, Glossary
- Navigation for Business Metadata and Enum

*Acceptance Criteria*
- Button visible in header on all applicable pages
- [Dropdown opens on click
- Dropdown closes on item selection or outside click
- All 5 menu items render with correct icons
- Keyboard accessible (aria-controls, aria-haspopup, aria-expanded)


> ATLAS UI: Header - Create Button and Dropdown Menu  Description:
> ----------------------------------------------------------------
>
>                 Key: ATLAS-5256
>                 URL: https://issues.apache.org/jira/browse/ATLAS-5256
>             Project: Atlas
>          Issue Type: Sub-task
>          Components: atlas-webui
>    Affects Versions: 3.0.0
>            Reporter: Prasad P. Pawar
>            Assignee: Prasad P. Pawar
>            Priority: Major
>              Labels: Atlas-UI
>
> Implement a "+ Create" button in the header with a dropdown menu for creating 
> Atlas metadata objects (Entity, Classification, Glossary, Business Metadata, 
> Enum).
> *Overview*
> The Create button provides quick access to create different types of metadata 
> without navigating through the administrator section. It appears in the top 
> header bar next to other actions (Downloads, Statistics, User profile).
> *UI Components*
>  - Primary blue button with "+ Create" label
>  - Chevron icon indicating dropdown
>  - Dropdown menu with 5 options, each with an icon
>  *Technical Implementation*
>  - MUI Button (variant="contained", color="primary")
>  - MUI Menu anchored to the button
>  - Each MenuItem has icon + label
>  - Modals for Entity, Classification, Glossary
>  - Navigation for Business Metadata and Enum
> *Acceptance Criteria*
>  - Button visible in header on all applicable pages
>  - [Dropdown opens on click
>  - Dropdown closes on item selection or outside click
>  - All 5 menu items render with correct icons
>  - Keyboard accessible (aria-controls, aria-haspopup, aria-expanded)
> ----
> 1) Create Button - *Entity Option*
> Create Entity option in the Create dropdown; opens Entity creation form in a 
> modal.
> - Menu item: "Entity" with CategoryIcon (triangle, square, circle)
> - On click: closes dropdown, opens EntityForm modal
> - EntityForm allows creating new entities (tables, columns, etc.) with type 
> selection and attribute definition
>  
> Technical
> - Component: EntityForm (modal)
> - Handler: handleEntityClick → setEntityModal(true)
> - data-cy: create-entity
>  
>  
> 2) Create Button - *Classification Option*
> Create Classification option in the Create dropdown; opens Classification 
> creation form in a modal.
> - Menu item: "Classification" with LocalOfferIcon (tag)
> - On click: closes dropdown, opens ClassificationForm modal
> - ClassificationForm allows creating new classifications with attributes
>  Technical
> - Component: ClassificationForm (modal, isAdd=\{true})
> - Handler: handleClassificationClick → setClassificationModal(true)
> - data-cy: create-classification
> 3) Create Button - *Glossary Option*
> Create Glossary option in the Create dropdown; opens Glossary creation form 
> in a modal.
> - Menu item: "Glossary" with MenuBookIcon (open book)
> - On click: closes dropdown, opens AddUpdateGlossaryForm modal
> - AddUpdateGlossaryForm allows creating new glossaries
> Technical
> - Component: AddUpdateGlossaryForm (modal, isAdd=\{true}, node=\{undefined})
> - Handler: handleGlossaryClick → setGlossaryModal(true)
> - data-cy: create-glossary
> 4) Create Button - *Business Metadata Option*
> Create Business Metadata option in the Create dropdown; navigates to 
> Administrator Business Metadata tab with create mode.
> - Menu item: "Business Metadata" with BusinessCenterIcon (briefcase)
> - On click: closes dropdown, navigates to 
> /administrator?tabActive=businessMetadata&create=true
> - Uses Administrator UI for Business Metadata creation (not a modal)
>  Technical
> - Navigation: pathname "/administrator", search 
> "tabActive=businessMetadata&create=true"
> - Handler: handleBusinessMetadataClick → navigate(...)
> - data-cy: create-business-metadata
> 5) Create Button - *Enum Option*
> Create Enum option in the Create dropdown; it navigates to Administrator Enum 
> tab.
> - Menu item: "Enum" with ListIcon (bulleted list)
> - On click: closes dropdown, navigates to /administrator?tabActive=enum
> - Uses Administrator UI for Enum creation
>  
> Technical
> - Navigation: pathname "/administrator", search "tabActive=enum"
> - Handler: handleEnumClick → navigate(...)
> - data-cy: create-enum
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to