Git Product home page Git Product logo

ifmledit.org's People

Contributors

b3rn475 avatar darthdaver avatar emanuele-falzone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ifmledit.org's Issues

Feature request: "back" event on ViewContainer

It would be useful to have a "back" event on a ViewContainer. The event should be mapped to the back button. When the back button is pressed the "back" event should be triggered. It could be platform depended (what about iOS?).

Out of date navigation flow filter data binding

Consider the following modeling context: you have an event attached to a form ViewComponent with a navigation flow pointing towards a list ViewComponent.
If you establish a binding between a form parameter and a filter parameter of the list and then you delete the filter parameter of the list, the binding continue to be present even if the parameter does not exist anymore.

In attachment, a video demo of the possible unexpected behavior.

bug-filter.zip

Xor bug on undo (CTRL+Z)

When you execute an undo operation on elements that involve ViewContainer with XOR, the undo operation remove the XOR (and consequently, all the others ViewContainer inside the XOR ViewContainer, lose their Default/Landmark properties).

CTRL+Z-xor-bug.zip

[Question] What are the main files responsible for generating an app's views, through ifmlEdit?

@B3rn475 I've been studying the structure and behavior of ifmlEdit, in order to understand the entire flow of its operation, and despite the project being well organized and with very lean functions, it is so well structured that the abstraction of certain functionalities is not so easy. I have a hunch which files are responsible for the ifml transformation rules for the views code, but I would like to be more sure. If possible, could you explain to me or provide me with some kind of existing documentation related to this functionality. As I mentioned, I intend to add rules for generating interface test scripts for Cypress, but I need to understand as much as possible how the interfaces themselves are built based on a IFML model.

Blank screen on web server tab

When I click try in browser , on the "web server" tab, no screen equivalent to the model is generated, while on the "web client" and "mobile" tabs this works normally.

Event navigation-flow - strange behavior

In an attempt to drag a navigation flow, detaching it from an event and leaving it "dangling", the behavior is not possible (correct).
But if you execute ctrl + z twice (or cmd + z for mac) you get that the navigation-flow remains "dangling" (unforeseen behavior).

cmd+z.zip

Export Model in XMI Format

To the author,

IFML is already OMG standard modeling language, so to exchange data to another tools, the model should be able to saved into XMI file format. I hope that in the future this feature will be able to be implemented

UI freeze when a link is added.

The javascript console report:

Uncaught TypeError: a.position is not a function
at i. (almost-joint.min.js:formatted:167)
at v (backbone.min.js:1)
at p (backbone.min.js:1)
at c (backbone.min.js:1)
at i.o.trigger (backbone.min.js:1)
at i.notify (joint.min.js:1)
at i.pointerup (joint.min.js:1)
at i.pointerup (joint.min.js:1)
at i.dragMagnetEnd (joint.min.js:1)
at i.pointerup (joint.min.js:1)

It seems to be a problem with almost-joint

Possible name collisions in IFML2PCN transformations.

Id generation in IFML2PCN transformations can produce colliding ids.

Simple example the id application is already used.

A complex example is using two actions called action and actionname-running-p, this will collide the main Place Chart of the second action with an inner Place of the first action.

Gulp fails when trying to build page on client side example

'js' errored after 2.43 s
[21:52:11] Error: Parse Error: <button class="navbar-toggler" type="button" data-toggle="collapse" data-target=""#landmark-menu">
        <span class="navbar-toggler-icon"></span>
    </button>
    <div id="landmark-menu" class="collapse navbar-collapse">
        <ul class="navbar-nav mr-auto">
        </ul>
    </div>
</nav>
<div class="container">
    <span data-bind="if: active() === 'mails'">
        <c-mails params="context: context" class="container"></c-mails>
    </span>
</div>
 (while stringify was processing /home/alexandro/Downloads/clientexample/src/js/controls/main-application/index.html) while parsing file: /home/alexandro/Downloads/clientexample/src/js/controls/main-application/index.html
    at new HTMLParser (/home/alexandro/Downloads/clientexample/node_modules/html-minifier/src/htmlparser.js:235:13)
    at minify (/home/alexandro/Downloads/clientexample/node_modules/html-minifier/src/htmlminifier.js:946:3)
    at exports.minify (/home/alexandro/Downloads/clientexample/node_modules/html-minifier/src/htmlminifier.js:1299:10)
    at minify (/home/alexandro/Downloads/clientexample/node_modules/stringify/src/stringify.js:147:27)
    at Stream.transformFn (/home/alexandro/Downloads/clientexample/node_modules/stringify/src/stringify.js:209:24)
    at Stream.end (/home/alexandro/Downloads/clientexample/node_modules/browserify-transform-tools/lib/transformTools.js:108:30)
    at _end (/home/alexandro/Downloads/clientexample/node_modules/through/index.js:65:9)
    at stream.end (/home/alexandro/Downloads/clientexample/node_modules/through/index.js:74:5)
    at DestroyableTransform.onend (/home/alexandro/Downloads/clientexample/node_modules/readable-stream/lib/_stream_readable.js:577:10)
    at Object.onceWrapper (node:events:627:28)
[21:52:11] 'build' errored after 2.45 s
[21:52:11] 'default' errored after 2.62 s

ID field - Abnormal behavior

When you generate a model, if you delete the id of a component and close the panel, and then you move to another component, then the component whose id is deleted is no longer clickable or editable. If afterwards you delete the id of another component, the second time the framework regenerates a correct id and manages the cancellation of the ID (the component is still clickable and modifiable).

id_bug.zip

Do not allow Action chains

The IFML standard doesn't allow chains of Actions.
The code generator doesn't support them either.
The editor should not allow them too.

Strange behavior in inserting new element on the board

When you drag and drop a new element from the sidebar towards the board, if you click and release the element without any movement outside the sidebar and then you re-click the same element and execute the drag and drop outside the sidebar, the element does not follow the mouse pointer, but is "hanging" in an apparently non-deterministic position of the board.

N.B.: the zip file in attachment contains a video demo to help in understing the problem. I hope you find it useful.
bug.zip

Gulp fails when trying to compile application on nodejs 12 lts or higher

I tried to run the application for a research project that aims to generate automatic test scripts using the cypress tool, and when running the command "npm install" the dependencies are installed but gulp fails to compile the application. I'm using ubuntu linux 22.10 and I tried to run using the current LTS nodejs (18.x.x), I tried to update the dependencies to newer versions and even tried to install the 2020 LTS nodejs and still the failures persist. If possible @B3rn475 , could you try to update the project's dependencies to help me with this problem, thanks in advance.

Mock database persistence

At the moment the mock database in the generated/emulated code is not persisted.
After each run of the code generator it is restored to the default value.

It could be interesting to store the latest version of the database and preserve it after a model change.

Open questions:

  1. Where should i store the database? (metadata field of the model?)
  2. Could be interesting to edit the database from the model editor?
  3. How can i share the database between the emulators? (check if they are consistent)
  4. If I'm sharing the database between the emulators, how should I manage out of sync code?

Add undo redo support

Add the ability to undo an action and redo it.

Features:

  • ctrl+z and ctrl+y support
  • undo the entire changes done in the attributes editor
  • clear the undo history after load

Impossible to generate the PCN of the preloaded Example 12

As reported in the title it is impossible to generate the PCN of the preloaded Example 12.
The error in the console is an object with the following message property: "fields with a merge policy with specials should always be objects"

Always allow the user to Pan the Model

In a big nested model it is possible to zoom to a particular area and not be able to pan the model, trying to do so will move the nested ViewContainers and change the model itself.

It should be able to pan a model from within ViewContainers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.