q-masters / vscode-qlik Goto Github PK
View Code? Open in Web Editor NEWVSCode Extension for better Qlik App Development
License: MIT License
VSCode Extension for better Qlik App Development
License: MIT License
after the command Connect qixFS is startet, a dialog should open to define the URL port,...
create Webview with Angular
As we can login to server, we allready see all apps but we could not open them since it throws an error. This is not an error in enigma or qlik since these are static defined folders (script, vars) so no reason to start a request.
I think the problem is in the internal router which could not find the specific route anymore and throws FileNotFoundException.
please change the github Repo in the following lines to the new repo
currently we use vscode.window.showInputBox which is very simple, only text field, foot note and placeholder.
Which is not enough since the problem we have, if we have 2 possible connections with the FormStrategy we do not know for which Connection we insert the current credentials. The information can displayed in the footer but not good enough.
So switch to vscode SimpleInput which can be more customized / controlled more instead of vscode.window.showInputBox.
please check if is possible to extend the existing directory tree with extra infos.
This would open a way to show the real name off an app even if the directory is only the guid (Qlik Sense for Windows)
It would be also great to give different icons / overlay for published apps / objects,...
Since we could open only 5 active sessions with qlik, we should cache sessions to get active one again.
add all master Items as possible elements
if we open an app in tree we allways see app again ( same content as root directory ) but in app.
please add an example for docker run with working parameters, to make a start with the dev version easy for new developers
docker run --volume /LOCALMAPDIR/:/home/engine/Qlik/Sense -p 127.0.0.1:9076:9076 qlikcore/engine:12.477.0 -S AcceptEULA=yes
If you have an main.qvs outside, it should be possible that you can copy the file back to an app with the file explorer and that you don't need to copy the each content.
The issue is that vscode try to delete the old file first, pleace checkl
By default QlikEngine ( without valid license key ) could not open more than 5 sessions at once. For Development this would be enough.
Show Info Message if max amount of sessions is allready opened we could not open more.
Edit and write Script
First create extension, seems to be very good but currently it seems we could only use docker containers for that without adding a specific username or password to login to a real server, can we provide such a feature that we can add a configuration for to add username and password to connect a server ?
Best Regards,
Ralf
currently all we use is console.log which is very bad so lets implement a logger for better logging.
Show only the id in the tree is currently not very helpful since we do not know which app is currently showing up. Using the name will not work since an name could exists twice but not as vscode folder.
So we need to find a solution for that issue show app name with a postfix (1, 2 and so on) or append the id.
If possible show a tooltip if we hover over the app.
Currently all Sessions will written to cache, but we cant remove them from cache or get them directly.
This causes one big problem, if we cant get a session we cant close it. For example reload whole tree or delete an app.
So we should use an npm cache module which allready exists.
Currently we print all files (currerntly only variables) in yaml format, so extend the settings to select a file type
yaml, json, xml
SInce the connection settings has been changed we have to update Authorization and create connection to the QlikEngine
to stay up to date with dependencies add renovate
blocked by #27
VSCode sends message via postMessage to webview which could fetched by window.postMesssage, and resolves message by vscodeClientApi.
The Problem is both are only events, which is not very useful since we have 2 diffrent connection points for that or need a controller who handles this messages. For example:
/**
* send:
*/
acquireVsCodeApi.postMessage({ action: 'save', data: ...);
/**
* resolve:
*/
this.window.on('postMessage', () => ...);
So we need a Frontcontroller in webview and a frontcontroller in vscode to know we recive a message and send it back. So we should create a own message container to improve this we can handle this with promises or observables.
// webview
this.send({...}).subscribe((response) => {
// on this point we resolve the result we get by send a save command
// which is logical a better place for that
});
currently if we enter incorrect crendentials or something went wrong wo dont shon any messages. It is currently the workspace folder exists -> try login -> error nothing happens just an empty workspace folders is left.
We also do not have a chance we can enter the data again. We need to find a way how to handle this one.
Maybe repeat if something is wrong, on cancel remove workspace folder from vscode workspace.
Lets sit together and think about that.
Dependabot encountered the following error when parsing your .dependabot/config.yml
:
The property '#/update_configs/1' is a duplicate. Update configs must have a unique combination of 'package_manager', 'directory', and 'target_branch'
Please update the config file to conform with Dependabot's specification using our docs and online validator.
If we want create new app "Unknown Error is thrown" we can retry and it will work. But it should not throw an unknown error.
Dependabot couldn't find a package.json for this project.
Dependabot requires a package.json to evaluate your project's current JavaScript dependencies. It had expected to find one at the path: /src/media/webview/package.json
.
If this isn't a JavaScript project, or if it is a library, you may wish to disable updates for it in the .dependabot/config.yml
file in this repo.
Describe the bug
Running the command VSQlik: Show Connection Settings
results in a blank page.
To Reproduce
VSQlik: Show Connection Settings
Expected behavior
The settings page would not be blank.
Desktop (please complete the following information):
Additional context
The Console in 'Help -> Toggle Developer Tools' says:
webviewElement.ts:51 Webview: Cannot load resource outside of protocol root
(anonymous) @ webviewElement.ts:51
async function (async)
(anonymous) @ webviewElement.ts:43
apply @ callbacks-registry.ts:45
(anonymous) @ remote.js:286
(anonymous) @ remote.js:276
emit @ events.js:203
onMessage @ init.ts:59
Describe the bug
linting errors for webview
To Reproduce
run ng lint in webview
Expected behavior
errors are gone
add es lint module to required / recommended extension in the .vscode dir so that new user get this automatically as suggestion
add eslint config into vs code proj settings
we have to many errors so we should add tslint for development to help with that issues.
Eslint only reports if we got some errors but not if it is working, so if all is a success we see just nothing. So create a reporter which shows at least how many files was processed and show a green "success" message.
Also add CI Action so all contributes can see if something fails / or not (no sneaky commits ;) )
Currently we only load the form authorization strategy lazy as auth strategy. We need to do the same for
Creating a new file override app script, same behavior like copy paste. We dont know what happens, user create a file oder copy / paste a file, both go into write file directly.
The only diffrence in this case is create a new file has no content. So we could only say if no content exists dont override app script.
It would be great to have a Script Reload functionality.
First just an reload and output the result to is fine but
the real future would be a full debugger integration:
https://code.visualstudio.com/api/extension-guides/debugger-extension
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.