Skip to content

Improve imports and file structure #195

Description

@Alessandro100

There are certain imports that are being written like this

import { formatProvidersSorted } from '../../../../../../../screens/Feed/Feed.functions';
import { buildAvailabilityCalendar } from '../../../../../../../screens/Feed/lib/availability-history';
import { displayFormattedDate } from '../../../../../../../utils/date';
import SectionContainer from '../../../../../../../components/SectionContainer';

We can have cleaner imports by implementing aliases like @mdb/components/SectionContainer

Also review the type of components in these folders if it makes sense (ex: A component specific to a page should be located near that page, but a component used more globally should stay at the root component)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech-debtShortcuts, workarounds, or code that needs refactoring or cleanup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions