Skip to content

Conversation

@AlexAndBear
Copy link
Contributor

Description

image

Related Issue

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR polishes the account page design by updating table layouts and component styles, improving consistency across the account-related components.

  • Updated snapshot files to include explicit colgroup definitions for table column widths.
  • Modified the AppTokens component to adjust button styling and table layout.
  • Refactored the AccountTable component with a new responsive design for column widths.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/web-runtime/tests/unit/pages/snapshots/account.spec.ts.snap Added colgroup elements to define table column widths.
packages/web-runtime/src/components/Account/AppTokens.vue Updated table styling, button appearance, and icon size; removed scoped styling from the style block.
packages/web-runtime/src/components/Account/AccountTable.vue Introduced colgroup and responsive media query adjustments for table columns.
Comments suppressed due to low confidence (1)

packages/web-runtime/src/components/Account/AppTokens.vue:49

  • The removal of the tooltip directive and associated aria-label may impact accessibility. Consider retaining or replacing these attributes to ensure the button remains accessible.
v-oc-tooltip="$gettext('Delete app token')"

</script>

<style lang="scss" scoped>
<style lang="scss">
Copy link

Copilot AI May 19, 2025

Choose a reason for hiding this comment

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

The removal of the scoped attribute from the style block in the AppTokens component may lead to unintended global style side effects. Consider adding a comment explaining the rationale behind this change or reintroducing scoping if isolated styling is desired.

Suggested change
<style lang="scss">
<style lang="scss" scoped>

Copilot uses AI. Check for mistakes.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

👎

@AlexAndBear AlexAndBear merged commit 9afa47b into main May 20, 2025
18 checks passed
@AlexAndBear AlexAndBear deleted the issues/698 branch May 20, 2025 13:28
@openclouders openclouders mentioned this pull request May 20, 2025
1 task
@openclouders openclouders mentioned this pull request Jun 2, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Design polishing Account Page

3 participants