Skip to content

BRD - Changes to the common layer + publish the package #24400

Closed

Description

@JazzarKarim

There some hex colors in the code. We need to get rid of them and move those to the dependency @daxiom/nuxt-core-layer-test

Need to handle:

  • Add those colors to the dependency
  • Publish that package
  • Remove the hex colors in the code and use the ones from the package

Also, we need to do these changes. These components are also in that dependency. Make these changes and publish.

Header, breadcrumb and footer

  • Re-use masthead component from BTR (add translation component to BTR masthead)
  • Add breadcrumb component from BTR and change back button arrow colour to #1669BB

image.png

  • Re-use footer component from BTR (add BC Online Application label with version component)

Activity

  1. added
    Entities - Data Migration
    on Nov 13, 2024
  2. changed the title [-]BRD - Get rid of hex colors and publish dependency[/-] [+]BRD - Changes to the common layer and publish the package[/+] on Dec 5, 2024
  3. added
    Entities Team
    on Dec 5, 2024
  4. changed the title [-]BRD - Changes to the common layer and publish the package[/-] [+]BRD - Changes to the common layer + publish the package[/+] on Dec 5, 2024
  5. added
    connect
    and removed
    Entities - Data Migration
    Entities Team
    on Dec 5, 2024
  6. JazzarKarim commented on Dec 18, 2024

    @JazzarKarim
    CollaboratorAuthor

    From Dietrich:
    New version of the package is: 0.0.11

    there is a new version of the layer with some small updates. A few colours, account store util/computed (isStaff, isCurrentAccount), the back button colour in the breadcrumb. Also updated the breadcrumb with an appendAccountId property which will add the account id and update it as the user changes accounts.

    ex:

    setBreadcrumbs([
      {
        label: t('label.bcregDash'),
        to: useRuntimeConfig().public.registryHomeURL + 'dashboard',
        appendAccountId: true,
        external: true
      }
    ])

    Also the tailwind linter might complain about some of the custom classes, this can be fixed by whitelisting the names in the eslintrc file

    "tailwindcss/no-custom-classname": ["warn", {
          "whitelist": [
            "app-body",
            "app-container",
            "app-inner-container",
            "connect-date-picker",
            "connect-date-picker__err",
            "prose-bcGov",
            "list-alpha",
            "list-upperAlpha",
            "max-w-bcGovInput"
          ]
        }],

    the "max-w-bcGovInput" was giving me an issue but it should pick up most of them.

  7. thorwolpert commented on Jul 27, 2026

    @thorwolpert
    Collaborator

    stale - new issue can be opened if needed

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

    Priority3UX Assuranceconnecttechdebt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions