@qzsy/dsh-yunxiao-panel 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +17 -1
- package/{client.js → dist/client.js} +1732 -247
- package/dist/index.js +1110 -0
- package/package.json +46 -15
- package/scripts/slice-icons.py +69 -0
- package/scripts/sync-icons.mjs +49 -0
- package/test/render-test.mjs +275 -11
- package/index.js +0 -251
- package/lib/yunxiao.js +0 -798
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 qzsy
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -57,10 +57,13 @@ and a repository chip row for its merge requests.
|
|
|
57
57
|
header. Binding from that page keeps you there and loads the work items in
|
|
58
58
|
place.
|
|
59
59
|
- **合并请求** works without a project, scoped to the repository.
|
|
60
|
-
- **Project view** — the project's Projex work items plus a repository
|
|
60
|
+
- **Project view** — the project's Projex work items plus a repository picker
|
|
61
61
|
that scopes the merge-request tab. Repository chips and filter chips share one
|
|
62
62
|
active style (brand-tinted fill + brand border), and the tab switch is a
|
|
63
63
|
segmented control with a sliding thumb and the loaded-item count on each side.
|
|
64
|
+
The **绑定仓库** action in the project header binds unbound repositories to the
|
|
65
|
+
project (useful when repositories live in the shared root code group instead of
|
|
66
|
+
a project-named group).
|
|
64
67
|
- **Project identification per repository.** The repository's Codeup namespace
|
|
65
68
|
path (for example `QXERP`) is matched against the Projex project
|
|
66
69
|
`customCode`; unmatched repositories are collected under **未绑定的仓库** and
|
|
@@ -90,6 +93,19 @@ and a repository chip row for its merge requests.
|
|
|
90
93
|
- Registered as a `sidebar.panellist` entry with `id=yunxiao, order=25` — right
|
|
91
94
|
below the command palette — and as the `main` panel keyed `yunxiao`.
|
|
92
95
|
|
|
96
|
+
## Mobile
|
|
97
|
+
|
|
98
|
+
The panel is usable down to phone widths (≤ 760 px):
|
|
99
|
+
|
|
100
|
+
- the left menu becomes a **drawer** behind a hamburger button in a compact top
|
|
101
|
+
bar; it slides in with a scrim and closes on navigation, scrim click or Escape;
|
|
102
|
+
- workbench KPIs collapse to two columns and the charts stack vertically;
|
|
103
|
+
- unbound repositories render as a single-column card list;
|
|
104
|
+
- the work-item detail pane becomes a full-width overlay with its own close
|
|
105
|
+
button, and dialogs use the full width with a scrollable body;
|
|
106
|
+
- filter rows wrap, the keyword input takes the full width, and wide Markdown
|
|
107
|
+
tables scroll horizontally instead of overflowing the card.
|
|
108
|
+
|
|
93
109
|
## Search engine
|
|
94
110
|
|
|
95
111
|
The browser module table only resolves React and client-plugin rows, so a plain
|