fastapi-voyager 0.9.4__py3-none-any.whl → 0.9.5__py3-none-any.whl

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.
@@ -1,2 +1,2 @@
1
1
  __all__ = ["__version__"]
2
- __version__ = "0.9.4"
2
+ __version__ = "0.9.5"
@@ -220,43 +220,42 @@
220
220
  class="q-mr-sm"
221
221
  :name="state.tag == tag.name ? 'folder' : 'folder_open'"
222
222
  ></q-icon>
223
- <span>{{ tag.name }}</span>
223
+ <span>{{ tag.name }} <q-chip class="q-ml-sm" dense>{{ tag.routes.length }}</q-chip></span>
224
224
  </div>
225
225
  </div>
226
226
  </template>
227
-
228
- <q-list separator>
229
- <q-item
230
- v-for="route in (state.hidePrimitiveRoute ? tag.routes.filter(r => !r.is_primitive) :tag.routes || [])"
231
- :key="route.id"
232
- clickable
233
- v-ripple
234
- :active="state.routeId === route.id"
235
- active-class=""
236
- @click="selectRoute(route.id)"
237
- >
238
- <q-item-section>
239
- <span class="q-ml-lg" style="white-space: nowrap">
240
- <q-icon
241
- class="q-mr-sm"
242
- name="data_object"
243
- ></q-icon>
244
- {{ route.name }}
245
- </span>
246
- </q-item-section>
247
- </q-item>
248
- <q-item
249
- v-if="!tag.routes || tag.routes.length === 0"
250
- dense
251
- >
252
- <q-item-section class="text-grey-6"
253
- >No routes</q-item-section
227
+ <q-list separator style="overflow: auto; max-height: 60vh;">
228
+ <q-item
229
+ v-for="route in (state.hidePrimitiveRoute ? tag.routes.filter(r => !r.is_primitive) :tag.routes || [])"
230
+ :key="route.id"
231
+ clickable
232
+ v-ripple
233
+ :active="state.routeId === route.id"
234
+ active-class=""
235
+ @click="selectRoute(route.id)"
236
+ >
237
+ <q-item-section>
238
+ <span class="q-ml-lg" style="white-space: nowrap">
239
+ <q-icon
240
+ class="q-mr-sm"
241
+ name="data_object"
242
+ ></q-icon>
243
+ {{ route.name }}
244
+ </span>
245
+ </q-item-section>
246
+ </q-item>
247
+ <q-item
248
+ v-if="!tag.routes || tag.routes.length === 0"
249
+ dense
254
250
  >
255
- </q-item>
256
- </q-list>
251
+ <q-item-section class="text-grey-6"
252
+ >No routes</q-item-section
253
+ >
254
+ </q-item>
255
+ </q-list>
256
+ </q-scroll-area>
257
257
  </q-expansion-item>
258
258
  </q-list>
259
- </q-scroll-area>
260
259
  </div>
261
260
  </template>
262
261
 
@@ -291,7 +290,10 @@
291
290
 
292
291
  <q-dialog v-model="showRouteDetail" seamless position="bottom">
293
292
  <q-card style="width: 1100px; max-width: 1100px; max-height: 40vh">
294
- <route-code-display :route-id="routeCodeId" @close="showRouteDetail=false" />
293
+ <route-code-display
294
+ :route-id="routeCodeId"
295
+ @close="showRouteDetail=false"
296
+ />
295
297
  </q-card>
296
298
  </q-dialog>
297
299
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fastapi-voyager
3
- Version: 0.9.4
3
+ Version: 0.9.5
4
4
  Summary: Visualize FastAPI application's routing tree and dependencies
5
5
  Project-URL: Homepage, https://github.com/allmonday/fastapi-voyager
6
6
  Project-URL: Source, https://github.com/allmonday/fastapi-voyager
@@ -163,7 +163,7 @@ or you can open router_viz.dot with vscode extension `graphviz interactive previ
163
163
 
164
164
  ### backlog
165
165
  - [ ] user can generate nodes/edges manually and connect to generated ones
166
- - [ ] add owner
166
+ - [ ] eg: add owner
167
167
  - [ ] add extra info for schema
168
168
  - [ ] display standard ER diagram `hard`
169
169
  - [ ] display potential invalid links
@@ -221,8 +221,12 @@ or you can open router_viz.dot with vscode extension `graphviz interactive previ
221
221
  - [x] schema detail panel show fields by default
222
222
  - [x] adjust schema panel's height
223
223
  - [x] show from base information in subset case
224
+ - 0.9.5
225
+ - [x] route list should have a max height
224
226
 
225
227
  #### 0.10
228
+ - [ ] perfomance: cache the origin data, refactor voyager.py
229
+ - [ ] better edge for brief mode
226
230
  - [ ] support opening route in swagger
227
231
  - config docs path
228
232
  - [ ] add http method for route
@@ -230,15 +234,14 @@ or you can open router_viz.dot with vscode extension `graphviz interactive previ
230
234
  - [ ] logging information
231
235
  - [ ] add tests
232
236
  - [ ] hide brief mode if not configured
233
- - [ ] optimize static resource
237
+ - [ ] optimize static resource (allow manually config url)
234
238
  - [ ] show route count in tag expansion item
235
- - [ ] route list show have a max height to trigger scrollable
239
+ - [ ] route list should have a max height to trigger scrollable
236
240
  - [ ] fix layout issue when rendering huge graph
241
+ - [ ] fix missing route (tag has only one route which return primitive value)
237
242
 
238
243
  #### 0.11
239
- - [ ] improve user experience
240
- - double click to show detail
241
- - improve search dialog
244
+ - [ ] improve search dialog
242
245
 
243
246
  #### 0.12
244
247
  - [ ] integration with pydantic-resolve
@@ -247,7 +250,6 @@ or you can open router_viz.dot with vscode extension `graphviz interactive previ
247
250
 
