feat: This adds a huge amount of changes #21
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rdenadai/web.redecapivara.social!21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rdenadai/improvements-add-create-account-others"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request introduces several UI improvements, dependency updates, and code cleanups. The most significant changes include the addition of an emoji picker component, enhancements to the social post actions (including a repost/quote menu), removal of the custom modal component, and various style and accessibility improvements throughout the codebase.
UI Feature Additions and Enhancements:
EmojisView.vuecomponent using theunicode-emoji-pickerlibrary to provide a modern emoji picker, and updated dependencies inpackage.jsonto include this library. [1] [2]SocialPostActions.vuewith a dropdown menu for reposting, removing reposts, and quoting posts, including click-outside detection and improved like/repost logic. [1] [2] [3] [4]Component and Codebase Cleanup:
BaseModal.vuecomponent, possibly in favor of another modal solution or as part of a cleanup.Styling and Accessibility Improvements:
ImageList.vue,ParsedPost.vue, andExternalElement.vue. [1] [2] [3] [4] [5] [6]ToastNotification.vue.App Shell and Manifest Changes:
manifest.json) and its references fromindex.html, indicating a move away from PWA features. [1] [2]robots.txtto allow all crawlers.Session and Connectivity Handling:
App.vueto improve session checking, token auto-refresh, and connection status handling, including removal of the inline offline indicator in favor of toast notifications. [1] [2]Overall, these changes modernize the UI, improve user interactions, and clean up unused or redundant code.
Pull Request Overview
This pull request introduces extensive UI improvements, dependency updates, and code modernization. The main focus is on adding a comprehensive post creation system with emoji picker support, enhanced social actions for posts (like/repost/quote functionality), and significant PWA configuration improvements.
Reviewed Changes
Copilot reviewed 37 out of 38 changed files in this pull request and generated 11 comments.
Show a summary per file
vite.config.jssrc/views/logged/modal/CreatePostView.vuesrc/components/EmojisView.vuesrc/components/SocialPostActions.vuesrc/services/atproto.jssrc/stores/auth.jsTip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
@ -27,41 +16,54 @@</template>The variable 'intervalId' is not defined in this component. It should be 'autoRefreshTokenIntervalId.value' to match the variable declared on line 33.
@ -61,52 +76,110 @@/>Error messages are concatenating string with error object. Should use template literals or pass error.message to provide meaningful error information to users.
Error messages are concatenating string with error object. Should use template literals or pass error.message to provide meaningful error information to users.
Error messages are concatenating string with error object. Should use template literals or pass error.message to provide meaningful error information to users.
@ -33,0 +33,4 @@export async function atprotoLogout(serverUrl, accessToken, refreshJwt) {const client = createAuthClient(serverUrl, accessToken)const response = await client.post('/xrpc/com.atproto.server.deleteSession', {headers: { authorization: `Bearer ${refreshJwt}` },The Authorization header should use capital 'A' for consistency with HTTP standards. Change 'authorization' to 'Authorization'.
@ -31,35 +31,36 @@ export const useAuthStore = defineStore("auth", () => {did: data.did,Remove debug console.log statements before production deployment.
Redundant condition checking 'accessToken.value' twice. The second check should likely be '!refreshToken.value'.
Remove debug console.log statements before production deployment.
@ -26,10 +26,12 @@<span class="text-sm text-capivara-stone/60 font-mono">@{{ profileData?.handle }}</span>Debug template code showing raw post object should be removed before production deployment.
Remove debug console.log statement before production deployment.
@ -0,0 +1,289 @@<template>Remove debug console.log statement before production deployment.