Skip to content

Feature: detail panel select#360

Open
rahzbob wants to merge 10 commits intomainfrom
feature/detail_panel_select
Open

Feature: detail panel select#360
rahzbob wants to merge 10 commits intomainfrom
feature/detail_panel_select

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
@rahzbob rahzbob requested review from Zorin95670, aboubakar14, justinehell, k-y0u and mumpkin and removed request for Zorin95670 and k-y0u September 7, 2023 12:30
@justinehell justinehell force-pushed the feature/detail_panel_select branch from 0cbe482 to 95a4a95 Compare September 12, 2023 14:22
/**
* 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

@justinehell justinehell force-pushed the feature/detail_panel_select branch from 95a4a95 to d51cce5 Compare September 13, 2023 16:39
@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

@sonarqubecloud
Copy link

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