ayush786hack commented on code in PR #14917:
URL: https://github.com/apache/gravitino/pull/14917#discussion_r4562445508


##########
web-v2/web/src/app/catalogs/rightContent/entitiesContent/TableDetailsPage.js:
##########
@@ -603,10 +696,33 @@ export default function TableDetailsPage({ ...props }) {
       <Tabs data-refer='details-tabs' defaultActiveKey={tabKey} 
onChange={onChangeTab} items={tabOptions} />
       {tabKey === 'Columns' && (
         <>
-          <Flex justify='flex-end' className='mb-4'>
+          <Flex justify='flex-end' align='center' gap='middle' 
className='mb-4'>
             <div className='flex w-1/3 gap-4'>
               <Search name='searcColumnInput' placeholder='Search...' 
value={search} onChange={onSearchTable} />
             </div>
+
+            <Popover
+              trigger='click'
+              placement='bottomRight'
+              title='Column settings'
+              content={
+                <Checkbox.Group
+                  className='flex flex-col gap-2'
+                  options={[
+                    { label: 'Nullable', value: 'nullable' },
+                    { label: 'AutoIncrement', value: 'autoIncrement' },
+                    { label: 'Default Value', value: 'defaultValue' },
+                    { label: 'Comment', value: 'comment' }
+                  ]}
+                  value={visibleMetadataColumns}
+                  onChange={setVisibleMetadataColumns}
+                />
+              }
+            >
+              <span className='cursor-pointer hover:text-defaultPrimary' 
title='Column settings'>
+                <Icons.Settings className='size-4' />
+              </span>

Review Comment:
   Fixed in commit `a2089e305`. The Column Settings trigger is now a native 
button with an accessible label and visible keyboard focus styling. 
Keyboard-only users can reach it using Tab and activate it using Enter or Space.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to