From cf1ee31f90a61bbaae0807aac38c889fdf612b72 Mon Sep 17 00:00:00 2001 From: James Chang Date: Mon, 19 Apr 2021 21:35:07 -0400 Subject: [PATCH] Add event and pb type presets on my-pbs page --- .../interface/crud/crudRecordInterface.vue | 4 + .../special/crudPersonalBestInterface.vue | 7 +- .../crud/viewRecordTableInterface.vue | 1 + frontend/components/menu/recordActionMenu.vue | 31 ++- .../components/page/preset/pbPagePreset.vue | 247 ++++++++++++++++++ frontend/mixins/crud.js | 10 +- frontend/mixins/editRecordInterface.js | 51 ++-- frontend/models/special/publicPbs.ts | 2 +- frontend/pages/my-pbs.vue | 21 +- frontend/pages/public-pbs.vue | 220 +--------------- frontend/types/index.ts | 9 +- 11 files changed, 340 insertions(+), 263 deletions(-) create mode 100644 frontend/components/page/preset/pbPagePreset.vue diff --git a/frontend/components/interface/crud/crudRecordInterface.vue b/frontend/components/interface/crud/crudRecordInterface.vue index c844233..33fddb0 100644 --- a/frontend/components/interface/crud/crudRecordInterface.vue +++ b/frontend/components/interface/crud/crudRecordInterface.vue @@ -246,6 +246,7 @@ offset-y @handle-action-click="openEditDialog" @handle-expand-click="openExpandDialog(props, ...$event)" + @handle-custom-action-click="handleCustomActionClick" >