Skip to content

Update admin UI#151

Merged
amalshaji merged 9 commits intomainfrom
server-upgrade
Apr 5, 2025
Merged

Update admin UI#151
amalshaji merged 9 commits intomainfrom
server-upgrade

Conversation

@amalshaji
Copy link
Owner

@amalshaji amalshaji commented Apr 5, 2025

Screenshot 2025-04-05 at 8 38 52 PM

And more

@amalshaji amalshaji requested a review from Copilot April 5, 2025 14:38
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.

Copilot reviewed 40 out of 55 changed files in this pull request and generated no comments.

Files not reviewed (15)
  • admin/web/package.json: Language not supported
  • admin/web/src/lib/components/data-table.svelte: Language not supported
  • admin/web/src/lib/components/error.svelte: Language not supported
  • admin/web/src/lib/components/new-team-dialog.svelte: Language not supported
  • admin/web/src/lib/components/sidebarlink.svelte: Language not supported
  • admin/web/src/lib/components/team-selector.svelte: Language not supported
  • admin/web/src/lib/components/ui/alert-dialog/alert-dialog-content.svelte: Language not supported
  • admin/web/src/lib/components/ui/avatar/avatar-fallback.svelte: Language not supported
  • admin/web/src/lib/components/ui/avatar/avatar.svelte: Language not supported
  • admin/web/src/lib/components/ui/card/card.svelte: Language not supported
  • admin/web/src/lib/components/ui/checkbox/checkbox.svelte: Language not supported
  • admin/web/src/lib/components/ui/dialog/dialog-content.svelte: Language not supported
  • admin/web/src/lib/components/ui/dialog/dialog-description.svelte: Language not supported
  • admin/web/src/lib/components/ui/dialog/dialog-footer.svelte: Language not supported
  • admin/web/src/lib/components/ui/dialog/dialog-header.svelte: Language not supported
Comments suppressed due to low confidence (2)

admin/main.py:100

  • [nitpick] The route change from '/settings' to '/email-settings' should be clearly documented to ensure that all relevant parts of the system are updated accordingly.
@app.get("/{team}/email-settings")

admin/apis/v1/config.py:82

  • [nitpick] The key 'server_uptime' might be misleading since it holds the server's start time; consider renaming it to 'server_start_time' or computing the actual uptime if that is the intended behavior.
"server_uptime": request.app.state.server_start_time,

@amalshaji amalshaji requested a review from Copilot April 5, 2025 14:47
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.

Copilot reviewed 40 out of 55 changed files in this pull request and generated no comments.

Files not reviewed (15)
  • admin/web/package.json: Language not supported
  • admin/web/src/lib/components/data-table.svelte: Language not supported
  • admin/web/src/lib/components/error.svelte: Language not supported
  • admin/web/src/lib/components/new-team-dialog.svelte: Language not supported
  • admin/web/src/lib/components/sidebarlink.svelte: Language not supported
  • admin/web/src/lib/components/team-selector.svelte: Language not supported
  • admin/web/src/lib/components/ui/alert-dialog/alert-dialog-content.svelte: Language not supported
  • admin/web/src/lib/components/ui/avatar/avatar-fallback.svelte: Language not supported
  • admin/web/src/lib/components/ui/avatar/avatar.svelte: Language not supported
  • admin/web/src/lib/components/ui/card/card.svelte: Language not supported
  • admin/web/src/lib/components/ui/checkbox/checkbox.svelte: Language not supported
  • admin/web/src/lib/components/ui/dialog/dialog-content.svelte: Language not supported
  • admin/web/src/lib/components/ui/dialog/dialog-description.svelte: Language not supported
  • admin/web/src/lib/components/ui/dialog/dialog-footer.svelte: Language not supported
  • admin/web/src/lib/components/ui/dialog/dialog-header.svelte: Language not supported
Comments suppressed due to low confidence (4)

admin/web/src/lib/components/ui/button/index.ts:6

  • [nitpick] The change from 'rounded-md' to 'rounded-sm' affects multiple components; please verify that this adjustment aligns with the overall design guidelines for consistent UI styling.
base: "inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"

admin/web/src/lib/components/ui/alert/index.ts:8

  • [nitpick] The reduction in border radius from 'rounded-lg' to 'rounded-sm' should be confirmed as an intentional design update across the UI components.
base: "relative w-full rounded-sm border px-4 py-3 text-sm [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground"

admin/main.py:100

  • Changing the endpoint from '/{team}/settings' to '/{team}/email-settings' may have wider implications; please ensure that this new naming clearly communicates its purpose and is updated in all relevant parts of the system.
@app.get("/{team}/email-settings")

admin/apis/v1/config.py:59

  • [nitpick] The new 'get_stats' endpoint name is quite generic; consider renaming it to be more descriptive (e.g., 'get_config_stats') to clearly differentiate it from other stats endpoints.
@api.get("/stats")

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Apr 5, 2025

Deploying portr with  Cloudflare Pages  Cloudflare Pages

Latest commit: 53d63cc
Status: ✅  Deploy successful!
Preview URL: https://c1e6707d.portr.pages.dev
Branch Preview URL: https://server-upgrade.portr.pages.dev

View logs

@amalshaji amalshaji merged commit e179625 into main Apr 5, 2025
1 check passed
@amalshaji amalshaji deleted the server-upgrade branch April 5, 2025 15:14
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