From 2efed539fb0b56230a78f8f6fe9987fcc4de844f Mon Sep 17 00:00:00 2001 From: Artus Date: Thu, 13 Jun 2019 14:46:48 +0200 Subject: [PATCH] adds actions button, adds comments about testing --- lootalot_front/src/components/Chest.vue | 40 ++++++++++++++++++++++-- lootalot_front/src/components/Player.vue | 13 ++++++++ 2 files changed, 50 insertions(+), 3 deletions(-) diff --git a/lootalot_front/src/components/Chest.vue b/lootalot_front/src/components/Chest.vue index a23a738..8cc7c60 100644 --- a/lootalot_front/src/components/Chest.vue +++ b/lootalot_front/src/components/Chest.vue @@ -3,13 +3,36 @@

Peut ajouter

Peut vendre

Peut prendre

- +
- + + + + +
Objets de {{ player }}
Objets de {{ player }} + +
@@ -18,6 +41,13 @@ + + diff --git a/lootalot_front/src/components/Player.vue b/lootalot_front/src/components/Player.vue index 26e5353..f9b6e71 100644 --- a/lootalot_front/src/components/Player.vue +++ b/lootalot_front/src/components/Player.vue @@ -55,6 +55,19 @@ import Wealth from './Wealth.vue' /* The Player control board. + To test : + - Player name is displayed + - Player's wealth is displayed -> Inside Wealth component + - Dropdown: + - The first item is the group + - Opened by activator + - Closed when clicked outside + - Click on item does switch active player + - Switch player : + - Name is updated when player_id is updated + - Wealth is updated -> Inside Wealth component + - Chest button controls Chest visibility + */ let handleOutsideClick; export default {