Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BC-4710-deployment #25

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion ansible/roles/tldraw-client-core/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,27 @@
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-client-svc.yml.j2
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool

- name: tldraw client configmap
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-client-configmap.yml.j2
apply: yes
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool

- name: tldraw client deployment
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-client-deployment.yml.j2
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool

- name: tldraw client ingress
kubernetes.core.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: tldraw-client-ingress.yml.j2
apply: yes
apply: yes
when: WITH_TLDRAW is defined and WITH_TLDRAW|bool
3 changes: 2 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect } from 'react';
import { useEffect } from 'react';
import { Tldraw, useFileSystem } from '@tldraw/tldraw';
import { useUsers } from 'y-presence';
import { useCookies } from 'react-cookie';
Expand All @@ -18,6 +18,7 @@ function Editor({ roomId }: { roomId: string }) {
onMount={onMount}
onPatch={saveUserSettings}
darkMode={getDarkMode()}
showMultiplayerMenu={false}
{...events}
onSaveProject={onSaveProject}
onSaveProjectAs={onSaveProjectAs}
Expand Down
Loading