-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
feat: bump to latest vue 3.4.19 #2607
Merged
Merged
Changes from 37 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
6ced364
feat: bump to latest vue 3.4.19
userquin 7b24fe0
chore: update account hover logic
userquin 1b40f9c
chore: cleanup account hover
userquin e3f4707
chore: i18n wrapper
userquin e35b9e7
fix: generic wrapper for i18n
patak-dev c36655c
chore: add `d` and `n` to i18n wrapper
userquin 380b2f0
chore: revert vscode settings
userquin 605b0d7
fix: hydration missmatch in elk nav title link
userquin 1b206f8
chore: revert isHydrated
userquin d49685f
chore: revert isHydrated
userquin be1b161
chore: fix filter text
userquin 1ca7801
chore: revert isHydrated
userquin 5443c4d
chore: revert isHydrated
userquin dd1243e
chore: revert isHydrated
userquin 4fc72c3
chore: revert isHydrated
userquin 4bd6998
chore: revert isHydrated
userquin a9a5c69
chore: revert isHydrated
userquin f8d799c
chore: revert isHydrated
userquin c466784
chore: revert isHydrated
userquin 9a147d5
chore: revert isHydrated
userquin 559bd58
chore: revert isHydrated
userquin e2eb772
chore: revert isHydrated
userquin b73bcb6
chore: revert isHydrated
userquin 191d510
chore: revert isHydrated
userquin 3ae30ef
chore: revert isHydrated
userquin 5bf61ae
chore: revert isHydrated
userquin 5c71e8f
chore: revert isHydrated
userquin 790e739
chore: update i18n wrapper logic
userquin 20be874
chore: revert isHydrated
userquin b29d202
chore: revert isHydrated
userquin 2559198
chore: revert v-if and use v-show
userquin 35bd896
chore: use setup i18n plugin for client and server
userquin e73d417
chore: revert shallow ref
userquin b52ec18
chore: remove isHydrated from tabs
userquin 2c37b14
chore: use `$t` in public/index.vue page
userquin 6f81091
chore: use `$t` in public/index.vue page
userquin 5794a19
chore: change div wrapper with span and use newHandle to change account
userquin 3e606f6
chore: remove isHydrated from notifications page
userquin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ defineProps<Props>() | |
|
||
<template> | ||
<VTooltip | ||
v-if="isHydrated" | ||
v-bind="$attrs" | ||
auto-hide | ||
> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -362,20 +362,20 @@ export function useUserLocalStorage<T extends object>(key: string, initial: () = | |
// Backward compatibility, respect webDomain in acct | ||
// In previous versions, acct was username@server instead of username@webDomain | ||
// for example: [email protected] instead of [email protected] | ||
// if (!all.value[id]) { // TODO: add back this condition in the future | ||
const [username, webDomain] = id.split('@') | ||
const server = currentServer.value | ||
if (webDomain && server && server !== webDomain) { | ||
const oldId = `${username}@${server}` | ||
const outdatedSettings = all.value[oldId] | ||
if (outdatedSettings) { | ||
const newAllValue = { ...all.value, [id]: outdatedSettings } | ||
delete newAllValue[oldId] | ||
all.value = newAllValue | ||
if (!all.value[id]) { | ||
const [username, webDomain] = id.split('@') | ||
const server = currentServer.value | ||
if (webDomain && server && server !== webDomain) { | ||
const oldId = `${username}@${server}` | ||
const outdatedSettings = all.value[oldId] | ||
if (outdatedSettings) { | ||
const newAllValue = { ...all.value, [id]: outdatedSettings } | ||
delete newAllValue[oldId] | ||
all.value = newAllValue | ||
} | ||
} | ||
all.value[id] = Object.assign(initial(), all.value[id] || {}) | ||
} | ||
// } | ||
all.value[id] = Object.assign(initial(), all.value[id] || {}) | ||
return all.value[id] | ||
}) | ||
}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -150,6 +150,9 @@ | |
"[email protected]": "patches/[email protected]" | ||
} | ||
}, | ||
"resolutions": { | ||
"vue": "^3.4.19" | ||
}, | ||
"simple-git-hooks": { | ||
"pre-commit": "pnpm lint-staged" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could probably remove the ones that would be detected by the scanner, but I think it is ok for now to include all of these 👍🏼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some dependencies only detected when matching the case: for example, github-reserved-names and file-saver when visiting the settings > users and about pages
When visiting a new page and found a new entry in the console I just add them to the list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perfect 👍🏼