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

Refactor app layout #35

Merged
merged 9 commits into from
Dec 6, 2018
Merged

Refactor app layout #35

merged 9 commits into from
Dec 6, 2018

Conversation

chrismayer
Copy link
Collaborator

This PR refactors / reworks the complete app layout. Therefore several things have been done:

  • Refactor and optimize the app template by using more Vuetify layout components
  • Dynamic creation of the tools / modules, which can be shown in the toolbar, from the app config
    • Separate module windows and their activation buttons to get more flexibility while rendering them
    • Add a reference concept using an app-wide component-lookup (by module-identificator) for module windows (to access them by activation buttons)
  • Introduce a toolbar menu, which groups several tools (fixes Group tools in a menu #33)
  • Implement the About window as modal dialog
  • Introduce a footer

This makes the tool creation more flexible and solves the problem that the tool-buttons cannot be shown on small screens.

image

Since this introduces changes in most of base components the current state has been preserved by the https://github.com/meggsimum/wegue/releases/tag/v0.4.0 release and a separate branch v0.4.x-maintenance.

This reworks the Wegue app template based on Vuetify components and
layouts. Base for the new app is the Vuetify template 'complex'
(https://github.com/vuetifyjs/vuetifyjs.com/blob/master/src/examples/layouts/complex.vue).
The old toolbar concept has been ported unchanged and some minor
components are missing at this point.
This reworks the component to show a help/about text, that the content
is shown as a modal dialog (masked and not movable).
Also the concept of an 'activator-slot' is used here, which makes the
usage of the button more flexible (not just in the toolbar).
This introduces a new toolbar menu, which can contain several tools /
modules (see wegue-oss#33).
Herewith the dynamic creation of modules from the application context
has been implemented. This was necessary because the slot-mechanism in
the app-template used before wasn't enough to fill the menu and preserve
the 'normal' toolbar buttons.
@chrismayer chrismayer merged commit 09155c6 into wegue-oss:master Dec 6, 2018
@chrismayer chrismayer deleted the app-rework branch December 6, 2018 14:22
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.

Group tools in a menu
1 participant