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

Feature: detail panel select #360

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Conversation

rahzbob
Copy link
Member

@rahzbob rahzbob commented Aug 3, 2023

Resolve #305

@rahzbob rahzbob self-assigned this Aug 3, 2023
@rahzbob rahzbob marked this pull request as draft August 3, 2023 10:17
@rahzbob rahzbob force-pushed the feature/detail_panel_select branch 2 times, most recently from 208bca2 to 18e3cf4 Compare August 3, 2023 15:32
@rahzbob rahzbob force-pushed the feature/detail_panel_select branch 2 times, most recently from a6ddbc1 to 0cbe482 Compare September 7, 2023 09:36
@rahzbob rahzbob marked this pull request as ready for review September 7, 2023 12:30
/**
* Initialize the options for the select.
*/
function initOptions() {
Copy link
Member

Choose a reason for hiding this comment

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

duplicated x4


options.value = [{
type: 'category',
name: 'default',
Copy link
Member

Choose a reason for hiding this comment

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

i18n

})),
}, {
type: 'category',
name: 'variable',
Copy link
Member

Choose a reason for hiding this comment

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

i18n

@github-actions
Copy link

Checking /home/runner/work/leto-modelizer/leto-modelizer/package.json

 @quasar/app-webpack    =3.9.6  →  =3.11.0
 cypress              =12.17.4  →  =13.2.0
 monaco-editor         =0.41.0  →  =0.43.0
 quasar                =2.12.6  →  =2.12.7

Run npx npm-check-updates -x leto-modelizer* -u to upgrade package.json

@sonarcloud
Copy link

sonarcloud bot commented Sep 13, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

98.2% 98.2% Coverage
0.0% 0.0% Duplication

:key="child.name"
:item="child"
class="item-list"
@select-item="(value) => $emit('select-item', value)"
Copy link
Member

Choose a reason for hiding this comment

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

I would put something more specific than 'select-name' as the event name, maybe "'item-clicked" or something like that

const variables = ref(plugin.value.data.variables || []);

/**
* Initialize the options for the select.
Copy link
Member

Choose a reason for hiding this comment

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

Could you be a little more specific about the description ? Specially about the "for the select"

/**
* Initialize the options for the select.
*/
function initOptions() {
Copy link
Member

Choose a reason for hiding this comment

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

already used 3times. I would rather put this in some kind of utility file and import this function in the component

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.

Add variable in select in components detail panel
3 participants