Skip to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to copy the program txt from web ui ?

Featured Replies

I want to copy the txt of a program in web ui, >>> in AC, select the program, right click, copy to clipboard ( as per below ) ?

Also ... will Generate Topology be an option in web ui ?

Weekend - [ID 0070][Parent 0001]

If
On Sat, Sun

Then
Run Program 'abc' (Then Path)

Else
- No Actions - (To add one, press 'Action')

Solved by Javi

  • 2 weeks later...
  • Author

bump ???

  • 2 weeks later...
  • 3 weeks later...

@Javi Sorry, I don't want to seem to harass, just curious if Copy to Clipboard and Generate Topology are on the roadmap for eisy-ui? I haven't seen topology mentioned any where but this thread.

Thank you,

-Tim

@Javi

My observations:

Issues with this as it stands is there are a lot of moving your mouse around and clicking multiple times. Might I suggest that copy (making a duplicate program) is its own button separate from copy to clipboard. And I would only do copy to clipboard. I don't understand why it says it needs https to copy to clipboard and why that is greyed out. the page is running in https. But copy to clipboard is the only feature anyone would want. Copying to some file that ends up on your drive would never be the goal, you would have to then open that file and copy it again to wherever it is you actually wanted it to be. Copy to json could have use if there were something to import it into that wanted in that format, but I don't know what that is. Perhaps you have something in the works?

18 hours ago, apostolakisl said:

@Javi

My observations:

Issues with this as it stands is there are a lot of moving your mouse around and clicking multiple times. Might I suggest that copy (making a duplicate program) is its own button separate from copy to clipboard. And I would only do copy to clipboard. I don't understand why it says it needs https to copy to clipboard and why that is greyed out. the page is running in https. But copy to clipboard is the only feature anyone would want. Copying to some file that ends up on your drive would never be the goal, you would have to then open that file and copy it again to wherever it is you actually wanted it to be. Copy to json could have use if there were something to import it into that wanted in that format, but I don't know what that is. Perhaps you have something in the works?

These are limitations when running in a browser, if it is grayed out it is not a valid cert, use through my.isy.io. So this must remain for these cases as it is easy to debut your issue and also gives you another option.

Also this has always been confusing to many users, this simplifies for all.

51 minutes ago, Javi said:

These are limitations when running in a browser, if it is grayed out it is not a valid cert, use through my.isy.io. So this must remain for these cases as it is easy to debut your issue and also gives you another option.

Also this has always been confusing to many users, this simplifies for all.

I don't understand why the need for all the pop-ups and confirms. As troublesome as the java ad con is, it is much faster and simpler for so many things. Every time I start using the new eisy ui console I get frustrated by the unnecessary steps and delays and go back to using java.

Just do right click, whatever, done. All of the confirms and acknowledge popups that are halfway across the screen serve no purpose. In the old ad con I can disable AND then reenable a program faster than just disabling OR enabling in the new. If it is big deal item that isn't readily reversible, I get it. The eisy ui has you moving your mouse all over the place back and forth clicking multiple times to complete simple tasks not scary blow the whole thing up by accident tasks. Similar story with enabling/disabling a program. Eisy-ui ->Right click/enable./mouse half way across the screen/OK/OK/mouse back across screen to where you were working. Why not just right click/enable. . .done?

Regarding confusion of copy. Call it 1) Duplicate Program and 2) Copy to Clipboard. Right click and have these choices directly.

Some confirmation dialogs have been removed in the latest release. This case is different.

These things are a personal preference, not universal to all users, especially new users. Why are there 3 copy buttons? Because less than 1% of users want a clipboard option, and ~3% may copy a program to display for future use or forum use. The argument to remove the option is greater than the argument to keep the option.


So this dialog serves a legitimate propose.
(1) If local clipboard will not work, we have no control over this, it is browser security. So we need to provide another method for local users, while giving a reason clipboard does not work. The alternative, which was almost implemented was to remove copy to clipboard all together, but we would have been having the same conversation.
(2) Admin has 3 different ways to copy programs, in different locations, all confusing to new users. It is now consolidated to a single location.
(3) Context menus do not work well in mobile and are actively discouraged in modern development due to discovery issues. So these commands need to be moved to buttons but we cannot replace each context menu item with a button as mobile also has less space for this.

@Javi Happy Thanksgiving!

Can I suggest this:

image.png

If copy to clipboard is greyed out, then you would be forced to use copy special with the full menu. Perhaps in the copy special section you include a dialogue window that explains why copy to clipboard would be greyed out. The copy special name is in keeping with ms excel paste special.

I think the terminology "duplicate program" is concise and unambiguous compared to "copy".

In addition, drag and drop sure would be nice.

It would also be nice to have a select multiple. Since html doesn't let you ctrl-click multiple things, you need to trigger a box of check boxes next to items and then you can then select multiple to complete an action on. Example is unifi screenshotted below. You see the manage button at the bottom, clicking that opens check boxes next to each item where you can select multiple and take an action.

