oetiker / callbackery Goto Github PK
View Code? Open in Web Editor NEWCallbackery a Frontend Builder Toolkit
License: GNU General Public License v3.0
Callbackery a Frontend Builder Toolkit
License: GNU General Public License v3.0
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
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.
I have two tabs, both based on AbstractTable. Both have a SelectBox to select different data source.
When I change the tab, there is no way to remain SelectBox selection:
But even worse: after changing back, the SelectBox selection is lost, but data is still there:
Imho, it should remain SelectBox selection or empty the table according to the 'empty' SelectBox selection.
Would you please implement the qooxdoo HTML web storage?
Currently there is no nice way to add a description in formCfg. Would you please implement such a widget?
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.
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:
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)
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!
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.
Would you please implement a property to set a popup's height and width?
My Tab is based on AbstractTable.
When I select a row
and show some details by clicking the appropriate button (with btnCfg->{options}{noReload} => 1
, after closing that form, the row selection is lost.
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.
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
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.
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.
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.
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?
Currently there is no nice way to add a separation in formCfg. Would you please implement such a widget?
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.
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
Server.js, Line 110: busy.show(this.tr('Runnning %1',methodName));
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.