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

Implement support of @js directive #915

Closed
wants to merge 26 commits into from
Closed

Implement support of @js directive #915

wants to merge 26 commits into from

Commits on Nov 25, 2020

  1. Basic JS API that lets caller register new modules, init modules and …

    …call module commands.
    Mylan719 committed Nov 25, 2020
    Configuration menu
    Copy the full SHA
    8a20dcb View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2020

  1. Configuration menu
    Copy the full SHA
    a23d85d View commit details
    Browse the repository at this point in the history
  2. Rework of viewModule context management to accomodate multiple views …

    …using the same module.
    
    Test sample with symulated markup control.
    Mylan719 committed Nov 26, 2020
    Configuration menu
    Copy the full SHA
    23d43b3 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2020

  1. Implemented multiple views per page using the same module. Added supp…

    …ort for named comand registration from the view.
    Mylan719 committed Nov 27, 2020
    Configuration menu
    Copy the full SHA
    7d677f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af871bc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92d1ecb View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2020

  1. Implement support of @js directive

    It renders an inline script that imports the module and register it into dotvvm.
    
    When in a page, it is added into the serialized JSON.
    When in a control, it renders a binding handler with the specified module
    exyi committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    0600f4b View commit details
    Browse the repository at this point in the history
  2. Simple test for JS directive

    exyi committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    1c0bda7 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2020

  1. .

    Mylan719 committed Dec 3, 2020
    Configuration menu
    Copy the full SHA
    458e65b View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2020

  1. Configuration menu
    Copy the full SHA
    3127c2b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04c6341 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2020

  1. Configuration menu
    Copy the full SHA
    7591af9 View commit details
    Browse the repository at this point in the history
  2. merged JS side of os viewmodules.

    Milan Mikuš committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    854cb27 View commit details
    Browse the repository at this point in the history
  3. Integrating basic JS functionality like module registration into the …

    …JS directives feature.
    Milan Mikuš committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    3d30e82 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2020

  1. Configuration menu
    Copy the full SHA
    e4c804a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb90732 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4c31cee View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2020

  1. Configuration menu
    Copy the full SHA
    70d0faf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47357e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f2c958f View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2020

  1. Configuration menu
    Copy the full SHA
    4aa1a8a View commit details
    Browse the repository at this point in the history
  2. Fixed bug in data context type assigning

    The bug is that DotvvmMarkupControl has the context of the parent view, only it's content should get the "inner context".
    Previous change that changed inheritance of ResolvedTreeRoot to ResolvedControl broke how it was working before
    exyi committed Dec 8, 2020
    Configuration menu
    Copy the full SHA
    1cadca3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a3f79c View commit details
    Browse the repository at this point in the history
  4. Generate unique ids for markup control viewmodules

    we use the control unique id.
    
    The id also has to be used in any commands invoking the module jsCommands. We can however reuse the infra for standard commands that also require control ID.
    Only issue could be when a command would migrate from one markup control to another,
    but that's considered unlikely given we add support for invoking _control.Command from staticCommands
    exyi committed Dec 8, 2020
    Configuration menu
    Copy the full SHA
    4eaf1e4 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2021

  1. Configuration menu
    Copy the full SHA
    e8d4337 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2021

  1. Configuration menu
    Copy the full SHA
    30087a6 View commit details
    Browse the repository at this point in the history