From 810c789f15ba6ace8983e1cff77cbdac552c5f4c Mon Sep 17 00:00:00 2001 From: Alexis Saettler Date: Sun, 11 Apr 2021 22:10:18 +0200 Subject: [PATCH 1/5] refactor: simplify avatar and smallNameAndAvatar components --- resources/js/Pages/Adminland/Audit/Index.vue | 2 +- .../Employee/Partials/EmployeeList.vue | 2 +- .../Adminland/Expense/Partials/Employees.vue | 2 +- .../Pages/Adminland/General/Partials/Stat.vue | 3 +- .../js/Pages/Adminland/Hardware/Index.vue | 3 +- .../js/Pages/Adminland/Hardware/Show.vue | 3 +- resources/js/Pages/Adminland/Team/Logs.vue | 2 +- .../js/Pages/Company/Partials/Birthdays.vue | 2 +- .../js/Pages/Company/Partials/Employees.vue | 2 +- .../js/Pages/Company/Partials/NewHires.vue | 2 +- resources/js/Pages/Company/Partials/Teams.vue | 2 +- resources/js/Pages/Company/Project/Create.vue | 2 +- .../Pages/Company/Project/Decisions/Index.vue | 5 +- .../js/Pages/Company/Project/Files/Index.vue | 3 +- .../Pages/Company/Project/Members/Index.vue | 2 +- .../Pages/Company/Project/Messages/Index.vue | 3 +- .../Pages/Company/Project/Messages/Show.vue | 2 +- .../Company/Project/Partials/ProjectLead.vue | 2 +- .../Company/Project/Partials/ProjectMenu.vue | 2 +- .../Tasks/Partials/ProjectTaskCheckbox.vue | 3 +- .../js/Pages/Company/Project/Tasks/Show.vue | 2 +- resources/js/Pages/Company/Question/Show.vue | 5 +- resources/js/Pages/Company/Skill/Show.vue | 2 +- .../js/Pages/Dashboard/Expenses/Approve.vue | 6 +-- .../js/Pages/Dashboard/Expenses/Index.vue | 12 ++--- .../Dashboard/HR/Partials/Timesheets.vue | 2 +- .../Pages/Dashboard/HR/Timesheets/Index.vue | 2 +- .../Dashboard/Manager/ApproveExpense.vue | 4 +- .../Manager/Partials/ContractRenewal.vue | 2 +- .../Dashboard/Manager/Partials/Expense.vue | 3 +- .../Partials/OneOnOneWithDirectReport.vue | 2 +- .../Manager/Partials/TimesheetApprovals.vue | 2 +- .../Dashboard/Manager/Timesheets/Index.vue | 2 +- .../Pages/Dashboard/Me/Partials/ECoffee.vue | 4 +- .../Me/Partials/OneOnOneWithManager.vue | 2 +- .../Pages/Dashboard/Me/Partials/Projects.vue | 2 +- .../Pages/Dashboard/Me/Partials/Question.vue | 5 +- .../js/Pages/Dashboard/OneOnOnes/Show.vue | 6 +-- .../Dashboard/Partials/DashboardMenu.vue | 2 +- .../Dashboard/Team/Partials/Birthdays.vue | 2 +- .../Dashboard/Team/Partials/RecentShips.vue | 2 +- .../UpcomingHiringDateAnniversaries.vue | 2 +- .../Team/Partials/UpcomingNewHires.vue | 2 +- .../Dashboard/Team/Partials/WorkFromHome.vue | 2 +- .../Dashboard/Team/Partials/Worklogs.vue | 5 +- resources/js/Pages/Employee/ECoffee/Index.vue | 2 +- resources/js/Pages/Employee/Index.vue | 2 +- resources/js/Pages/Employee/Logs/Index.vue | 4 +- .../js/Pages/Employee/Partials/Avatar.vue | 10 ++-- .../js/Pages/Employee/Partials/ECoffee.vue | 2 +- .../js/Pages/Employee/Partials/Hierarchy.vue | 4 +- .../Employee/Performance/OneOnOnes/Index.vue | 4 +- .../Employee/Performance/OneOnOnes/Show.vue | 6 +-- .../Partials/OneOnOneWithManager.vue | 3 +- .../Employee/Performance/Surveys/Show.vue | 7 +-- .../Employee/Work/Partials/RecentShips.vue | 2 +- resources/js/Pages/Team/Index.vue | 2 +- .../js/Pages/Team/Partials/Birthdays.vue | 2 +- resources/js/Pages/Team/Partials/Members.vue | 2 +- .../js/Pages/Team/Partials/RecentShips.vue | 2 +- resources/js/Pages/Team/Partials/TeamLead.vue | 2 +- resources/js/Pages/Team/Ship/Create.vue | 2 +- resources/js/Pages/Team/Ship/Index.vue | 2 +- resources/js/Pages/Team/Ship/Show.vue | 2 +- resources/js/Shared/Avatar.vue | 50 ++++++++++++------- resources/js/Shared/EditableCheckbox.vue | 3 +- resources/js/Shared/ExpenseStatus.vue | 9 ++-- resources/js/Shared/SmallNameAndAvatar.vue | 44 +++++++++------- 68 files changed, 141 insertions(+), 158 deletions(-) diff --git a/resources/js/Pages/Adminland/Audit/Index.vue b/resources/js/Pages/Adminland/Audit/Index.vue index e477e440e..2e218ee63 100644 --- a/resources/js/Pages/Adminland/Audit/Index.vue +++ b/resources/js/Pages/Adminland/Audit/Index.vue @@ -46,7 +46,7 @@