Panels
Community panels
Panels made by other people: finding and installing one, what it can do and what it asks you, signing in to one with Deska, panels that work with your tasks, updates and removal, and where to start building and submitting your own.
Finding and installing a panel
Community panels are panels made by people outside Deska. You browse them in the Marketplace’s Panels shelf (the Marketplace button at the top right, or More panels… in the New menu, which opens it), fifty at a time, with Show more panels under the list for the next ones. My panels, under Yours, keeps the ones you added and Create a panel, where you make your own. Typing in the New menu (Cmd/CtrlShiftE) looks through community panels too: the ones you do not have yet show under To get.
Open a panel to read its page, right there in the Marketplace: what it does, its screenshots, what it can do beyond drawing in its own panel, the sites it connects to, where it shows (on your desk, and in Extras when it has a row there), its version, its size, how many people installed it and, for a version Deska approved, Approved by Deska on <date>. Its vote is beside the button, and under the page are more panels from its author.
Get and open asks once more before anything is copied, when the panel wants anything beyond its own window: it lists each permission with a switch you can turn off, the ones that ask first, and the sites. Then it downloads the panel, checks it against the copy deska.dev lists, opens it on your canvas and the Marketplace steps aside. If you say no, or the download fails, you stay on the page, which says why. A panel you already have says Open instead, and Pin to the bar puts it on your quick bar. A panel with a row in Extras also offers Add to Extras. Dragging a card onto the canvas or the quick bar does the same as Get and open. Installing needs you signed in, on any plan.
Your installs follow your account. Sign in on another computer and Deska installs the same panels there, with the permissions you already allowed or turned off. Each computer keeps its own copy and its own panel data, and an installed panel keeps working with no connection. The Installed panels section of your account page lists every panel your account installed, with its version and what you allowed it to do.
On another of your computers’ desk, a community panel that computer has on its canvas runs on the computer you use, with the data it keeps over there: the same panel, at the same place in what it was doing. Both computers need the same version of it. If this computer does not have it, the panel says so and opens its page to get it; if the versions differ, it says which computer to update. Its data travels only between your own computers, and the computer that holds it can stop that in Settings › Computers › Remote. What you allowed the panel to do, its sign-ins and its row in Extras stay on each computer. The files it keeps over there come along too, up to 4 MB each; a bigger one stays on that computer.
What a panel can do
A community panel is web code: pages, scripts, styles, images and fonts. Deska runs it in a sandbox, inside its own panel. Without asking, a panel can draw in that panel, keep its own data and files on this computer, follow your theme and know whether you can see it. It can also offer to save a file, and you pick where in your system’s save dialog.
Anything more is a permission the panel asks for. Deska asks for three of them in the install question, each with a switch that starts on. Turn off any you do not want, and the panel installs without it:
- Send notifications: notices in Deska, like a timer ending, labelled with the panel’s name, at most one every ten seconds.
- Open links: https links in your browser, only while you are using the panel. Deska asks you the first time for each site.
- Copy to your clipboard: text or images, only while you are using the panel. Without this permission a panel cannot copy anything; copying text you select in it works as anywhere else.
Two more are listed under Asks first. Deska asks for them with a sheet of its own the first time the panel needs them, never at install:
- Sign you in with Deska: when you press Sign in inside the panel. See Signing in to a panel with Deska.
- Work with your tasks: when you connect the panel to a task, so that task’s agent can use the actions the panel lists. See Panels that work with your tasks.
Cancel on one of those sheets keeps nothing. Connect to a task asks again the next time you press it. A panel’s Sign in gets no new sheet until you leave the panel and come back to it. To stop a panel asking, turn the permission off on its page.
Permissions on the panel’s page. An installed panel’s page in the Marketplace has Permissions: a switch for every permission the panel asks for, the sites it reaches and shows, and, for Sign in with Deska, what the panel receives. A change applies at once and reloads the panel’s open copies. Your answers follow your account, so another computer installs the panel with the same ones.
Sites. A panel lists the sites it connects to, and it can reach those and no others. A weather panel lists its weather service; a timer lists none and cannot reach the internet at all. The panel’s page lists every site. The question Deska asks before installing names every one of them too; an update that wants new sites names each one.
A panel can never read your files, your other panels, your sign-ins or your Deska account, or see what your agents do. Signing in with Deska gives it only an id that is yours for that panel, and your name and email if you tick them. A task’s agent reaches a panel only through the actions it lists, and only once you connect them. A panel sees a file only when you pick it, paste it or drop it into the panel, or a task you connected hands it an image, and it never learns where you saved one. It cannot run anything on your computer, and it stops when none of its panels is open.
Signing in to a panel with Deska
A panel with a server of its own, like a shared board, may ask to sign you in with your Deska account. It never shows a sign-in form of its own: when you press its Sign in button, Deska shows its sheet, Sign in to <panel> with Deska, over the panel.
- The panel always gets an id that is yours for that panel only. Two panels never get the same id for you, so they cannot tell they share a person.
- Your name and your email go only if the panel asks for them and you tick them; both start unticked, and the sheet keeps your email covered until you click it.
- The sheet links to the panel’s privacy policy. The panel sends what it gets to its author’s server, and what that server keeps is under its author’s policy, not Deska’s.
- Continue signs you in. Cancel keeps nothing, and the panel can ask again once you leave it and come back to it.
- Allowing a panel is kept for its install, but a sign-in belongs to one Deska account. Another Deska account signed in on the same computer gets the sheet again, and the panel signs it in only after its own Continue.
- When Continue cannot finish, the sheet stays open, says why and keeps nothing: Deska may still be adding the panel to your account (press Try again), your Deska account was deleted, or you switched Deska accounts while it asked.
To stop, turn Sign you in with Deska off under Permissions on the panel’s page, or press Stop beside it under Panels you signed in to on your account page, which lists every panel you let sign you in and what each one receives. Either way Deska stops signing you in to it on all your computers (another computer hears it the next time Deska there checks or asks for a token) and tells its server you stopped. Deleting your Deska account tells every panel you signed in to. What a panel’s server already keeps stays there: ask its author to delete it.
Panels that work with your tasks
Some panels offer actions to your coding agents, like reading the notes on a board or adding an image to it. Their page lists each action under What a task’s agent can do with it, in its author’s own words. Such a panel cannot reach the internet, so what an agent hands it stays on this computer. You connect it to a task, and only that task’s agent can use it. See Panels connected to a task.
Who made it
Each community panel is made by its author, not by Deska, and its page says so: Made by <author>, not by Deska. It runs in a sandbox. The author is the name on the public Deska profile of the account that submitted it, the same on its page, before you install it and in your installed panels. When that profile is private, it is the author named in the panel itself. No panel’s name or author may pass for Deska or Dex.
Any account signed in to Deska can submit a panel. Deska reviews every version against the rules on this page before people can install it, and a panel’s page, in Deska and on deska.dev, shows Approved by Deska on <date> for a version Deska approved. Deska can also withdraw a panel, or a single version of it, after it is published. A withdrawn panel stops loading on every computer that has it, says Deska removed it, and can no longer be installed. Deska looks for withdrawn panels when it starts and every six hours. If an author deletes their account, their panels leave Discover, and the computers that have them keep them.
Updates and removal
When a newer version is out, the panel’s card and page offer Update to it. If the new version asks for a permission or a site you have not allowed, Deska asks again first and says what is new. Updating reloads the copies of the panel that are open, and the panel keeps what it saved: that lives on this computer, not in the version.
Remove takes the panel off this computer and off your account’s list, so a computer you sign in to next does not install it. If the panel is open on your desk, Deska tells you first and lists where, each place a way to that panel, and the open copy then says it is not installed. Removing deletes what the panel saved on this computer.
Remove under Installed panels, on your account page, takes a panel off your account’s list without touching any computer: the computers you sign in to from then on do not install it, and the ones that have it keep it until you remove it in their My panels. Updating it on one of them puts it back on the list. The list also says when a newer version is out, and it keeps the panels Deska withdrew, marked, until you remove them.
A computer keeps its panels whoever signs in, with the permissions they were installed with, and adds the ones the new account installed.
A panel that adds a row to Extras can keep it there or not: Hide from Extras is on its card in Installed.
Building a panel
A panel is a folder of web files with a panel.json at its root. There is no build step and nothing to host: Deska serves the folder to the panel itself, in a sandbox, and the page reaches Deska only through window.deska, the SDK Deska serves at /__deska/sdk.js. To try one, open Build a panel from My panels in the Marketplace, choose Load a folder and pick the folder that holds panel.json: Deska checks it, lists what to fix and reloads the panel whenever a file changes.
Everything about building one now has its own section, Build panels:
Examples to start from
deska-panels-examples on GitHub holds twenty-two open source panels, MIT licensed, each written to teach one part of the SDK, with a starter folder and a preview tool. Start with Team Clocks, keep SDK Playground open while you build, and see all of them, with screenshots, on Example panels.
Submitting a panel
Any account signed in to Deska can submit a panel; you do not need to ask first. Add a screenshots/ folder with 1 to 5 images of the panel, open your loaded folder’s page in Build a panel, press Submit for review, write what changed and confirm.
- Deska reviews every version before people can install it or find it in Discover. Its answer, and its note when it declines one, show under Your panels in Build a panel.
- The first version claims the panel’s id for your account, and a submitted version never changes: raise
versionto submit again. - People who installed an earlier version are asked again before an update that wants a new permission or site.
- The Community panels section of your account page lists what you submitted and where each version stands; Unlist hides a panel from Discover while the computers that have it keep it.
Screenshots, review, versions, limits and every refusal are in Submitting and review. Questions: write to [email protected].