I'm not sure if you have looked at unifi console, but it is functioning very much like eisy. It is a local piece of hardware that you can connect to directly or you can connect through a portal. The console runs in a web browser. Like eisy, it has a lot of complexity in its configuration. While I find fault with it in places, I think it does a pretty good job with a pretty complex situation.

image.pngimage.png

Edited by apostolakisl

The issue is the Context Menu will likely be removed in the future as it creates a discovery issue in some interfaces (mobile/touchscreen/touchpad).


The existing commands (RunIf/RunThen/RunElse/Disable/RunAtStartup) will likely be moved to the Program's Page, leaving only Move to Folder as an action on the list, at that time the context menu will not longer be needed.

1 hour ago, Javi said:

The issue is the Context Menu will likely be removed in the future as it creates a discovery issue in some interfaces (mobile/touchscreen/touchpad).


The existing commands (RunIf/RunThen/RunElse/Disable/RunAtStartup) will likely be moved to the Program's Page, leaving only Move to Folder as an action on the list, at that time the context menu will not longer be needed.

I don't feel like that is the greatest idea. Configuring, trouble shooting, organizing, and all the stuff that you need to do with a full featured HA system is not something you do on your phone or tablet. If you have a little tiny, non-complex setup, perhaps, but I don't think you buy an eisy if that is your plan. Eisy is potentially a gigantic thing with a so much interconnected stuff. Personally I gravitate towards using my desktop with the huge screen to do any significant mods to my system as even my descent sized laptop I find constraining. In short, I really thing you should rethink the idea of "dumbing down" the interface so it works on the least capable interfaces. Create a separate UI for just regular daily use. Consider that the place you go to just do one thing, or check on something real quick.

It is not dumbing down, nothing was removed. It is consolidating related things into a single easy to find location, modernizing development practices, and at the same time raising visibility of items used more frequently.

The large screen is a personal preference, some users prefer the opposite. So we need to handle both situations.

With regards to copy, how frequently do users copy program using any method? Including work I may use copy a couple times a month. If work is eliminated this would be a few times a year. Look at forum posts about programs, most of the time someone needs to explain to users how to copy the program to show in the forum. This gets back to context menu, especially on web, most user do not expect right click to pull up a menu related to the website, they expect this will be the standard/default right click.

duplicate programs, occasionally, copy to clipboard, for the forum, run then/else/disable/enable frequently when working on stuff. Having right click gone means all of that is gone. Going through menus to do that will just be frustrating. I regularly find myself going back to the java ad console because it is just faster.

And I would call it dumbing down. You are making all platforms function at the level of the least capable. You can at least leave right click function there and have a second menu system available for when using the less capable platforms.

My laptop has a touchscreen and a keyboard and a touchpad (optionally plugin in mouse). So that would be the most capable device and you are throwing out 2 of the 3 user interfaces if you design everything for touch screen. Touch screen is almost universally smallish. Well suited for small tasks. Eisy is not a quick little configuration thing. It is pages and pages of stuff with many of the pages being very full. And often times you want to do split screens with 2 or even 3 windows open at once, totally not conducive to a smallish touchscreen. Plus, fingerprints.

EDIT: I again would like to mention the Unifi Console. There are a lot of parallels between eisy and unifi. Unifi is a favorite when it comes to networks by a whole heck of a lot of people. I would copy them. They work with an enormous number of users both pros and armatures and while not perfect, have done a really good job at making a very functional interface where you can get stuff done efficiently. They have apps for your hand held device when you are wondering around checking stuff out, and they have the full html console when you need to get some real work done.

Edited by apostolakisl

Well, it seems that this is developing into two separate product camps.

1) The simple setup, with a half dozen units, with drag and drop like configurations for turning on the lights at sunset.

2) Then, there are the hundred plus unit setups, with complicated interacting programs, doing an entire variety of stuff.

A simple drag and drop, touchscreen mobile setup for the former may work very well, and this may be UD's much larger market now. But hobbling the tools so that they no longer address the second (original) market, the folks that have been using UD for years -- would be a big loss.

If you really do need to address the simple setup mobile user, why not have two different UI products. If you try to address both segments with just one UI, you will likely not succeed for either.

Personally I have never seen any problem with the java UI, some of the best IDEs are written in java. But I expect there may be Oracle licensing issues partly driving that switch to HTML.

Orest

I use "Copy Folder to Clipboard" to create a txt doc of all of my programs every time I backup which is at least once a week. I have to admit I use it more than "Copy to Clipboard" but would also like to see a right click for both as well as "Copy" to duplicate programs if possible

Having a txt file of all programs has saved me a lot of grief more than just a few times.

Hopefully this is on the roadmap soon along with "Generate Topology"

5 hours ago, apostolakisl said:

My laptop has a touchscreen and a keyboard and a touchpad (optionally plugin in mouse). So that would be the most capable device and you are throwing out 2 of the 3 user interfaces if you design everything for touch screen. Touch screen is almost universally smallish. Well suited for small tasks. Eisy is not a quick little configuration thing. It is pages and pages of stuff with many of the pages being very full. And often times you want to do split screens with 2 or even 3 windows open at once, totally not conducive to a smallish touchscreen. Plus, fingerprints.

