Skip to content

Commit 1fface7

Browse files
authored
Merge pull request #129 from ecubus/panel
Panel
2 parents df4e292 + 9b12437 commit 1fface7

File tree

157 files changed

+19781
-224
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+19781
-224
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ resources/bin
99
resources/lib
1010
resources/docs/scriptApi
1111
resources/buildInScript
12+
src/renderer/src/views/uds/panel-designer

.vitepress/config.mts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export default withMermaid({
111111
const container = document.querySelector('.content-container');
112112
if (!container) return;
113113
114-
114+
115115
container.addEventListener('click', function(e) {
116116
if (e.target.tagName === 'IMG') {
117117
// Check if the image is inside an anchor tag
@@ -241,6 +241,9 @@ export default withMermaid({
241241
{ text: 'CAN DBC', link: '/docs/um/dbc' }
242242
]
243243
},
244+
{
245+
text:'Panel',link:'/docs/um/panel/index.md'
246+
},
244247
{
245248
text: 'Setting',
246249

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ EcuBus-Pro is an open-source alternative to commercial automotive diagnostic too
4545
- 📊 **Database Support**: LIN LDF (edit & export), CAN DBC (view) - [Details](./docs/um/database.md)
4646
- 📈 **Data Visualization**: Real-time signal graphing and analysis - [Details](./docs/um/graph/graph.md)
4747
- ⌨️ **Command Line**: Full-featured CLI for automation and integration - [Details](./docs/um/cli.md)
48+
- 🎨 **Panel**: Drag-and-drop interface builder for custom UI - [Details](./docs/um/panel/index.md)
4849

4950
[Read the Docs to Learn More.](https://app.whyengineer.com)
5051

docs/about/screenshots.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

1313
![base1](./graph.gif)
1414

15+
## Panel
16+
![base1](./../um//panel/base.gif)
17+
![base1](./../um/panel/base1.gif)
18+
1519
## Scripting Engine
1620

1721
Built on Node.js, our scripting engine enables:

docs/um/panel/base.gif

1.08 MB
Loading

docs/um/panel/base1.gif

342 KB
Loading

docs/um/panel/image.png

144 KB
Loading

docs/um/panel/image1.png

17.1 KB
Loading

docs/um/panel/index.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Panel
2+
3+
## What is Panel?
4+
5+
The Panel is a flexible, drag-and-drop interface that provides a blank slate where you can freely arrange and connect functional components. Like building with LEGO blocks, you can assemble various features within the Panel to create custom interfaces:
6+
7+
![Panel Interface](./base.gif)
8+
9+
## Panel Capabilities
10+
11+
The Panel feature offers exceptional flexibility for quickly building various demonstrations or testing platforms:
12+
13+
- Create conversion tools with graphical interfaces for users
14+
- Build testing pipelines with simple, click-based interfaces for production line workers
15+
- Connect components to DBC/LDF file signals, enabling UI changes to trigger corresponding signal changes, see [Database](./../database)
16+
- Bind components to user-defined or system variables to display or modify their values, see [Variable](./../var/var)
17+
- And much more to be discovered!
18+
19+
## Panel Features
20+
21+
### Editing Functionality
22+
23+
The editing interface consists of three main areas:
24+
25+
1. **Component Area**: Contains a wide range of ready-to-use components
26+
2. **Panel Area**: For placing and arranging components
27+
3. **Component Property Editor**: For setting component properties such as signal binding, variable binding, etc.
28+
29+
![Editing Interface](./image.png)
30+
31+
### Supported Components
32+
33+
The Canvas currently supports four major categories of components:
34+
35+
- **Interactive Components**: Buttons, inputs, and other user interaction elements
36+
- **SubForm Components**: Special functionality components
37+
- **Display Components**: Visual representation elements
38+
- **Layout Components**: For organizing and structuring your interface
39+
40+
![Component Categories](./image1.png)
41+
42+
More component types will be added in future updates, such as dashboard gauges to simulate a car instrument panel.
43+
44+
45+
46+
### Display Functionality
47+
48+
After configuring your components, users can view and interact with them in the display mode:
49+
50+
![Display Mode](./base1.gif)
51+
52+
53+

0 commit comments

Comments
 (0)