-
Notifications
You must be signed in to change notification settings - Fork 2
Feat/datastyle dexie #319
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
Open
SpliiT
wants to merge
104
commits into
next
Choose a base branch
from
feat/datastyle_dexie
base: next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feat/datastyle dexie #319
Changes from all commits
Commits
Show all changes
104 commits
Select commit
Hold shift + click to select a range
f935557
feat(DataStyle_Dexie): Add DataStyle into Dexie
SpliiT e09493d
Merge branch 'next' of https://github.com/Geode-solutions/OpenGeodeWe…
SpliiT 4e6bc3e
datastyle state
SpliiT b92eb71
styling persistence and advanced model component picking
SpliiT 50bb1d6
implement persistent DataStyle in Dexie and optimize viewer picking
SpliiT c511290
rm useless function
SpliiT 409fa0d
add clear tables
SpliiT 7c6053a
Merge branch 'next' into feat/datastyle_dexie
SpliiT 3b99880
Apply prepare changes
SpliiT 9ff86e1
big changes, resolve merge conflicts and other
SpliiT 4cf90a6
Merge branch 'feat/datastyle_dexie' of https://github.com/Geode-solut…
SpliiT b12f51d
Apply prepare changes
SpliiT 06425b9
fix imports
SpliiT 22914c2
improve reactivity, color scaling, and test stability
SpliiT 25a37e2
Apply prepare changes
SpliiT 9e3577f
Added sleep because the assertions execute before the componentStyles…
SpliiT 346d301
Apply prepare changes
SpliiT c79bb7e
define used sleep
SpliiT c31486a
Merge branch 'feat/datastyle_dexie' of https://github.com/Geode-solut…
SpliiT deb6cf8
first comments edit
SpliiT 171c5a3
Merge branch 'next' into feat/datastyle_dexie
SpliiT 67c70a7
Apply prepare changes
SpliiT f909836
remove useless import
SpliiT 6da8bea
Fix mutate and updatestyle
SpliiT 2651e40
Apply prepare changes
SpliiT b9ff928
rm useless then
SpliiT 044c026
revert menu js
SpliiT f856219
Merge branch 'feat/datastyle_dexie' of https://github.com/Geode-solut…
SpliiT 188b138
Apply prepare changes
SpliiT 9dd23e7
remove if else
SpliiT ed3b7d1
resolve imports
SpliiT ad81e80
fix comments
SpliiT 2a74aa2
Apply prepare changes
SpliiT bfab407
rm line jumped
SpliiT b6b5ecf
Merge branch 'feat/datastyle_dexie' of https://github.com/Geode-solut…
SpliiT da48fa2
fix comments
SpliiT ff990cf
Apply prepare changes
SpliiT 847235b
fix and simplify
SpliiT fbdb161
Apply prepare changes
SpliiT e6ae33f
edges changes
SpliiT e074ece
Apply prepare changes
SpliiT 4b42ac8
changes with deep merge
SpliiT 90e91df
Merge branch 'feat/datastyle_dexie' of https://github.com/Geode-solut…
SpliiT f53283b
use lodash merge
SpliiT 5054aab
Apply prepare changes
SpliiT aba7a14
apply design for everyone, centralization of lodash/merge in state.js
SpliiT c61c814
Merge branch 'feat/datastyle_dexie' of https://github.com/Geode-solut…
SpliiT c93c8bb
Update app/components/Viewer/TreeComponent.vue
SpliiT 0d0625d
Apply prepare changes
SpliiT a87fa2a
Apply prepare changes
JulienChampagnol 5982cb2
color and format changes
SpliiT efe9a20
Merge branch 'feat/datastyle_dexie' of https://github.com/Geode-solut…
SpliiT 0640a9b
Apply prepare changes
SpliiT af13338
trigger
SpliiT b8e135c
revert breadcrumb
SpliiT ca1c200
edit filter
SpliiT 86a483a
rm || ...
SpliiT 2ce565f
erro management
SpliiT 7a2653d
rm useless function
SpliiT a8765c9
rm useless import
SpliiT 7d8c881
more specialized mutate
SpliiT 24c9332
Merge branch 'next' of https://github.com/Geode-solutions/OpenGeodeWe…
SpliiT 48071e3
Apply prepare changes
SpliiT 4078f32
Merge branch 'next' of https://github.com/Geode-solutions/OpenGeodeWe…
SpliiT 7cfcf98
Merge branch 'feat/datastyle_dexie' of https://github.com/Geode-solut…
SpliiT 5817c46
local import
SpliiT 890e681
local import v2
SpliiT 7591190
update test for new feature
SpliiT 65d6c24
Merge branch 'next' of https://github.com/Geode-solutions/OpenGeodeWe…
SpliiT 7ff386a
Apply prepare changes
SpliiT 1336841
oxlint fix
SpliiT f5254db
path
SpliiT 0ad2776
Apply prepare changes
SpliiT 3a9aebc
oxlint fix
SpliiT 0a59cd7
Apply prepare changes
SpliiT a46c045
edit infra
SpliiT 02aa4c1
Merge branch 'feat/datastyle_dexie' of https://github.com/Geode-solut…
SpliiT 2492eea
Apply prepare changes
SpliiT 0f3f1e8
fix microservices
SpliiT 9e3e7c1
Merge branch 'feat/datastyle_dexie' of https://github.com/Geode-solut…
SpliiT 7cf2444
Apply prepare changes
SpliiT d5d8c64
oxlint
SpliiT 10ba6a5
Merge branch 'feat/datastyle_dexie' of https://github.com/Geode-solut…
SpliiT 57ae4f8
Apply prepare changes
SpliiT dcc16d6
oxlint
SpliiT 22fa7e0
Apply prepare changes
SpliiT 7eeb6b7
oxlint
SpliiT 9f1a56a
Merge branch 'feat/datastyle_dexie' of https://github.com/Geode-solut…
SpliiT 8be2542
Apply prepare changes
SpliiT a43a19e
eoxlint
SpliiT f436778
Merge branch 'feat/datastyle_dexie' of https://github.com/Geode-solut…
SpliiT aec209f
Apply prepare changes
SpliiT a2db106
oxlint fix error
SpliiT f295855
Merge branch 'feat/datastyle_dexie' of https://github.com/Geode-solut…
SpliiT 1c51b04
Apply prepare changes
SpliiT c89d7ac
trigger
SpliiT 31f0822
add sleep against timeout
SpliiT 10a5b0b
Apply prepare changes
SpliiT 87b3245
vérification de l'existence du répertoire dans cleanupBackend pour év…
SpliiT 46fe2e6
tobetrue
SpliiT 6df9d25
discard
SpliiT 3db8c3a
Merge branch 'feat/datastyle_dexie' of https://github.com/Geode-solut…
SpliiT 2a45922
toBeTruthy
SpliiT 64d3d28
toBeFalsy
SpliiT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| import { Dexie } from "dexie"; | ||
| import { dataStyleTable } from "./tables/data_style"; | ||
| import { dataTable } from "./tables/data"; | ||
| import { modelComponentDataStyleTable } from "./tables/model_component_datastyle"; | ||
| import { modelComponentsRelationTable } from "./tables/model_components_relation"; | ||
| import { modelComponentsTable } from "./tables/model_components"; | ||
|
|
||
| export class BaseDatabase extends Dexie { | ||
| static get initialStores() { | ||
| return { | ||
| [dataTable.name]: dataTable.schema, | ||
| [modelComponentsTable.name]: modelComponentsTable.schema, | ||
| [dataStyleTable.name]: dataStyleTable.schema, | ||
| [modelComponentDataStyleTable.name]: modelComponentDataStyleTable.schema, | ||
| [modelComponentsRelationTable.name]: modelComponentsRelationTable.schema, | ||
| }; | ||
| } | ||
|
|
||
| clear() { | ||
| return Promise.all(this.tables.map((table) => table.clear())); | ||
| } | ||
| } |
BotellaA marked this conversation as resolved.
Show resolved
Hide resolved
|
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| export const dataStyleTable = { | ||
BotellaA marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| name: "data_style", | ||
| schema: "id", | ||
| }; | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| export const modelComponentDataStyleTable = { | ||
| name: "model_component_datastyle", | ||
| schema: "[id_model+id_component], id_model", | ||
| }; |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.