mirror of
https://github.com/brunopostle/ifcurl.git
synced 2026-07-12 02:08:13 +00:00
viewer-url.js: parseIfcUrl returns query field; buildIfcUrl gains optional fifth query param, included in the QS when non-empty. viewer.html: add 'query' text field (label + input) in toolbar row 2 after the visibility selector. Add #query-panel (fixed bottom-centre) with a scrollable table showing GlobalId | value rows, a header displaying the query path, and a close button. viewer.js: populate queryInput from parsed URL on load; include query in buildIfcUrl() wrapper; wire queryInput into Enter-key and focus/blur listeners. Add applyQuery(srcUrl, queryPath) which calls GET /query, populates the table, and shows the panel. Called from main() after applySelector when both selector and query params are present. viewer-url.test.js: add tests for parseIfcUrl query field, buildIfcUrl with query, and buildIfcUrl omitting empty query. https://claude.ai/code/session_01NBsytCd6L7UQPiKbcLn4kn |
||
|---|---|---|
| .. | ||
| viewer-url.test.js | ||
| viewer-util.test.js | ||