Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D3bootstrap fix147 #154

Merged
merged 41 commits into from
Feb 21, 2023
Merged

D3bootstrap fix147 #154

merged 41 commits into from
Feb 21, 2023

Conversation

jorisvanzundert
Copy link
Collaborator

This fixes #147 and #148. Editing of Tradition and Section metadata, as well as reordering of sections (just click and drag) should be operational.

jorisvanzundert and others added 30 commits February 9, 2023 00:32
Co-authored-by: Péter Gyarmati <40776291+peter-gy@users.noreply.github.com>
…iew.js

Co-authored-by: Péter Gyarmati <40776291+peter-gy@users.noreply.github.com>
…nMetadata`

@jorisvanzundert The issue was caused by the fact that
plain `fetch` was used instead of `this.fetch`. The former
refers to the JS builtin, the latter is the custom function
I created for services in which `baseFetch` is called
with automatic endpoint transformation. Using the plain `fetch`
call, the endpoint was not transformed properly, hence it was
forwarded to the middleware in an unexpected format, therefore
the route pattern-matching logic got tricked and
the route with the `stemmata`suffix got invoked.

TLDR: please use `this.fetch` instead of `fetch` inside
service classes.
Fixes to Tradition metadata editing.
Moved several turning cogs out of stemmaweb.js to move from d3
to custom HTML elements where d3 was not very convenient. Tweaks
to layout. Began work on editing section metadata (in progress).
Merge branch 'd3bootstrap' into d3bootstrap_jzlocal
Merge branch 'd3bootstrap' into d3bootstrap_jzlocal
…sults should be more harmonized at some point.
Merge branch 'd3bootstrap' into d3bootstrap_jzlocal
Also fixes an issue where setTimeout would cause an error if an
alert already has been closed by a user.
Merge branch 'd3bootstrap' into d3bootstrap_jzlocal
This commit abstracts also form controls to a separate class.
Substitutes complicated placing (styling) of dialog by `getComputedStyle()` with a `boundingClientRect()` solution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants