-
Notifications
You must be signed in to change notification settings - Fork 0
Revert "chore: Keep working with all transitions" #171
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| <template> | ||
| <div class="relative min-h-[200px] fade-transition-wrapper"> | ||
| <transition name="fade" appear> | ||
| <div class="relative min-h-[200px]"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve accessibility, consider adding |
||
| <transition name="fade" appear mode="out-in"> | ||
| <WidgetSocialSkeletonPartial v-if="isLoading" key="skeleton" /> | ||
| <WidgetSocialPartial v-else key="social" :social="social" /> | ||
| </transition> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -52,8 +52,8 @@ | |
|
|
||
| <div class="mt-5 space-y-5"> | ||
| <h2 class="h2 font-aspekta text-slate-700 dark:text-slate-300">Let's Connect</h2> | ||
| <div class="relative min-h-[5rem] fade-transition-wrapper"> | ||
| <transition name="fade" appear> | ||
| <div class="relative min-h-[5rem]"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve accessibility, consider adding |
||
| <transition name="fade" appear mode="out-in"> | ||
| <p v-if="profile" key="connect"> | ||
| I'm happy to connect by | ||
| <a v-lazy-link class="blog-link" title="send me an email" aria-label="send me an email" :href="`mailto:${profile.email}`"> email </a> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,9 +27,9 @@ | |
| </RouterLink> | ||
| </div> | ||
|
|
||
| <div class="relative min-h-[25rem] fade-transition-wrapper"> | ||
| <transition name="fade" appear> | ||
| <PostPageSkeletonPartial v-if="isLoading" key="skeleton" aria-hidden="true" /> | ||
| <div class="relative min-h-[25rem]"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve accessibility, consider adding |
||
| <transition name="fade" appear mode="out-in"> | ||
| <PostPageSkeletonPartial v-if="isLoading" key="skeleton" /> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This revert removes |
||
|
|
||
| <article v-else-if="post" key="post"> | ||
| <!-- Post header --> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,8 +30,8 @@ | |
| </div> | ||
| <section> | ||
| <h2 class="font-aspekta text-xl font-[650] mb-6">Open Source / Client Projects</h2> | ||
| <div class="relative min-h-[25rem] fade-transition-wrapper"> | ||
| <transition name="fade" appear> | ||
| <div class="relative min-h-[25rem]"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve accessibility, consider adding |
||
| <transition name="fade" appear mode="out-in"> | ||
| <div v-if="isLoadingProjects" key="loading" data-testid="projects-skeleton-grid" class="blog-projects-grid"> | ||
| <ProjectCardSkeletonPartial | ||
| v-for="index in skeletonCount" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,8 +29,8 @@ | |
| </a> | ||
| </nav> | ||
| <!-- Page content --> | ||
| <div class="text-slate-500 dark:text-slate-400 relative fade-transition-wrapper"> | ||
| <transition name="fade" appear> | ||
| <div class="text-slate-500 dark:text-slate-400 relative"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve accessibility, consider adding |
||
| <transition name="fade" appear mode="out-in"> | ||
| <div v-if="shouldShowSkeleton" key="skeleton" :class="['space-y-12', resumeSectionsTotalHeight]"> | ||
| <ResumePageSkeletonPartial :show-refresh-button="hasProfileError" @retry="refreshResumePage" /> | ||
| </div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,8 +45,8 @@ | |
|
|
||
| <section role="status"> | ||
| <h2 class="font-aspekta text-xl font-[650] mb-6">Articles</h2> | ||
| <div class="relative min-h-[20rem] fade-transition-wrapper"> | ||
| <transition name="fade" appear> | ||
| <div class="relative min-h-[20rem]"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's great that the parent |
||
| <transition name="fade" appear mode="out-in"> | ||
| <div v-if="isLoading" key="skeleton" class="space-y-5" data-testid="tag-posts-skeleton"> | ||
| <ArticleItemSkeletonPartial v-for="skeleton in skeletonCount" :key="`tag-post-skeleton-${skeleton}`" /> | ||
| </div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,8 +21,8 @@ | |
| </ul> | ||
|
|
||
| <!-- Articles list --> | ||
| <div class="relative min-h-[24rem] fade-transition-wrapper"> | ||
| <transition name="fade" appear> | ||
| <div class="relative min-h-[24rem]"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve accessibility, consider adding |
||
| <transition name="fade" appear mode="out-in"> | ||
| <div v-if="isLoading" key="skeleton" aria-busy="true" class="min-h-[24rem]"> | ||
| <ArticleItemSkeletonPartial v-for="skeleton in skeletonCount" :key="`article-skeleton-${skeleton}`" /> | ||
| </div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,8 +3,8 @@ | |
| <h2 class="font-aspekta text-xl font-[650] mb-5">Open-Source Projects</h2> | ||
|
|
||
| <!-- Cards --> | ||
| <div class="relative min-h-[300px] fade-transition-wrapper"> | ||
| <transition name="fade" appear> | ||
| <div class="relative min-h-[300px]"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve accessibility, consider adding |
||
| <transition name="fade" appear mode="out-in"> | ||
| <div v-if="isLoading" key="loading" class="blog-projects-grid"> | ||
| <ProjectCardSkeletonPartial v-for="index in 2" :key="`featured-project-skeleton-${index}`" wrapper-class="odd:-rotate-1 even:rotate-1" /> | ||
| </div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,8 +3,8 @@ | |
| <h2 class="font-aspekta text-xl font-[650] mb-5">Popular Talks</h2> | ||
|
|
||
| <!-- Cards --> | ||
| <div class="relative min-h-[300px] fade-transition-wrapper"> | ||
| <transition name="fade" appear> | ||
| <div class="relative min-h-[300px]"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve accessibility, consider adding |
||
| <transition name="fade" appear mode="out-in"> | ||
| <div v-if="isLoadingTalks || talks.length === 0" key="skeleton" class="blog-projects-grid"> | ||
| <TalkCardSkeletonPartial v-for="index in 4" :key="`talk-skeleton-${index}`" :is-animated="isLoadingTalks && talks.length === 0" /> | ||
| </div> | ||
|
|
||
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.
To improve accessibility, consider adding
role="status"to this container. This will make it a live region, announcing to screen reader users when the content (e.g., switching from a skeleton loader to the actual content) has been updated. This pattern is already used inTagPostsPage.vue, and applying it here would improve consistency and user experience.