ui: some debug for signup

This commit is contained in:
nick-delirium 2024-09-06 18:01:28 +02:00
parent d274e08f43
commit e96416d1e6
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0
4 changed files with 10 additions and 2 deletions

View file

@ -181,8 +181,6 @@ export default class APIClient {
_path = _path.replace('PROJECT_ID', this.siteId + '');
}
console.log(edp, _path, init)
return fetch(edp + _path, init).then((response) => {
if (response.ok) {
return response;

View file

@ -88,6 +88,7 @@ const reducer = (state = initialState, action = {}) => {
case UPDATE_PASSWORD.SUCCESS:
return state.set('passwordErrors', List());
case SIGNUP.SUCCESS:
console.log(action.data)
return state
.set('account', Account(action.data.user))
.set('scope', action.data.scopeState)

View file

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" class="bi bi-chat-dots" viewBox="0 0 16 16">
<path d="M5 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/>
<path d="M2.165 15.803l.02-.004c1.83-.363 2.948-.842 3.468-1.105A9.06 9.06 0 0 0 8 15c4.418 0 8-3.134 8-7s-3.582-7-8-7-8 3.134-8 7c0 1.76.743 3.37 1.97 4.6a10.437 10.437 0 0 1-.524 2.318l-.003.011a10.722 10.722 0 0 1-.244.637c-.079.186.074.394.273.362a21.673 21.673 0 0 0 .693-.125zm.8-3.108a1 1 0 0 0-.287-.801C1.618 10.83 1 9.468 1 8c0-3.192 3.004-6 7-6s7 2.808 7 6c0 3.193-3.004 6-7 6a8.06 8.06 0 0 1-2.088-.272 1 1 0 0 0-.711.074c-.387.196-1.24.57-2.634.893a10.97 10.97 0 0 0 .398-2z"/>
</svg>

After

Width:  |  Height:  |  Size: 702 B

View file

@ -229,6 +229,11 @@ class ScreenRecorder {
this.audioTrack = this.createPlaceholderAudioTrack();
}
const existingAudioTracks = this.videoStream.getAudioTracks();
if (existingAudioTracks.length > 0) {
existingAudioTracks.forEach(track => track.enabled = true);
}
return new MediaStream([
...this.videoStream.getVideoTracks(),
this.audioTrack,