HomePhabricator

Add LexemeViewFactory to enable adding forms.
fa59170b732fUnpublished

Authored by Jakob_WMDE on Apr 18 2017, 3:51 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add LexemeViewFactory to enable adding forms.

This adds a LexemeViewFactory extending ControllerViewFactory in order
to wire the lexemeview, lexemeformlistview and lexemeformview
together including toolbar and ToolbarViewController for the
lexemeformview.

It also adds a an intial LexemeForm model for the datamodel frontend
which at the moment does not inherit from Entity. It is only needed to
provide the equals-method for the ToolbarControllerView.

Persistence is not implemented yet. It uses a fake model instead of an
EntityChanger that always resolves the "save" promise.

TODO:
-Write tests for lexemeformlistview and lexeformview
-Remove some css glitches

Bug: T162339
Bug: T162340
Bug: T162341
Change-Id: Ie36d5e5dbd80706f26f91d57abe742decfad3c3d

Details

Committed
Jakob_WMDEApr 24 2017, 3:23 PM
Parents
rEWLE98f53ae33733: [WIP] Add lexem form section view
Branches
Unknown
Tags
Unknown
References
refs/changes/56/348756/7
ChangeId
Ie36d5e5dbd80706f26f91d57abe742decfad3c3d