Skip to content
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

Load labels automatically from Console #349

Open
Jonny1987 opened this issue Jun 10, 2024 · 3 comments
Open

Load labels automatically from Console #349

Jonny1987 opened this issue Jun 10, 2024 · 3 comments
Labels
feature request New feature or request

Comments

@Jonny1987
Copy link

Describe the bug
The label question is not asked

Stacktrace
There is no error/stacktrace

Wiredash SDK Info
2.1.2 (also tried with 2.1.1)

Flutter SDK
3.22.0
No issues in flutter doctor

Screenshots
Screenshot_20240610-235411
Screenshot_20240610-235417

@Jonny1987 Jonny1987 added the bug Something isn't working label Jun 10, 2024
@passsy
Copy link
Member

passsy commented Jun 10, 2024

The labels are only shown when you add labels to the Wiredash widget like this:

 return Wiredash(
      projectId: "Project ID from console.wiredash.io",
      secret: "API Key from console.wiredash.io",
      feedbackOptions: WiredashFeedbackOptions(
        labels: [
          // Take the label ids from your project console
          // https://wiredash.com/console/ -> Settings -> Labels
          Label(
            id: 'lbl-r65egsdf',
            title: 'Bug',
          ),
          Label(
            id: 'lbl-6543df23s',
            title: 'Improvement',
          ),
          Label(
            id: 'lbl-de3w2fds',
            title: 'UX/UI',
          ),
          Label(
            id: 'lbl-2r98yas4',
            title: 'Payment',
          ),
        ],
      ),

@Jonny1987
Copy link
Author

Why doesn't wiredash automatically get these from the server since they are already defined using the console?

@passsy
Copy link
Member

passsy commented Jun 11, 2024

Defining them in the app, gives you some advantages, which we can't achieve remotely:

  • localization
  • add/remove labels based on the app flavour
  • add/remove labels based on user profile

We see that not all are relevant for all projects. We are considering loading them automatically in the future from the console 👍

I keep this issue open to track the progress

@passsy passsy added feature request New feature or request and removed bug Something isn't working labels Jun 11, 2024
@passsy passsy changed the title Label question not asked Load labels automatically from Console Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants