feat(modelStyles): add logic to color all model_component by type#356
Open
MaxNumerique wants to merge 46 commits intonextfrom
Open
feat(modelStyles): add logic to color all model_component by type#356MaxNumerique wants to merge 46 commits intonextfrom
MaxNumerique wants to merge 46 commits intonextfrom
Conversation
…Geode-solutions/OpenGeodeWeb-Front into feat/model-component-type-color
…pes and specifics model components
…use for both specific model components and groups of model_components
…b-Front into feat/model-component-type-color
…Geode-solutions/OpenGeodeWeb-Front into feat/model-component-type-color
…Geode-solutions/OpenGeodeWeb-Front into feat/model-component-type-color
…b-Front into feat/model-component-type-color
…Geode-solutions/OpenGeodeWeb-Front into feat/model-component-type-color
| @@ -0,0 +1,4 @@ | |||
| export const modelComponentTypeDataStyleTable = { | |||
| name: "model_component_type_datastyle", | |||
| schema: "[id_model+type], id_model", | |||
Member
There was a problem hiding this comment.
Cette table ne stocke pas le DataStyle ?
Contributor
Author
There was a problem hiding this comment.
Sont stockées directement à la racine de l'objet plutôt que dans une propriété data_style imbriquée. Simplifie les mutations via Dexie et l'accès dans le store modelComponentTypeStyles.
Dans la DB :
{id_model: '71b458eb35a3486db7131a8b80e6adf4', type: 'Surface', color_mode: 'random'}
color_mode
:
"random"
id_model
:
"71b458eb35a3486db7131a8b80e6adf4"
type
:
"Surface"
…b-Front into feat/model-component-type-color
…b-Front into feat/model-component-type-color
…Geode-solutions/OpenGeodeWeb-Front into feat/model-component-type-color
…Geode-solutions/OpenGeodeWeb-Front into feat/model-component-type-color
…b-Front into feat/model-component-type-color
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.