Skip to content

[Feature]:Use Absolute Imports in Jaeger-UI #2560

Open
@yashpandey06

Description

@yashpandey06

Requirement

Using absolute imports improves:

  • Code Readability: No more long and complex relative paths.
  • Maintainability: Refactoring becomes easier as file paths are consistent.
  • Scalability: Simplifies project navigation in large codebases.
import Button from '../../components/Button';
import Header from '../../../shared/Header';

Absolute imports
import Button from 'components/Button';
import Header from 'shared/Header';


### Problem

The problem with relative imports in React projects arises as the codebase grows larger and more complex.

Activity

changed the title [Feature]: [Feature]:Use Absolute Imports in Jaeger-UI on Jan 7, 2025
yurishkuro

yurishkuro commented on Jan 7, 2025

@yurishkuro
Member

I agree in principle, but I don't think it's a task we should be pursuing for its own sake, since it's going to take a lot of effort which could instead go into solving more pressing issues like the stale dependencies.

yashpandey06

yashpandey06 commented on Jan 7, 2025

@yashpandey06
Author

@yurishkuro Yeah , I understand, may be we can plan for this in future !

Thanks for your view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @yurishkuro@yashpandey06

      Issue actions

        [Feature]:Use Absolute Imports in Jaeger-UI · Issue #2560 · jaegertracing/jaeger-ui