Skip to content

fix: modernize sessions table component#2220

Merged
ItzNotABug merged 4 commits into
mainfrom
fix-SER-278-Old-design-system-table-sessions
Aug 24, 2025
Merged

fix: modernize sessions table component#2220
ItzNotABug merged 4 commits into
mainfrom
fix-SER-278-Old-design-system-table-sessions

Conversation

@HarshMN2345

@HarshMN2345 HarshMN2345 commented Aug 14, 2025

Copy link
Copy Markdown
Member

What does this PR do?

Replace old table components with modern Table.Root from pink-svelte

Test Plan

image image

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

yes

@appwrite

appwrite Bot commented Aug 14, 2025

Copy link
Copy Markdown

Console

Project ID: 688b7bf400350cbd60e9

Sites (2)
Site Status Logs Preview QR
 console-qa
688b7cf6003b1842c9dc
Ready Ready View Logs Preview URL QR Code
 console-cloud
688b7c18002b9b871a8f
Ready Ready View Logs Preview URL QR Code

Note

Appwrite has a Discord community with over 16 000 members.

@HarshMN2345 HarshMN2345 requested a review from ItzNotABug August 14, 2025 08:55
@HarshMN2345 HarshMN2345 self-assigned this Aug 14, 2025
height="20"
width="20"
src={getBrowser(session.clientCode).toString()}
style="--p-text-size: 1.25rem"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need a text size on img?

{:else}
<span
class="icon-globe-alt"
style="--p-text-size: 1.25rem"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty tag, same as above unless this is intentional.

@HarshMN2345 HarshMN2345 requested a review from ItzNotABug August 24, 2025 10:36
src={getBrowser(session.clientCode).toString()}
alt={session.clientName} />
{:else}
<span class="icon-globe-alt" aria-hidden="true"> </span>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the Icon component.

{/each}
</TableBody>
</TableScroll>
<p class="text">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need paragraph tag here?

@ItzNotABug ItzNotABug merged commit 95a8e69 into main Aug 24, 2025
4 checks passed
@ItzNotABug ItzNotABug deleted the fix-SER-278-Old-design-system-table-sessions branch August 24, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants