-
Notifications
You must be signed in to change notification settings - Fork 18
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
Re-unite UD-Viz with iTowns (or let it die?) #729
Comments
Here a diagram to visualize changes wished Current architectureflowchart TD
subgraph UD-Viz_github
subgraph packages
subgraph shared
utils_shared
game_shared
end
subgraph browser
3DTilesExtensions
ud-viz_widgets
game_browser
smdb
utils_browser
end
subgraph node
game_node
utils_node
end
end
end
subgraph itownsFork_github
debug
subgraph itowns_packages
core
itowns_widgets
end
end
subgraph smdb_github
smdb_backend_code
end
core-->debug
core-->itowns_widgets
itowns_packages-->browser
utils_shared-->browser
utils_shared-->node
game_shared--->game_browser
game_shared-->game_node
Target architectureflowchart TD
subgraph UD-Viz_github
end
subgraph smdb_github
subgraph smdb_package
smdb
end
subgraph smdb_backend_code
end
end
subgraph game_github
subgraph game_packages
game_shared
game_browser
game_node
end
end
subgraph itownsFork_github
subgraph itowns_packages
core
debug
widgets
3DTilesExtensions
end
end
subgraph utils_github
subgraph utils_packages
utils_shared
utils_browser
utils_node
end
end
UD-Viz_github-->|split|smdb_github
UD-Viz_github-->|split|game_github
UD-Viz_github-->|split|itownsFork_github
UD-Viz_github-->|split|utils_github
core-->widgets
core-->3DTilesExtensions
utils_shared-->utils_browser
utils_shared-->utils_node
core--->smdb
game_shared-->game_node
core--->game_browser
core-->debug
game_shared-->game_browser
utils_browser----->game_browser
utils_browser-->smdb
utils_browser-->|?|itowns_packages
utils_shared-->game_shared
utils_node-->game_github
utils_node-->smdb_github
We could choose to not create utils in that case each packages would copy/paste utils function needed without utilsflowchart TD
subgraph UD-Viz_github
end
subgraph smdb_github
subgraph smdb_package
smdb
end
subgraph smdb_backend_code
end
end
subgraph game_github
subgraph game_packages
game_shared
game_browser
game_node
end
end
subgraph itownsFork_github
subgraph itowns_packages
core
debug
widgets
3DTilesExtensions
end
end
UD-Viz_github-->|split|smdb_github
UD-Viz_github-->|split|game_github
UD-Viz_github-->|split|itownsFork_github
core-->widgets
core-->3DTilesExtensions
core--->smdb
game_shared-->game_node
core--->game_browser
core-->debug
game_shared-->game_browser
|
yes it could a good idea to propose a project template not on ud-viz but with itowns
the package.json should looks like this: {
dependency:{
@itowns/core:xxx, // core package
@itowns/...:xxx, // packages extending itowns (living in the itowns mono repo)
smdb_like_package:xxx // packages extending itowns but living aside their backend code
...
other_packages:xxx
}
} |
SInce #735 is merged what's need to be done in this issue ? |
UD-Viz can be considered as a shallow-layer on top of iTowns that provides some prospective widgets, syntactic sugar, utilities, 3DTiles-extensions... Hopefully the UD-Viz code was originally thought as a sandbox for new, specialized or extended features of iTowns and UD-Viz code was to be contributed back to iTowns (and/or some portions of code would simply die out).
Alas, and mainly because of early poorly conceived organizational ideas (e.g. all widgets should stand in a side-bar, css of widgets were defined inside the widgets as opposed to handled over to the constructor...), UD-Viz code drifted apart from iTowns and the code became bloated.
A recent internal effort was done in order to bring back UD-Viz closer to iTowns
This was made possible by improvements of iTowns, e.g. the apparition of widgets within iTowns or the upcoming iTowns new (npm) packages breakdown.
This is an opporutunity for UD-Viz to be broken down in much smaller (npm) packages in order to
In particular UD-Viz could be transformed to be an iTowns fork (a mono-repository holding a larger set of packages) in order to facilitate iTowns contributions with
Additionally
Note: document
The text was updated successfully, but these errors were encountered: