From 1d6241abbb317a870272c02306aa81a827383d37 Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Sat, 1 Jul 2023 16:04:32 +0800 Subject: [PATCH] Various changes - Loading animation in Projects view - Per item icon + spacing fixes in Home view --- src/main.ts | 6 ++++++ src/views/HomeView.vue | 38 ++++++++++++++++++++++++-------------- src/views/ProjectsView.vue | 20 ++++++++++++++------ 3 files changed, 44 insertions(+), 20 deletions(-) diff --git a/src/main.ts b/src/main.ts index 860f91b50..cf29018ff 100644 --- a/src/main.ts +++ b/src/main.ts @@ -17,6 +17,8 @@ import { faCircleCheck, faCircleQuestion, faCircleUser, + faClock, + faCoins, faCopy, faEllipsisVertical, faEye, @@ -24,6 +26,7 @@ import { faFileLines, faFloppyDisk, faFolderOpen, + faGift, faHand, faHouseChimney, faLongArrowAltLeft, @@ -53,6 +56,8 @@ library.add( faCircleCheck, faCircleQuestion, faCircleUser, + faClock, + faCoins, faCopy, faEllipsisVertical, faEye, @@ -60,6 +65,7 @@ library.add( faFileLines, faFloppyDisk, faFolderOpen, + faGift, faHand, faHouseChimney, faLongArrowAltLeft, diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index b1ef488cc..91f451f83 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -49,20 +49,23 @@ Time Safari -
+

Quick Action

-

Choose a contact to whom to show appreciation:

-
+

Choose a contact to whom to show appreciation:

+
-  or  -
@@ -75,25 +78,32 @@ > -
+

Latest Activity

- + Loading… -
    +
    • - You've seen all claims below. + You've seen all claims below: +
      +
      + + + {{ this.giveDescription(record) }}
      - {{ this.giveDescription(record) }}
diff --git a/src/views/ProjectsView.vue b/src/views/ProjectsView.vue index 107158a5e..a0dbe958c 100644 --- a/src/views/ProjectsView.vue +++ b/src/views/ProjectsView.vue @@ -70,6 +70,14 @@ + +
+ +
+
    @@ -185,9 +193,9 @@ export default class ProjectsView extends Vue { } /** - * Handle clicking on a project entry found in the list - * @param id of the project - **/ + * Handle clicking on a project entry found in the list + * @param id of the project + **/ onClickLoadProject(id: string) { localStorage.setItem("projectId", id); const route = { @@ -197,9 +205,9 @@ export default class ProjectsView extends Vue { } /** - * Load projects initially - * @param identity of the user - **/ + * Load projects initially + * @param identity of the user + **/ async LoadProjects(identity: IIdentifier) { const url = `${this.apiServer}/api/v2/report/plansByIssuer`; const token: string = await accessToken(identity);