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

PY-53 Subscription Force Renewal Button #3153

Merged
merged 3 commits into from
Jan 15, 2025
Merged
Changes from 1 commit
Commits
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
Prev Previous commit
update copy
Signed-off-by: Evan Song <[email protected]>
ferothefox committed Jan 15, 2025
commit b10df891d6f5961a25ea9a041922c07992c6bb2d
3 changes: 2 additions & 1 deletion apps/frontend/src/pages/settings/billing/index.vue
Original file line number Diff line number Diff line change
@@ -270,7 +270,8 @@
v-else-if="getPyroCharge(subscription).status === 'failed'"
class="text-sm text-red"
>
Your subscription payment failed. Please update your payment method.
Your subscription payment failed. Please update your payment method, then
resubscribe.
</span>
</div>
</div>

Unchanged files with check annotations Beta

<div
style="width: 100%"
class="markdown-body"
v-html="renderHighlightedString(linkMarkdown)"

Check warning on line 44 in packages/ui/src/components/base/MarkdownEditor.vue

GitHub Actions / Build, Test, and Lint

'v-html' directive can lead to XSS attack
/>
</div>
<div class="input-group push-right">
<div
style="width: 100%"
class="markdown-body"
v-html="renderHighlightedString(imageMarkdown)"

Check warning on line 131 in packages/ui/src/components/base/MarkdownEditor.vue

GitHub Actions / Build, Test, and Lint

'v-html' directive can lead to XSS attack
/>
</div>
<div class="input-group push-right">
<div
style="width: 100%"
class="markdown-body"
v-html="renderHighlightedString(videoMarkdown)"

Check warning on line 185 in packages/ui/src/components/base/MarkdownEditor.vue

GitHub Actions / Build, Test, and Lint

'v-html' directive can lead to XSS attack
/>
</div>
<div class="input-group push-right">
<div
style="width: 100%"
class="markdown-body"
v-html="renderHighlightedString(currentValue ?? '')"

Check warning on line 258 in packages/ui/src/components/base/MarkdownEditor.vue

GitHub Actions / Build, Test, and Lint

'v-html' directive can lead to XSS attack
/>
</div>
</div>
@mouseleave="setNotificationTimer(item)"
>
<div class="vue-notification-template vue-notification" :class="{ [item.type]: true }">
<div class="notification-title" v-html="item.title"></div>

Check warning on line 13 in packages/ui/src/components/base/Notifications.vue

GitHub Actions / Build, Test, and Lint

'v-html' directive can lead to XSS attack
<div class="notification-content" v-html="item.text"></div>

Check warning on line 14 in packages/ui/src/components/base/Notifications.vue

GitHub Actions / Build, Test, and Lint

'v-html' directive can lead to XSS attack
</div>
</div>
</transition-group>
const allSelected = ref(false)
const model = defineModel()

Check warning on line 29 in packages/ui/src/components/content/ContentListPanel.vue

GitHub Actions / Build, Test, and Lint

Prop "modelValue" should define at least its type
function updateSelection() {
model.value = selected.value
</slot>
</template>
<div>
<div class="markdown-body max-w-[35rem]" v-html="renderString(description)" />

Check warning on line 9 in packages/ui/src/components/modal/ConfirmModal.vue

GitHub Actions / Build, Test, and Lint

'v-html' directive can lead to XSS attack
<label v-if="hasToType" for="confirmation" class="confirmation-label">
<span>
<strong>To verify, type</strong>
<template>
<div class="markdown-body" v-html="renderHighlightedString(description ?? '')" />

Check warning on line 2 in packages/ui/src/components/project/ProjectPageDescription.vue

GitHub Actions / Build, Test, and Lint

'v-html' directive can lead to XSS attack
</template>
<script setup lang="ts">
import { renderHighlightedString } from '@modrinth/utils'
:action="() => router.push(`/${project.project_type}s?g=categories:${platform}`)"
:style="`--_color: var(--color-platform-${platform})`"
>
<svg v-html="tags.loaders.find((x) => x.name === platform).icon"></svg>

Check warning on line 24 in packages/ui/src/components/project/ProjectSidebarCompatibility.vue

GitHub Actions / Build, Test, and Lint

'v-html' directive can lead to XSS attack
{{ formatCategory(platform) }}
</TagItem>
</div>