lepoco / lepoco/wpfui

I want to pass parameters to the page and use these parameters correctly when goback

Open
#706 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
9.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe

I want to pass parameters to the page and use these parameters correctly when goback。
Because the go back and Bread crumbs are navigation management, it is obviously unreasonable to deal with them externally.
The target page for navigation is not necessarily a navigation item, so it is not reasonable to use the INavigationViewItem for navigation stack data. We should use an independent model and attach the parameters required for the page, so that the page can be restored correctly when back and Bread crumbs are clicked.

Describe the solution you'd like

We can modify the navigation stack to use the Bread crumbs model, and add the parameters required by the page in the Bread crumbs model.

Describe alternatives you've considered

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the navigation stack, Breadcrumbs model, and the go-back and breadcrumb navigation entry points named in the issue. Determine how page parameters are currently passed and restored. Done means navigation can retain the required page parameters and restore the correct page when going back or selecting a breadcrumb.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.