Skip to content

Fix/selected resource typte id url param - #1033

Open
BeriBoss wants to merge 5 commits into
masterfrom
fix/selected-resource-typte-id-url-param
Open

Fix/selected resource typte id url param#1033
BeriBoss wants to merge 5 commits into
masterfrom
fix/selected-resource-typte-id-url-param

Conversation

@BeriBoss

@BeriBoss BeriBoss commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Fix URL parameter selection bug and refactor resource selection logic

  • Fixed URL parameter selectedResourceTypeId being ignored on resources page by changing autoSelectTrigger from computed to effect
  • Added default selection to autoSelectTrigger to select first root type when no URL parameter is provided
  • Removed selectedResourceTypeOrDefault and redundant selection property to eliminate race conditions
  • Code quality improvements: renamed methods, simplified array checks, fixed error messages
  • Updated template to use selectedResourceType() signal consistently

@BeriBoss
BeriBoss requested a review from StephGit July 29, 2026 14:19
@BeriBoss
BeriBoss marked this pull request as draft August 3, 2026 12:38
@BeriBoss
BeriBoss force-pushed the fix/selected-resource-typte-id-url-param branch from 7389756 to 4d6906a Compare August 3, 2026 13:58
@BeriBoss BeriBoss self-assigned this Aug 3, 2026
@BeriBoss
BeriBoss marked this pull request as ready for review August 3, 2026 14:01

@StephGit StephGit left a comment

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.

The fix adds a new bug, when selecting a parent-type with children, users have to click twice before list is collapsed

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