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

Feature dexie performance #291

Merged
merged 42 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
f96acff
First step on Dexie implementation
Ratatinator97 Jun 20, 2023
9b29935
Fixed notifications perf issue
Ratatinator97 Jun 20, 2023
7f1856f
Added vue-virtual-scroller. TODO Resize
Ratatinator97 Jun 22, 2023
af6dd0c
Moved to methods
Ratatinator97 Jun 22, 2023
0c7ab46
sidebar works differently now
Ratatinator97 Jun 22, 2023
410c7c6
Empty box not showed during init
Ratatinator97 Jun 22, 2023
eb1eebb
Added some performance timers and debug code
Ratatinator97 Jun 23, 2023
08867dc
Public mode misses correct RecycleScroller
Ratatinator97 Jun 26, 2023
981f1a6
Fix display of vue-virtual-scroller in main div
Ratatinator97 Aug 23, 2023
4b3aab0
Disable skeleton: checking perfs
Ratatinator97 Aug 27, 2023
768b1f4
Passing fatherCollectionId from param to query 🚀
Ratatinator97 Aug 28, 2023
45f1020
Switching public mode to query param
Ratatinator97 Aug 29, 2023
66306b3
Modif on DL collections
Ratatinator97 Sep 2, 2023
863fba6
Working on DL collections...
Ratatinator97 Sep 4, 2023
d12887d
FIxed DexieDB login bug
Ratatinator97 Sep 5, 2023
d3681a2
Is it better without CSS issues ?
Ratatinator97 Sep 20, 2023
4d3aeb2
Merge branch 'stable' into feature-dexie-performance
Ratatinator97 Jan 15, 2024
998673b
Removed RecycleScroller
Ratatinator97 May 24, 2024
308b875
Merge branch 'stable' into feature-dexie-performance
Ratatinator97 May 24, 2024
f86e7de
fix notifications
Ratatinator97 May 24, 2024
1d22189
Removed Sound and fix
Ratatinator97 May 24, 2024
3c62ca6
Dexie working + moved fatherCollectionId to query
Ratatinator97 May 31, 2024
1c30529
need to move mutations to actions
Ratatinator97 May 31, 2024
4debadb
moved async mutations to async actions
Ratatinator97 May 31, 2024
a33bf1c
fixed moveToCollection
Ratatinator97 Jun 1, 2024
bc8cc20
fixed /account
Ratatinator97 Jun 1, 2024
c45656a
fixed sign up
Ratatinator97 Jun 1, 2024
c722b55
fix picto layout
Ratatinator97 Jun 3, 2024
e0e3b47
Added an error page and redirect page for the update
Ratatinator97 Jun 3, 2024
327b71d
ask for persistent storage + handle errors
Ratatinator97 Jun 5, 2024
584d5b9
trigger build
Ratatinator97 Jun 5, 2024
91addd0
fixed public
Ratatinator97 Jun 5, 2024
56205a9
removed logs
Ratatinator97 Jun 5, 2024
f6695ac
removed console logs
Ratatinator97 Jun 5, 2024
36ac498
removed unused console logs
Ratatinator97 Jun 5, 2024
28edb68
fix async dexie + logout
Ratatinator97 Jun 5, 2024
f1e1c55
moved public folder
Ratatinator97 Jun 7, 2024
fceb94e
Added animations when changing fatherCollectionId
Ratatinator97 Jun 7, 2024
49f7387
fixed animation sync
Ratatinator97 Jun 7, 2024
65585fa
removed console logs
Ratatinator97 Jun 10, 2024
f86b39a
Removed resolve
Ratatinator97 Jun 10, 2024
c4242f5
Merge branch 'stable' into feature-dexie-performance
Ratatinator97 Jun 11, 2024
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
27 changes: 0 additions & 27 deletions components/auth/account.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,33 +135,6 @@
<installVoice></installVoice>
</div>
</div>
<!--
<b-button
v-if="!displayVoicesOrMultiLingual"
@click="displayVoices = !displayVoices"
type="is-ghost"
>{{ $t("SpeakMoreLanguage") }}</b-button
>

<b-field v-if="displayVoicesOrMultiLingual" :label="$t('Voices')">
<b-select
v-model="voiceURIs"
placeholder="Select language"
required
multiple
expanded
native-size="8"
:loading="loadingVoices"
>
<option
v-for="voice in loadedVoices"
:value="voice.voiceURI"
:key="voice.voiceURI"
>
{{ getEmoji(voice.lang) }} {{ voice.name }}
</option>
</b-select>
</b-field> -->
<hr />
</b-tab-item>
<b-tab-item style="width: 100%" icon="account-group">
Expand Down
17 changes: 11 additions & 6 deletions components/auth/signinModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</section>
<footer class="modal-card-foot">
<b-button data-cy="signin-signin" class="is-primary" :loading="loading" @click="onSubmit">{{
$t("LogIn")
$t("LogIn")
}}</b-button>
</footer>
</div>
Expand All @@ -29,7 +29,6 @@
</template>
<script>
import signup from "@/components/auth/signupModal";
import { SoundHelper } from "@/utils/sounds";
export default {
data() {
return {
Expand All @@ -51,18 +50,24 @@ export default {
if (res.status == 201) {
await this.$store.dispatch("getUser");

try {
if (process.client) {
const createDatabaseForUser = require("~/plugins/dexieDB").createDatabaseForUser;
createDatabaseForUser(this.$store.getters.getUser.username);
}
} catch (err) {
console.log(err);
}
this.$parent.close();
this.$router.push({
path: "/pictalk/" + this.$store.getters.getRootId,
path: "/pictalk",
query: { ...this.$route.query, fatherCollectionId: this.$store.getters.getRootId },
});
if (this.$store.getters.getUser.notifications.length != 0) {
SoundHelper.playNotification();
this.$buefy.notification.open({
message: this.$t("UnreadNotifications"),
type: "is-info",
});
} else {
SoundHelper.playAccountCreation();
}
}
} catch (error) {
Expand Down
Loading
Loading