g3w-suite / g3w-admin

Server module for G3W-SUITE
https://g3w-suite.readthedocs.io/en/latest/g3wsuite_administration.html
Mozilla Public License 2.0
39 stars 31 forks source link

Internal components refactor [g3w-client #574] #787

Closed Raruto closed 2 months ago

Raruto commented 3 months ago

List of changes

  1. internal JS/Vue components refactor: https://github.com/g3w-suite/g3w-client/pull/574
  2. refactor search config API (ref: WidgetSerializer and /api/config/<gid>/qdjango/<pid>)
  3. deprecate setting G3W_CLIENT_SEARCH_ENDPOINT = 'ows' (until removal, the new default is: 'api')
Raruto commented 2 months ago

@leolami https://github.com/g3w-suite/g3w-client/pull/574/commits/f99134b3cf75ca1c817065d4e63dd1756cf71017 takes care of empty query result for: autompletefield + RelationReference.

Before

image

After

image


Unsearchable layer(s)

I think some check is missing on the server side.

From what I see, some other layers shouldn't be searchable either (unless relationships could break that option?):

image

Raruto commented 2 months ago

@wlorenzetti still waiting for your review → merge 😉