Skip to content

Create an About dialog. #15

Open
Open

Description

@erikh2000

Add an about dialog with the following elements:

  • Title - "About"
  • APP-NAME VERSION
  • DESCRIPTION
  • CONTRIBUTORS
  • [ Okay ]

It would open when user clicks on an "About" link from the Decent Bar.

The inclusion of the "About" link in the Decent Bar will be within CDA-generated code so that the app developer can remove or modify it easily.

Implementation Guide

  1. In decentapp-template project, you'd have a new AboutDialog component under /src/components/aboutDialog.
  2. APP-NAME, DESCRIPTION, CONTRIBUTORS, VERSION can come from public/app-metadata.json (getAppMetaData() function to retrieve). VERSION and CONTRIBUTORS are not currently tracked in app-metadata.json, but I'm adding another ticket related to that.
  3. Add AboutDialog to the library exports.
  4. src/components/TopBar.tsx, render AboutDialog with conditional display following the pattern you see on LoadingScreen and other places that use modal dialogs. DecentBar would include a new "About" link.
  5. MR it.

@eduardoworrel

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions