Skip to content

Next: Project Management #1856

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

Merged
merged 70 commits into from
Apr 30, 2025
Merged

Next: Project Management #1856

merged 70 commits into from
Apr 30, 2025

Conversation

niemyjski
Copy link
Member

@niemyjski niemyjski commented Mar 11, 2025

Adding ability to list, add, configure and manage projects.

image
image

@niemyjski niemyjski force-pushed the feature/next-project-management branch from f49afbc to b8c32b9 Compare April 28, 2025 13:57
Copy link

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.AppHost 18% 6% 87
Exceptionless.Web 44% 32% 2938
Exceptionless.Core 66% 44% 8566
Exceptionless.Insulation 27% 24% 231
Summary 57% (9901 / 17221) 40% (3914 / 9690) 11822

Copy link

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.AppHost 18% 6% 87
Exceptionless.Web 44% 32% 2938
Exceptionless.Core 66% 44% 8566
Exceptionless.Insulation 27% 24% 231
Summary 57% (9900 / 17221) 40% (3912 / 9690) 11822

@niemyjski niemyjski requested review from Copilot and ejsmith April 30, 2025 13:21
@niemyjski niemyjski self-assigned this Apr 30, 2025
Copy link

@Copilot 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 adds project management capabilities while refactoring and enhancing OAuth authentication and query key consistency. Key changes include:

  • Updating the query key for stack count queries to include request parameters.
  • Adding Slack OAuth login support and refactoring related authentication functions.
  • Updating internal documentation and guidelines.

Reviewed Changes

Copilot reviewed 168 out of 184 changed files in this pull request and generated 2 comments.

File Description
src/Exceptionless.Web/ClientApp/src/lib/features/events/api.svelte.ts Updated query key in getStackCountQuery to incorporate additional parameters.
src/Exceptionless.Web/ClientApp/src/lib/features/auth/index.svelte.ts Added Slack OAuth login support and refactored OAuth helper functions with improved error handling.
src/Exceptionless.Web/ClientApp/resources.md Introduced internal notes regarding migration to Svelte's class directive and model generation.
.github/copilot-instructions.md Updated code style instructions related to single-line control statements.
Files not reviewed (16)
  • .vscode/launch.json: Language not supported
  • .vscode/settings.json: Language not supported
  • src/Exceptionless.Web/ClientApp/.npmrc: Language not supported
  • src/Exceptionless.Web/ClientApp/package.json: Language not supported
  • src/Exceptionless.Web/ClientApp/src/lib/features/events/components/events-overview.svelte: Language not supported
  • src/Exceptionless.Web/ClientApp/src/lib/features/events/components/extended-data-item.svelte: Language not supported
  • src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/boolean-faceted-filter-trigger.svelte: Language not supported
  • src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/date-faceted-filter-trigger.svelte: Language not supported
  • src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/level-faceted-filter-trigger.svelte: Language not supported
  • src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/number-faceted-filter-trigger.svelte: Language not supported
  • src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/project-faceted-filter-trigger.svelte: Language not supported
  • src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/project-faceted-filter.svelte: Language not supported
  • src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/reference-faceted-filter-trigger.svelte: Language not supported
  • src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/session-faceted-filter-trigger.svelte: Language not supported
  • src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/status-faceted-filter-trigger.svelte: Language not supported
  • src/Exceptionless.Web/ClientApp/src/lib/features/events/components/filters/string-faceted-filter-trigger.svelte: Language not supported

@@ -230,7 +230,7 @@ export function getStackCountQuery(request: GetStackCountRequest) {

return response.data!;
},
queryKey: queryKeys.stacksCount(request.route.stackId)
queryKey: [...queryKeys.stacksCount(request.route.stackId), { params: request.params }]
Copy link
Preview

Copilot AI Apr 30, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider clarifying or documenting the addition of { params: request.params } in the query key to ensure it aligns with caching best practices and does not unintentionally affect cache consistency.

Suggested change
queryKey: [...queryKeys.stacksCount(request.route.stackId), { params: request.params }]
queryKey: [...queryKeys.stacksCount(request.route.stackId), { params: JSON.stringify(request.params) }]

Copilot uses AI. Check for mistakes.

@@ -5,6 +5,8 @@
### TODO

- Investigate loading data in - export function load({ url, fetch }) {}
- <https://svelte.dev/docs/svelte/class#The-class:-directive> migrate from cn / cslx
Copy link
Preview

Copilot AI Apr 30, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider providing more context or clarifying the note 'migrate from cn / cslx' to improve internal documentation clarity.

Suggested change
- <https://svelte.dev/docs/svelte/class#The-class:-directive> migrate from cn / cslx
- <https://svelte.dev/docs/svelte/class#The-class:-directive> Migrate from "cn" (class names) and "cslx" (class string library) to a unified approach. Consider using a modern utility like "clsx" or "classnames" for managing class names.

Copilot uses AI. Check for mistakes.

@niemyjski niemyjski marked this pull request as ready for review April 30, 2025 13:25
@niemyjski niemyjski merged commit 1b8d6aa into main Apr 30, 2025
6 checks passed
@niemyjski niemyjski deleted the feature/next-project-management branch April 30, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant