Upcoming: widgets and administration¶
The three view types of Polarion 2612 cover the work item form, the table and document sidebars, and the project navigation. Two further view types are planned. This page describes their intended role so that you can design applications with them in mind. Details are subject to change until they ship.
Widget¶
A widget view will let an application contribute widgets to the places where Polarion renders widgets today: LiveReport pages, dashboards and rich pages, and Document content. Each widget is a small web page with parameters that the page author sets when placing it. Expected characteristics:
- Declared in the manifest like other views, with a parameter definition so that the page editor can offer a configuration dialog.
- The context will carry the parameters, the page or document the widget is embedded in, and the project.
- Rendering inside the page's layout grid, at the size the page author chooses.
Typical uses: KPI tiles fed by your own endpoints, charts over data from external systems, interactive tables with actions.
Administration view¶
An administration view will give an application pages in Project Administration and Global Administration. This is where an application configures itself: connection settings for an external system, mapping tables, feature switches, per-project rules. Expected characteristics:
- Declared in the manifest with a scope (project or global).
- The context will carry the scope and the project, and the user is guaranteed to be an administrator of that scope.
- Settings persist through your own endpoints, which can store them in Polarion's configuration repository or in a location of your choice.
Typical uses: an Integration settings page next to the built-in administration topics; a rule editor for a validation application; a place to enter the webhook of a chat tool.
Designing for what is coming¶
- Keep the UI in views and the logic in endpoints. A dashboard widget and a navigation topic can share the same endpoint; only the page around it differs.
- Read everything from the context. Code that derives what to show from
context(project, work item, selection) ports to new view types with few changes. - One Vite project per view, shared source folder. Adding a view then means adding an entry point and a manifest line. See Set up the project.
- Store configuration in Polarion. Until administration views arrive, an application can keep settings in a dedicated work item, a document, or a global configuration file read by an endpoint. Moving that to an administration view later is a UI change, not a data migration.
Also on the roadmap¶
Beyond views, applications will carry more kinds of content: scripts (workflow functions, scheduled scripts), templates and other configuration, so that an extension ships as one versioned package. See Roadmap and release notes.