Giter Club home page Giter Club logo

callbackery's Introduction

Tobi's OpenSource Projects

KYIL9840-1692

callbackery's People

Contributors

maettu avatar manwar avatar oetiker avatar reneeb avatar samoser avatar zaucker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

callbackery's Issues

"slurp" is not exported by the Mojo::Util module

Mojolicious 7.31 removed a number of functions, causing the test suite to fail:


PERL_DL_NONLAZY=1 "/bbbike/perl-5.18.4/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
/tmpfs/.cpan-build-cpansand/2017042606/CallBackery-0.10.5-0/t/callbackery.cfg, line 26: Failed to load Plugin UserForm: "slurp" is not exported by the Mojo::Util module
Can't continue after import errors at /tmpfs/.cpan-build-cpansand/2017042606/CallBackery-0.10.5-0/t/../lib/CallBackery/GuiPlugin/Abstract.pm line 8.
BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2017042606/CallBackery-0.10.5-0/t/../lib/CallBackery/GuiPlugin/Abstract.pm line 8, <$fh> line 26.
Compilation failed in require at /opt/perl-5.18.4/lib/site_perl/5.18.4/Mojo/Base.pm line 77, <$fh> line 26.
BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2017042606/CallBackery-0.10.5-0/t/../lib/CallBackery/GuiPlugin/AbstractForm.pm line 20, <$fh> line 26.
Compilation failed in require at /opt/perl-5.18.4/lib/site_perl/5.18.4/Mojo/Base.pm line 77, <$fh> line 26.
BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2017042606/CallBackery-0.10.5-0/t/../lib/CallBackery/GuiPlugin/UserForm.pm line 2, <$fh> line 26.
Compilation failed in require at /tmpfs/.cpan-build-cpansand/2017042606/CallBackery-0.10.5-0/t/../lib/CallBackery/Config.pm line 145, <$fh> line 26.
 at /opt/perl-5.18.4/lib/site_perl/5.18.4/Mojo/Server.pm line 17.
t/basic.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 

Push updates to frontend

I'm not sure where to ask this question, but I'm relatively new to Qooxdoo and trying out CallBackery.

I was wondering if there is a way to use CallBackery to send updates as the backend does other things. For example, a long-running series of tasks and as each task completes, update a specific row of a table widget, then when all are finished, enable a button. I would want to do this without having the user hit a "Refresh data" button.

Usually I would use a WebSocket with Mojolicious for this.

Change tabs does not refresh all data

I have two tabs, both based on AbstractTable. Both have a SelectBox to select different data source.
image
When I change the tab, there is no way to remain SelectBox selection:
image
But even worse: after changing back, the SelectBox selection is lost, but data is still there:
image
Imho, it should remain SelectBox selection or empty the table according to the 'empty' SelectBox selection.

New Widget #1 (for formCfg)

Currently there is no nice way to add a description in formCfg. Would you please implement such a widget?

No table reload when popup is closed

When a popup is launched from a table view, the table automatically gets reloaded when the popup is closed again. It would be helpful, if this reload could be deactivated.

Table: useless default selection

My tab is based on AbstractTable.
I introduce a SelectBox to select different data source.
When I select one, the first row is marked blue:
image
But there is no selection: 'selection' => {},.
It would be nice if there is NO blue row or if the blue row also selects data.
(by the way: it works without this SelectBox, when it just has one data source to show)

placeholder is not translated

In my implementation of formCfg (of an AbstractTable) I use a text widget with a placeholder. That placeholder is not translated. Would you mind checking this?

    }
    ...
    widget => 'text',
    set => {
        placeholder => trm('ERP_ID'),
        liveUpdate => $self->true
    },

Thank you, mate!

Horizontal scrollbar or tooltips for tables

For tables with large content (log-files, etc.) it would be helpful, if one could activate either a horizontal scrollbar or a tooltip, showing the whole content of the field.

Table: Row selection not persisting

