Skip to content

Commit

Permalink
Implement one user concurrent access for storylines
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsin-r committed Nov 28, 2024
1 parent 6ab1b8b commit b13ec6b
Show file tree
Hide file tree
Showing 9 changed files with 473 additions and 86 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
VITE_APP_API_URL=#{API_URL}#
VITE_APP_SOCKET_URL=#{SOCKET_URL}#
VITE_APP_CURR_ENV=#{CURR_ENV}#
VITE_APP_NET_API_URL=#{NET_API_URL}#
237 changes: 194 additions & 43 deletions server/index.js

Large diffs are not rendered by default.

53 changes: 52 additions & 1 deletion server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@
"decompress": "^4.2.1",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-ws": "^5.0.2",
"formidable": "^2.1.2",
"fs-extra": "^11.1.0",
"moment": "^2.29.4",
"path": "^0.12.7",
"recursive-readdir": "^2.2.3",
"simple-git": "^3.27.0"
"simple-git": "^3.27.0",
"uuid": "^11.0.3"
}
}
3 changes: 2 additions & 1 deletion src/components/helpers/confirmation-modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class="flex justify-center items-center"
content-class="flex flex-col max-w-xl mx-4 p-4 bg-white dark:bg-gray-900 border dark:border-gray-700 rounded-lg space-y-2"
>
<h2 slot="header" class="text-lg font-bold">{{ message }}</h2>
<h2 slot="header" :class="messageClass ?? 'text-lg font-bold'">{{ message }}</h2>
<div class="w-full flex justify-end">
<button class="editor-button confirm-button hover:bg-gray-800" @click.stop="onOk">
{{ $t('editor.confirm') }}
Expand All @@ -28,6 +28,7 @@ import { VueFinalModal } from 'vue-final-modal';
export default class MetadataEditorV extends Vue {
@Prop() message!: string;
@Prop() name!: string;
@Prop() messageClass?: string;
onOk(): void {
this.$emit('ok');
Expand Down
Loading

0 comments on commit b13ec6b

Please sign in to comment.