248
251
  #### 0.13
249
252
  - [ ] config release pipeline
250
- - [ ]
251
253
 
252
254
  ## Using with pydantic-resolve
253
255
 
@@ -6,12 +6,12 @@ fastapi_voyager/render.py,sha256=qy3g1Rz1s8XkuR_6n1Q1YPwy_oMOjWjNswTHQjdz4N0,776
6
6
  fastapi_voyager/server.py,sha256=pg-LHDj4yU0usDA1b2X2Kt2_OCrexFA2G9ifGxb52Uc,6196
7
7
  fastapi_voyager/type.py,sha256=pWYKmgb9e0W_JeD7k54Mr2lxUZV_Ir9TNpewGRwHyHQ,1629
8
8
  fastapi_voyager/type_helper.py,sha256=hjBC4E0tgBpQDlYxGg74uK07SXjsrAgictEETJfIpYM,9231
9
- fastapi_voyager/version.py,sha256=IZXkxs2gZAlAzk5SmuL6_BaHzvWZi9m7CX8vM0JMzW8,48
9
+ fastapi_voyager/version.py,sha256=edeIqVARN2rX8n02TnXhblafTm15NsTYlNCYyC9fXBo,48
10
10
  fastapi_voyager/voyager.py,sha256=QKWletUwZeHm8e8ZRcGm6OuhAdiik3tT7sOU-QnEuGA,11036
11
11
  fastapi_voyager/web/graph-ui.js,sha256=FmKA3eeHMEeUDNuay3f54_fv4eGHT7MT0TaGqXhyMWQ,4978
12
12
  fastapi_voyager/web/graphviz.svg.css,sha256=zDCjjpT0Idufu5YOiZI76PL70-avP3vTyzGPh9M85Do,1563
13
13
  fastapi_voyager/web/graphviz.svg.js,sha256=lvAdbjHc-lMSk4GQp-iqYA2PCFX4RKnW7dFaoe0LUHs,16005
14
- fastapi_voyager/web/index.html,sha256=tbrtun9cDFMwnUIN5S0gtMEs18bwZLgXuxsSaKxgcI0,13728
14
+ fastapi_voyager/web/index.html,sha256=qH7vs_1SpFJWZlzMsPBuHToCysLpRsb4LC5vRBjWhZM,13930
15
15
  fastapi_voyager/web/quasar.min.css,sha256=F5jQe7X2XT54VlvAaa2V3GsBFdVD-vxDZeaPLf6U9CU,203145
16
16
  fastapi_voyager/web/quasar.min.js,sha256=h0ftyPMW_CRiyzeVfQqiup0vrVt4_QWojpqmpnpn07E,502974
17
17
  fastapi_voyager/web/vue-main.js,sha256=bn4Q9FqX5RJVG9bA5xgUUt5TJf9CjiXcKtn_ikLsaKQ,8357
@@ -26,8 +26,8 @@ fastapi_voyager/web/icon/favicon-16x16.png,sha256=JC07jEzfIYxBIoQn_FHXvyHuxESdhW
26
26
  fastapi_voyager/web/icon/favicon-32x32.png,sha256=C7v1h58cfWOsiLp9yOIZtlx-dLasBcq3NqpHVGRmpt4,1859
27
27
  fastapi_voyager/web/icon/favicon.ico,sha256=tZolYIXkkBcFiYl1A8ksaXN2VjGamzcSdes838dLvNc,15406
28
28
  fastapi_voyager/web/icon/site.webmanifest,sha256=ep4Hzh9zhmiZF2At3Fp1dQrYQuYF_3ZPZxc1KcGBvwQ,263
29
- fastapi_voyager-0.9.4.dist-info/METADATA,sha256=jYmSddqIU_P3mROi5Rg9jjderpGJ4ASMDY4pZdoYBCs,8642
30
- fastapi_voyager-0.9.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
31
- fastapi_voyager-0.9.4.dist-info/entry_points.txt,sha256=pEIKoUnIDXEtdMBq8EmXm70m16vELIu1VPz9-TBUFWM,53
32
- fastapi_voyager-0.9.4.dist-info/licenses/LICENSE,sha256=lNVRR3y_bFVoFKuK2JM8N4sFaj3m-7j29kvL3olFi5Y,1067
33
- fastapi_voyager-0.9.4.dist-info/RECORD,,
29
+ fastapi_voyager-0.9.5.dist-info/METADATA,sha256=fnFPewv9pgh6hA4k1SXufzEmq7a-2vmMwAvCl49xdQk,8833
30
+ fastapi_voyager-0.9.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
31
+ fastapi_voyager-0.9.5.dist-info/entry_points.txt,sha256=pEIKoUnIDXEtdMBq8EmXm70m16vELIu1VPz9-TBUFWM,53
32
+ fastapi_voyager-0.9.5.dist-info/licenses/LICENSE,sha256=lNVRR3y_bFVoFKuK2JM8N4sFaj3m-7j29kvL3olFi5Y,1067
33
+ fastapi_voyager-0.9.5.dist-info/RECORD,,