Przeglądaj źródła

:pencil2: Removed old console.log and testing button

tags/0.0.4
tomit4 2 lat temu
rodzic
commit
7536b32415

+ 0
- 10
frontend/src/views/ChatView.vue Wyświetl plik

18
             .w-flex.row
18
             .w-flex.row
19
                 button(@click='reveal(7)') reveal my name
19
                 button(@click='reveal(7)') reveal my name
20
                 button(@click='reveal(8)') reveal my email
20
                 button(@click='reveal(8)') reveal my email
21
-                // TODO: Remove later, only for testing
22
-                button(@click='checkData()') check data
23
             span(v-if='grouping.revealed[profile.id.value]')
21
             span(v-if='grouping.revealed[profile.id.value]')
24
                 p you revealed:
22
                 p you revealed:
25
                 ul(
23
                 ul(
101
         this.grouping = this.getGrouping()
99
         this.grouping = this.getGrouping()
102
         this.them = this.grouping.profile
100
         this.them = this.grouping.profile
103
         this.messages = await currentProfile.chatter.getHistory(this.grouping.grouping_name)
101
         this.messages = await currentProfile.chatter.getHistory(this.grouping.grouping_name)
104
-        console.log('this.messages :>> ', this.messages)
105
         currentProfile.chatter.setOnMessage(this._onMessage)
102
         currentProfile.chatter.setOnMessage(this._onMessage)
106
         currentProfile._loading.value = false
103
         currentProfile._loading.value = false
107
     },
104
     },
110
             const grouping = this.getGrouping()
107
             const grouping = this.getGrouping()
111
             await grouping.reveal(currentProfile.id.value, tagId)
108
             await grouping.reveal(currentProfile.id.value, tagId)
112
          },
109
          },
113
-        // TODO: remove, only for testing reveal()
114
-        async checkData() {
115
-            console.log('currentProfile :=>', currentProfile)
116
-            // TODO: remove once Vue Router guards allow to redirect via url
117
-            console.log('currentProfile.isComplete :=>', currentProfile.isComplete) // false
118
-            console.log('currentProfile.isLoggedIn :=>', currentProfile.isLoggedIn) // true
119
-        },
120
         /**
110
         /**
121
          * Pubnub message callback fires when message event
111
          * Pubnub message callback fires when message event
122
          * is detected. We define is HERE because we need the
112
          * is detected. We define is HERE because we need the

+ 0
- 2
frontend/src/views/OnboardingView.vue Wyświetl plik

58
     }),
58
     }),
59
     async created() {
59
     async created() {
60
         // TODO: Troubleshoot bug where not all responses are returned at SurveyCompleteView
60
         // TODO: Troubleshoot bug where not all responses are returned at SurveyCompleteView
61
-        console.log('currentProfile :=>', currentProfile)
62
         this.survey = await surveyFactory.createSurvey()
61
         this.survey = await surveyFactory.createSurvey()
63
         try {
62
         try {
64
             const sessionData = await authenticator.verifySessionCookie(
63
             const sessionData = await authenticator.verifySessionCookie(
92
             })
91
             })
93
         },
92
         },
94
         async updateAnswers(payload) {
93
         async updateAnswers(payload) {
95
-            console.log('this.survey.steps :=>', this.survey.steps)
96
             if (payload) {
94
             if (payload) {
97
                 const k = payload.question.survey_stage
95
                 const k = payload.question.survey_stage
98
                 this.answered[k] = payload.input
96
                 this.answered[k] = payload.input

Ładowanie…
Anuluj
Zapisz