feature: show recipe edit form sheet
- move from edit directly in table to side-sheet instead Signed-off-by: pakintada@gmail.com <Pakin>
This commit is contained in:
parent
3f5eb8d07d
commit
e6d1ac9a99
36 changed files with 1307 additions and 71 deletions
|
|
@ -4,6 +4,7 @@ import { get, writable } from 'svelte/store';
|
|||
import { handleIncomingMessages } from '../handlers/messageHandler';
|
||||
import { queue as msgQueue } from '../handlers/ws_messageSender';
|
||||
import { auth } from '../client/firebase';
|
||||
import { addNotification } from './noti';
|
||||
|
||||
let socket: WebSocket | null = null;
|
||||
|
||||
|
|
@ -16,6 +17,7 @@ export function connectToWebsocket() {
|
|||
|
||||
socket.addEventListener('open', () => {
|
||||
socketStore.set(socket);
|
||||
addNotification('INFO:Connected!');
|
||||
|
||||
// recover messages on connect, flushing
|
||||
while (get(msgQueue).length) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue