neo

The application worker driven frontend framework

MIT License

Downloads
5.2K
Stars
2.7K
Committers
33

Bot releases are hidden (Show)

neo - drag&drop hotfix for Safari

Published by tobiu about 3 years ago

neo - core.Base: parseItemConfigs() hotfix

Published by tobiu about 3 years ago

1-liner release.

the new generic logic was checking the key instead of the value for sub-level entries.

This did affect the docs app. Fixed now.

neo - form.field.Color

Published by tobiu about 3 years ago

The new ColorField is highly configurable. We can e.g. display non color related names and show different colors for each theme.

https://www.youtube.com/watch?v=uf_RlZ9fHwM

Screenshot 2021-08-01 at 18 13 49

Screenshot 2021-08-01 at 18 14 10

There are several enhancements on form.field.Select as well, e.g. a forceSelection config which will onFocusLeave() set the value to the hintRecordId (typeAhead suggestion), in case there is no selection.

neo - form.field.TextArea improvements

Published by tobiu about 3 years ago

Rendering the initial value requires to use the innerHTML instead of using the value attribute (this one only works for dynamic changes).

I added bottom borders for textarea triggers and set the resizable config to false per default.

Screenshot 2021-07-26 at 16 05 21

This release also includes changes on form.field.Select:

Per default, the field will try to store a recordId (keyProperty) inside the value config, in case the text input matches a record displayField exactly. The change event will now pass record ids if possible.

A new forceSelection config is in place, which will limit change events to valid entries.

neo - createApp: dynamically include all available main thread addons

Published by tobiu about 3 years ago

neo - main.addon.Cookie

Published by tobiu about 3 years ago

You can now use the optional main thread addon: main.addon.Cookie

to get read & write access for document.cookie from within the app worker.

neo - Theme build polishing

Published by tobiu over 3 years ago

The SCSS builds not use the sass:math lib for src and theme folders, which resolve the SASS v2 build warnings.

The file counters got adjusted to show numbers for each environment (development, production).

The theme-map.json files will now also get saved into the dist folder.

The App worker will now fetch these fail according to the current env.

The build-all script should now run without any warnings.

neo - Neo.config.useDomIds, calendar hotfix

Published by tobiu over 3 years ago

Neo.config.useDomIds default value true.

Setting the new config to false will store vdom based ids inside a data-neo-id DOM element property rather than using the real dom id.

Expanding the settings view inside the calendar was broken due to removing the MainContainer ntype, which is actively in use inside component queries. fixed now.

The calendar now has an "Add Calendar" button at the bottom left, which adds new items into the list.

You can customise them with the edit form.

core.Base now allows to change the id config at run time. This can be helpful for e.g. Lists which contain component based items, in case we want to re-use the instances.

In case we change an id, the entries inside manager.Instance as well as manager.Component will get adjusted.

Be aware that component ids will get mapped to DOM ids, so they have to stay unique.

=> only use this feature in case you are 100% sure what you are doing. Neo will log errors in case duplicate ids occur.

neo - calendar.view.week.Component: refactoring

Published by tobiu over 3 years ago

The event related drag & drop logic got moved into calendar.view.week.plugin.DragDrop and will only get lazy loaded if needed.

neo - data.RecordFactory: setSilent() for record bulk field updates

Published by tobiu over 3 years ago

we can now update fields without firing the recordChange event.

button.Base: added a type="button" dom attribute to prevent the browser from assuming they are submit buttons.

See: https://github.com/neomjs/neo/issues/2622

neo - calendar.view.week.Component: creating new events via drag&drop

Published by tobiu over 3 years ago

https://youtu.be/JAct-p40hbI

this release also includes a code cleanup on several files.

neo - data.RecordFactory enhancements

Published by tobiu over 3 years ago

We can now use record.set() to bulk update multiple record fields at once.
This will result in one combined recordChangeevent.

The signature of the event got adjusted, containing a fields object (name, oldValue, value).

data.RecordFactory.isRecord() got adjusted to honor dist/prod (minified class names).

The calendar month and week views now listen to calendar and event store recordChange events to update the view if mounted. In case a view is not mounted (inactive card / tab), the changes will get pushed to the virtual dom engine after a re-mount.

neo - Calendar: deleting calendar records, Covid app: using a view model

Published by tobiu over 3 years ago

neo - z-index management for sub-menus

Published by tobiu over 3 years ago

Screenshot 2021-07-08 at 18 31 05

neo - component.DateSelector: header styling

Published by tobiu over 3 years ago

neo - selection.menu.ListModel polishing

Published by tobiu over 3 years ago

neo - menu.List: focus management

Published by tobiu over 3 years ago

leaving the menu tree will now hide (unmount) it.

Package Rankings
Top 2.35% on Npmjs.org
Top 6.61% on Proxy.golang.org
Related Projects