My Tab is based on AbstractTable.
When I select a row
image
and show some details by clicking the appropriate button (with btnCfg->{options}{noReload} => 1, after closing that form, the row selection is lost.
image
The row is still marked with some grey, but the blue is on row 1, which will be used for the next detail showing, which is not nice for me.

JSON::Validator version compatibility issue

With the release of JSON::Validator 3.23 it becomes dependent on List::Util 'uniq' which in turn requires List::Util >= 1.45. However, this version only shipped from perl >= 5.26

I suggest either increasing the perl version in Makefile.PL(probably not desired) or lock the the dependency JSON::Validator to version 3.22

Spinner

Would you please implement the possibility to use a own spinner.gif?
Configurable e.g. in the FRONTEND section of the config file, similar to the logo images.

No Table Refresh after Upload

My tab is based on an AbstractTable and shows a list of uploaded files.
It has an upload button where its handler returns action => 'dataModified',.
After an upload, the backend gets the new file as well, but the frontend does not show it.

t/basic.t fails (with old Mojolicious?)

On one of my smoker systems:

#   Failed test at /opt/perl-5.26.2/lib/site_perl/5.26.2/Mojo/Log.pm line 58.
#                   '[*UNKNOWN*|127.0.0.1] CALL ping([])'
#     doesn't match '(?^:UnknowUser)'

#   Failed test at /opt/perl-5.26.2/lib/site_perl/5.26.2/Mojo/Log.pm line 58.
#                   '[*UNKNOWN*|127.0.0.1] RETURN {"id":1,"result":"pong"})'
#     doesn't match '(?^:UnknowUser)'
# Looks like you failed 2 tests of 16.
t/basic.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/16 subtests 

It seems that this happens because an older Mojolicious (8.05) is installed here. On other systems (with 8.10 and newer) this does not happen.

Table's Column Width and Visibility

In a table, column width and visibility can be changed by the user of the GUI. But these changes are lost on a browser refresh. Would you please implement a way to get these settings?

MISSING_PERL_MODULES, wrong detection

In Makefile:

MISSING_PERL_MODULES =  [email protected] Mojo::[email protected]

but I do have:

$ sudo cpanm Mojo::SQLite
Mojo::SQLite is up to date. (0.019)

and I have:

$ sudo cpanm Mojolicious
Mojolicious is up to date. (6.39)

The script, ./configure or which one exactly, shall properly detect the installed modules. I have changed in ./configure the version number, to continue with installation for myself.

Later I run:

./configure --prefix=$HOME/public_html/callbakery/cb_demo --with-qooxdoo-sdk-dir=$HOME/public_html/callbakery/qooxdoo-5.0.1-sdk

and I got this error:

make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/home/data1/protected/public_html/callbakery/cb_demo/lib'
 /bin/mkdir -p '/home/data1/protected/public_html/callbakery/cb_demo/lib/CbDemo/GuiPlugin'
 /usr/bin/install -c -m 644  ./CbDemo/GuiPlugin/SongForm.pm ./CbDemo/GuiPlugin/Song.pm '/home/data1/protected/public_html/callbakery/cb_demo/lib/CbDemo/GuiPlugin'
/usr/bin/install: ‘./CbDemo/GuiPlugin/SongForm.pm’ and ‘/home/data1/protected/public_html/callbakery/cb_demo/lib/CbDemo/GuiPlugin/SongForm.pm’ are the same file
/usr/bin/install: ‘./CbDemo/GuiPlugin/Song.pm’ and ‘/home/data1/protected/public_html/callbakery/cb_demo/lib/CbDemo/GuiPlugin/Song.pm’ are the same file
Makefile:259: recipe for target 'install-nobase_dataDATA' failed

And when I run:

make -i install

I could see many others "are the same file" errors.

Can't locate object method "route" via package "Mojolicious::Routes"

t/basic.t fails on some of my systems:

PERL_DL_NONLAZY=1 "/opt/perl-5.30.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Can't locate object method "route" via package "Mojolicious::Routes" at /opt/perl-5.30.1/lib/site_perl/5.30.1/Mojolicious/Plugin/Qooxdoo.pm line 22.
t/basic.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

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.