pierrejeambrun commented on code in PR #23456:
URL: https://github.com/apache/airflow/pull/23456#discussion_r869476875


##########
airflow/www/static/js/grid/details/content/dagRun/index.jsx:
##########
@@ -27,10 +27,10 @@ import {
 } from '@chakra-ui/react';
 import { MdPlayArrow, MdOutlineAccountTree } from 'react-icons/md';
 
-import { SimpleStatus } from '../../../StatusBox';
-import { ClipboardText } from '../../../Clipboard';
+import { SimpleStatus } from '../../../components/StatusBox';
+import { ClipboardText } from '../../../components/Clipboard';

Review Comment:
   Is there a way to do absolute import from source root of the grid app to 
avoid doing multiple `../`
   
   I don't know where we want to set the limit with relative imports but I 
think it might be easier to maintain in such cases. (not related to this PR 
particularly, just being curious)



-- 
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