EDIT: I again would like to mention the Unifi Console. There are a lot of parallels between eisy and unifi. Unifi is a favorite when it comes to networks by a whole heck of a lot of people. I would copy them. They work with an enormous number of users both pros and armatures and while not perfect, have done a really good job at making a very functional interface where you can get stuff done efficiently. They have apps for your hand held device when you are wondering around checking stuff out, and they have the full html console when you need to get some real work done.

I really think this is overblown. I have multiple large setups, copy works just as it did before, and exists in the context menu.

The issue is having to select the type of copy vs Overloading the context menu with each copy option to clipboard/file/duplicate.

Duplicate, is the default with name field displayed by default. So this is already simpler than admin console which required an extra step to rename.
The extra selection is only needed for type (text/json) and file clipboard. Json has it's own api, so for export this can now be automated,
api/triggers/{programId}/export This can be integrated into your backup plugin.

This leaves text which cannot easily be automated without duplicating most of the UI on the server and creating an issue with the source of truth. From my review most users use this to copy the entire root folder, not as an action that is performed repeatedly, so an extra selection is not a repetitive task that is done in the same session.

Maybe a compromise would be to store the last option this way if you use the less options frequently they are automatically selected by default?


  • Author

Javi, thanks for adding the text copy 😊

Any update on when "Generate Topology" function might be added? It was on your To-Do list Sept 8th ...

On the mobile question — I can't use a phone or tablet for editing due to visual limitations. The PC is my only option, and honestly a big screen is what a system this size needs. You're configuring pages of programs, not checking a light.

Regarding the right-click discussion, the browser can tell what pointer is in use — pointer: fine for a mouse, pointer: coarse for touch. So right-click can stay on desktop and mobile can have its touch menus. There's no technical reason to remove it everywhere to serve the least capable device. Both can exist side by side.

5 hours ago, jim_ said:

Javi, thanks for adding the text copy 😊

Any update on when "Generate Topology" function might be added? It was on your To-Do list Sept 8th ...

On the mobile question — I can't use a phone or tablet for editing due to visual limitations. The PC is my only option, and honestly a big screen is what a system this size needs. You're configuring pages of programs, not checking a light.

Regarding the right-click discussion, the browser can tell what pointer is in use — pointer: fine for a mouse, pointer: coarse for touch. So right-click can stay on desktop and mobile can have its touch menus. There's no technical reason to remove it everywhere to serve the least capable device. Both can exist side by side.

Topology has not been worked, still on the list.

The right click is a discovery issue combined with not working well on some devices. So we need another entry/flow, even if this is a 3 dot hotdog menu instead. This brings us to the next issue of overloading the menu. A single copy along with a few other options works fine, but all 8 options from the Admin Console, not to mention the extra 2 needed to overcome local browsers not supporting clipboard presents an issue. We would have a confusing menu as it is currently in the Admin. It will not fit on a smaller screen without scrolling adding additional discovery issues. This is one of the issue we have in UD Mobile as it was implemented with overflowing menus. Once these are common it becomes easier to continue exacerbating the problem. So with new design comes a new way to solve the problem or find the root cause of the need.

I think the root of copy to clipboard is actually a backup issue. Maybe we need a program text/description API to include as a file in the backup zip. Which would likely remove the importance of it being a top level function.

  • Author

Javi, the backup idea is a good one, but it doesn't cover my use. I'm a creature of habit, a well-aged one — I edit programs in Notepad++ when I'm looking through the flow. I like to see the whole program as text.

I also keep a small library of working examples. The text samples are easy to look through and understand, and I go back to them when I need to see how something was done.

And I support a few users who don't understand the programming, and I send them program changes in the legacy format. A file in the backup zip doesn't help with any of those — I need the text where I can copy it, edit it, and send it on.

So for me copy to clipboard isn't a backup issue, it's how I work.

58 minutes ago, jim_ said:

Javi, the backup idea is a good one, but it doesn't cover my use. I'm a creature of habit, a well-aged one — I edit programs in Notepad++ when I'm looking through the flow. I like to see the whole program as text.

I also keep a small library of working examples. The text samples are easy to look through and understand, and I go back to them when I need to see how something was done.

And I support a few users who don't understand the programming, and I send them program changes in the legacy format. A file in the backup zip doesn't help with any of those — I need the text where I can copy it, edit it, and send it on.

So for me copy to clipboard isn't a backup issue, it's how I work.

I understand there are other use cases and I'm sure there is someone who uses each option, so they are all available in the implementation just not in an overloaded menu.

This example is a good illustration of the confusion created by the options. In reading this it seems as both Copy to Clipboard and Export to Clipboard are both used. One to read (copy to clipboard) and one to edit/legacy-format (export to clipboard)? Without trial and error most people would not know the difference between "export to clipboard" and "copy to clipboard". There is added confusion when using the local connection in a browser as "to Clipboard" is disabled due to browser security. So now we need an extra Export option for the copy-to-clipboard and copy-folder-to-clipboard functions due the local browser security. This matrix gives us 9 copy options, the copy dialog simplifies these options into the content (description/code) and delivery (download/clipboard/duplicate).

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.