Giter Site home page Giter Site logo

zowe / vscode-extension-for-cics Goto Github PK

View Code? Open in Web Editor NEW
15.0 9.0 6.0 548.22 MB

Migrated to zowe/cics-for-zowe-client.

Home Page: https://github.com/zowe/cics-for-zowe-client

License: Eclipse Public License 2.0

TypeScript 99.52% JavaScript 0.48%
vscode-extension zowe zowe-explorer cics mainframe

vscode-extension-for-cics's People

Contributors

adarshdeepcheema avatar andrewtwydell avatar github-actions[bot] avatar jeffinsiby avatar jilliebeansim avatar joe-winchester avatar rajpreetgill avatar t1m0thyj avatar traeok avatar zfernand0 avatar zowe-robot avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vscode-extension-for-cics's Issues

UI design for 'Add Session' form

The current layout does not look the best.

The idea in mind is to group together attribute inputs under headings to be more intuative for the user.

eg.
Connection Details:

  • Host URL
  • Port
  • Protocol (Default https)
  • Reject Unauthorized (Default true)

User Details:

  • Username
  • Password

CICS Details:

  • Region Name
  • CICS Plex (If Applicable)

ReadMe updates

Complete and improve the Readme.md file for this project.

Currently, there are some sections filled in, some empty. These sections needs to be completed and improved. We can use Zowe Explorer's Readme as inspiration.

Remove Session from tree view

We can add as many sessions as required to the CICS panel of Zowe Explorer.

It would be good to be able to right-click and remove a session if it's no longer needed.

Profiles do not appear in list after an error adding them

To recreate:

  1. Load CICS Plugin (Default profile should load)
  2. Click 'Add Session' button
  3. Click a profile that's listed that is unreachable (Either incorrect details or unreachable site etc)
  4. Error message should appear at the bottom with the expected error
  5. Click 'Add Session' button again

You should find this profile you attempted to add is not present in the available profiles.

This is incorrect behaviour; the profile should always appear in the dropdown list if not loaded into the tree.

Add Icon so it appears when installed

Currently, when the Zowe CICS Explorer is installed, there is no icon showing in the 'installed extensions' tab.

It would be good to have an Icon showing, similar to the Zowe FTP extension.

Load programs on expansion of tree

Currently, all regions and programs of a given session are loaded when the session is added.

This results in long loading times, especially for the sessions with multiple regions.

Taking inspiration from the other panels in Zowe Explorer (e.g. Datasets), it would be good to only load region names beneath a given session name, and only load programs when the region tree is expanded. This way, only necessary loading times would take place, increasing the user experience.

Add VSCode Status Bar Items

It would be useful to have Status Bar Icons at the bottom of the screen during events like Refresh, Adding Sessions, New Copies etc.

These would indicate to the user that the action is in progress and show when it's complete.

Deal with request limit > 2000

Check response

  • if request limit reached, show pop up "Please add filter"

Option in settings to override request limit automatically.

Add 'Phase-In' command

Add Phase In command, alongside the new copy command, to increase functionality of the extension.

Auto fill Region if plex is supplied

Currently, the extension errors if a plex is inputted but the region is not.

The UI mentions only one is required, as the region can be assumed the same as the plex name. However this is not implemented.

To get round this issue: When entering a CICS Plex, also enter that plex name in the region input field.

To be changed: Auto fill region field in profile creation if plex input has a value

Use Zowe Explorer ProfilesCache API to get CICS profiles

Currently, we have a copied version of the Profiles Cache from the Explorer's APIs. There will soon be a method to retrieve the profilesCache and use it's methods. We would like to implement this into the Zowe CICS Explorer.

Show Program Attributes

Similar to Zowe Explorer, allow the user to right-click a CICS program and view attributes.

Profiles don't save if CICS CLI plugin isn't installed

When using the extension for the first time without the CLI CICS plugin installed, the profiles created using the GUI do not save.

The session is useable until the extension is closed, but there is no .zowe/profiles/cics directory and therefore no profiles.

To get around this, install the CICS CLI Plugin on your machine with zowe plugins install @zowe/cics-for-zowe-cli.

Description for filtering items

Currently, there is no description given when the 'filter programs' button is clicked; an empty input appears at the top of the page.

Some form of description or instructions should also appear below, like how Zowe Explorer displays their filtering, so the user knows what they've clicked and how to use the feature.

Filter Program Results

Remove unwanted programs from the tree; programs starting with CEE and EYU for example are not needed.

Add Enable / Disable functionality to a program

Like CICS CLI Extension offers, have the ability to right-click a program and enable / disable it.

Also having a visual representaion of the STATUS (enabled or disabled) of a program without having to look at attributes would be nice.

This could be in the form of a different icon, or a (disabled) flag added to the program in the list.

Cannot create profile if no CICS profiles exist

When there are no CICS profiles on the local system, the message shown is correct:
image

However, if the user then clicks the 'Add' button to create a new profile:
image

This message is shown repeatedly. Error in the logic that decides where to go depending on profiles. If no profiles exist, it's impossible to create one from the Extension.

To get round this issue: Create profile with Zowe CLI and reload extension.

Changes to be made: Adjust logic to be able to create profile, even if none exist.

Change 'Filter Program' icon

Currently the icon for the filter functionality is a placeholder; it's using the refresh icon as a POC.

We want to use the same filter icon as the Zowe Explorer for consistency.

Proof of actions happening in the background

Links to #18, currently there is nothing to show actions taking place such as a Refresh, New Copy, or Adding Session.

This can be confusing as the user doesn't know if the actions is still happening or if something has gone wrong without an error message.

Enable and Disable text not updated on command

When enabling or disabling a program, a manual refresh must be performed to have the text next to the program showing or not showing.

The New copy command updates this text automatically.

Consistency is ideal.

CICS and z/OSMF connections overlap

The API to register a CICS UI means that CICS connections appear on the list of z/OSMF connections and vice-versa.
A new API is required in the Zowe Explorer itself to allow CICS and other connections types to remain apart from each other (and avoid a user selecting the wrong one with unpredictable results)

Provide dropdown item to add new profile

Currently, you have to espace the 'add session' input to navigate to the Add Profile UI form. The Zowe Explorer has an option at the top of their dropdown to start creating a profile. We want to implement this for consistency.

image

When adding a session, there will be an item similar to the one above, to get to the profile creation screen.

Protocol is hard coded to http

Working with Mike Bauer who was testing the extension, he found that the protocol is hard coded to http:// and ignores the actual protocol of the profile (which in his case was https://)

Change Tree Structure to show programs under regions

Change the current structure of the CICS section to show the session name at the root of the tree, CICS regions under this (One if there is only a region, or multiple if it's a CICS Plex), and then programs under these region headings.

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.