Skip to content

Commit

Permalink
Merge pull request #14 from qiaolin-li/dev-v1.0.8
Browse files Browse the repository at this point in the history
Dev v1.0.8
  • Loading branch information
qiaolin-li authored May 16, 2024
2 parents fff8c78 + f0419a0 commit fea6e31
Show file tree
Hide file tree
Showing 143 changed files with 17,553 additions and 835 deletions.
55 changes: 15 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,53 +13,28 @@
</p>

## 一、功能简介
- 支持多注册中心( zookeeper、nacos)
- 支持服务名(接口名)搜索
- 可查看服务下所有的提供者和消费者
- 可调用服务提供者的方法(Telnet + Java方式)
- 生成提供者方法的默认参数(参考dubbo-admin)
- 支持方法历史参数填充
- 支持生成invoke 命令
- 支持多注册中心( zookeeper、nacos、dubbo-admin或dubbo-admin相同协议的服务)
- 支持多数据源同时管理
- 支持服务搜索、服务收藏、调用历史、服务提供者和消费者展示、 服务启用、禁用、配置编辑
- 支持服务调用(目前已支持dubbo、http等协议,如有需要可提)、快捷生成`invoke`命令、支持方法填充(历史参数、默认参数)
- 支持telnet直接连接到提供者
- 服务启用、禁用、配置编辑



## 二、功能截图
![](./docs/images/20243333.gif)
![](./docs/images/202411111.gif)
![](./docs/images/20242222.gif)

### 2.1、工具主界面

![新增连接](./docs/images/mainPage.png)

### 2.2、支持多注册中心

![新增连接](./docs/images/newConnectPage.png)

### 2.3、服务搜索&查看服务下提供者和消费者
![](./docs/images/servicePage.png)


### 2.4、生成提供者方法的默认参数&调用提供者方法
![](./docs/images/dubboInvokePage.png)


### 2.5、直接telnet提供者
![](./docs/images/dubboTelnetPage.png)

### 2.6、服务启用/禁用

![](./docs/images/serviceEnable.png)

![](./docs/images/serviceDisable.png)

### 2.7、编辑服务配置

![](./docs/images/editConfigurationPage.png)

## 三、如何自己构建DDM
[>>> 点我获得构建DDM的教程](./docs/build.md)

## 四、参考资料
因为下面这些框架、博客才有这个工具的诞生

## #、其他
首先感谢 MARKSZのBlog 大佬Electron系列博客,大而全,给了我很多参考的地方,也从里面CV了部分代码
博客地址:https://molunerfinn.com/electron-vue-1/#Electron%E7%AE%80%E8%A6%81%E4%BB%8B%E7%BB%8D

1. [如何自己构建DDM](./docs/build.md)
2. [参考资料](./docs/reference.md)
终端参考自:https://www.codeprj.com/blog/c9bde01.html

分隔栏参考自:https://github.com/PanJiaChen/vue-split-pane
26 changes: 26 additions & 0 deletions custom-electron-titlebar/base/browser/browser.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { Event } from '../common/event';
import { IDisposable } from '../common/lifecycle';
/** A zoom index, e.g. 1, 2, 3 */
export declare function setZoomLevel(zoomLevel: number, isTrusted: boolean): void;
export declare function getZoomLevel(): number;
/** Returns the time (in ms) since the zoom level was changed */
export declare function getTimeSinceLastZoomLevelChanged(): number;
export declare function onDidChangeZoomLevel(callback: (zoomLevel: number) => void): IDisposable;
/** The zoom scale for an index, e.g. 1, 1.2, 1.4 */
export declare function getZoomFactor(): number;
export declare function setZoomFactor(zoomFactor: number): void;
export declare function getPixelRatio(): number;
export declare function setFullscreen(fullscreen: boolean): void;
export declare function isFullscreen(): boolean;
export declare const onDidChangeFullscreen: Event<void>;
export declare const isIE: boolean;
export declare const isEdge: boolean;
export declare const isEdgeOrIE: boolean;
export declare const isOpera: boolean;
export declare const isFirefox: boolean;
export declare const isWebKit: boolean;
export declare const isChrome: boolean;
export declare const isSafari: boolean;
export declare const isWebkitWebView: boolean;
export declare const isIPad: boolean;
export declare const isEdgeWebView: boolean;
Loading

0 comments on commit fea6e31

Please sign in to comment.