Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Application summary under /applications/<address> #153

Closed
13 tasks done
Tracked by #151
brunomenezes opened this issue Apr 9, 2024 · 0 comments · Fixed by #160
Closed
13 tasks done
Tracked by #151

Add Application summary under /applications/<address> #153

brunomenezes opened this issue Apr 9, 2024 · 0 comments · Fixed by #160
Assignees
Labels
apps: web Type: Feature Add a new feature to the system

Comments

@brunomenezes
Copy link
Collaborator

brunomenezes commented Apr 9, 2024

📄 Context

The home of the application should display a brief summary of its state. Total numbers for inputs will always be available, adding numbers for notices/vouchers/reports when a connection is available to check these numbers and a brief list of the latest inputs including short information.

Depends on:

PS: #152 needs to go first, so we "clean" the area to the next "friend".

✔️ Solution

Implement a summary page for the application under route /applications/<address>

  • Display summary cards with total Inputs / Vouchers / Notices / Reports
  • If a connection is not available, a Skeleton resembling the 3 cards that require connection should be displayed instead with a call to action saying ADD CONNECTION
  • A summary card below the four cards / Skeleton should list the latest 6 inputs (Similar to Home page)
    • Display the following read-only tabular information [ From / Method / Age ]
    • Bottom include a VIEW INPUTS button/link (go to /applications/<address>/inputs)

A few icons to use (Selection inspired by a work done by Celine Lee in the past):

Report: TbReportAnalytics
Notices: TbAlertTriangle
Vouchers: TbTicket

📈 Subtasks

  • Add breadcrumb home / applications / <address> (possible to copy the address)
  • Add the summary cards for Inputs / Notices / Reports / Vouchers
  • Add Skeleton and call to action when connection is not available for application (i.e. start connection workflow)
  • Add a summary card for the latest 6 inputs.
    • Display tabular information [ From / Method / Age ]. PS: Display the usual No inputs when no entries are returned.
    • Bottom of the card includes a VIEW INPUTS link ( go to /applications/<address>/inputs)
  • Add test cases.

🎯 Definition of Done

  • On the application home page, I can see the list of the latest six inputs (including From, method and age)
  • On the application home page, I can see the breadcrumb and copy the application address
  • On the application home page, I can see the sum of inputs, vouchers, notices and reports.
  • On the application home page, when a connection is not available, I can see the skeleton and start the creation of one
  • CI checks are passing.
  • Vercel build and deploy succeeds.
@brunomenezes brunomenezes added Type: Feature Add a new feature to the system Status: Refining Definition of the issue content is in-progress labels Apr 9, 2024
@brunomenezes brunomenezes changed the title Add a summary under /applications/<address> Add Application summary under /applications/<address> Apr 9, 2024
@brunomenezes brunomenezes added apps: web and removed Status: Refining Definition of the issue content is in-progress labels Apr 9, 2024
@nevendyulgerov nevendyulgerov self-assigned this Apr 15, 2024
@nevendyulgerov nevendyulgerov linked a pull request Apr 15, 2024 that will close this issue
brunomenezes pushed a commit that referenced this issue May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apps: web Type: Feature Add a new feature to the system
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants