-
-
Notifications
You must be signed in to change notification settings - Fork 515
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
Next: Project Management #1856
Conversation
f49afbc
to
b8c32b9
Compare
There was a problem hiding this 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 }] |
There was a problem hiding this comment.
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.
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 |
There was a problem hiding this comment.
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.
- <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.
Adding ability to list, add, configure and manage projects.