Register

Virgin Music Group

Team 2025:

Manager:
Slava Bugachevsky
Devs:
Curtis LayCraft,
Joshua Johnsgaard,
Matthias Ruhland,
TG McLean,
 Zaheer Ahmad Sheikh
QA:
Clayton James,
Nina Sun
Design:
Mary Seibert
Support + UX
:
Gabriella Avila

Statements

Populated by cycle runs through the Register-Pipeline. Users can download processed statements through Register UI.

1.

Register UI
An external user facing interface that lets user manage deals, payees and view their statements.

2.

Deals

Using a redis cache it will pull in data from CMS, handle CRUD requests and is the direct interface to the deals-db.

3.

Statements

API

Register
UI

Deals API

Local Spinnup

Storybook

A sandbox environment for shared components within the Register UI.
 

npm run storybook

Internationalization

import React, { useContext } from "react";

import i18n from "assets/language/i18n";
import GenerateStatementsButton from "components/label-payee/generate-statement/GenerateStatementsButton";
import ConditionalRender from "components/shared/ConditionalRender";
import { DEALS_PERMISSIONS } from "constants/permissions";
import { useModal } from "contexts/Modal/ModalContext";
import { UserContext } from "contexts/User/UserContext";
import { Button } from "react-bootstrap";

const AccountActions: React.FC = React.memo((): JSX.Element => {
    const { permissions } = useContext(UserContext);
    const { updateActiveModal } = useModal();
    const canProcessStatements: boolean = permissions.includes(DEALS_PERMISSIONS.ACCESS_DEALS);

    return (
        <div className="account-actions">
            <Button
                className={"btn-account-action"}
                onClick={(): void => updateActiveModal && updateActiveModal("createPayee")}
            >
                <span>{i18n.t("payee.createNew")}</span>
            </Button>
            <ConditionalRender shouldRender={canProcessStatements}>
                <GenerateStatementsButton />
            </ConditionalRender>
        </div>
    );
});

export default AccountActions;

CODE BREAKDOWN TIME!

Debugging tools / Environments

Slack

Splunk

Argo

Register Intro

By Joshua Johnsgaard